Lines Matching refs:perm
81 mode_t perm;
179 int add_devperms_partners(const char *name, mode_t perm, unsigned int uid,
191 node->dp.perm = perm;
205 static int qemu_perm(const char* name, mode_t perm, unsigned int uid,
218 qemu_perms[qemu_perm_count].perm = perm;
242 unsigned *uid, unsigned *gid, mode_t *perm)
256 *perm = perms[i].perm;
265 mode_t perm;
267 if (get_device_perm_inner(qemu_perms, path, uid, gid, &perm) == 0) {
268 return perm;
269 } else if (get_device_perm_inner(devperms, path, uid, gid, &perm) == 0) {
270 return perm;
288 /* Found perm in partner list. */
291 return dp->perm;