Home
last modified time | relevance | path

Searched refs:uid (Results 1 – 3 of 3) sorted by relevance

/block/
Dioprio.c44 if (!uid_eq(tcred->uid, cred->euid) && in set_task_ioprio()
45 !uid_eq(tcred->uid, cred->uid) && !capable(CAP_SYS_NICE)) { in set_task_ioprio()
105 kuid_t uid; in SYSCALL_DEFINE3() local
141 uid = make_kuid(current_user_ns(), who); in SYSCALL_DEFINE3()
142 if (!uid_valid(uid)) in SYSCALL_DEFINE3()
147 user = find_user(uid); in SYSCALL_DEFINE3()
153 if (!uid_eq(task_uid(p), uid) || in SYSCALL_DEFINE3()
204 kuid_t uid; in SYSCALL_DEFINE2() local
237 uid = make_kuid(current_user_ns(), who); in SYSCALL_DEFINE2()
241 user = find_user(uid); in SYSCALL_DEFINE2()
[all …]
Dsed-opal.c1026 static int cmd_start(struct opal_dev *dev, const u8 *uid, const u8 *method) in cmd_start() argument
1034 add_token_bytestring(&err, dev, uid, OPAL_UID_LENGTH); in cmd_start()
1147 u8 uid[OPAL_UID_LENGTH]; in generic_get_table_info() local
1156 memcpy(uid, opaluid[OPAL_TABLE_TABLE], half); in generic_get_table_info()
1157 memcpy(uid + half, table_uid, half); in generic_get_table_info()
1159 return generic_get_column(dev, uid, column); in generic_get_table_info()
1164 u8 uid[OPAL_UID_LENGTH]; in gen_key() local
1167 memcpy(uid, dev->prev_data, min(sizeof(uid), dev->prev_d_len)); in gen_key()
1171 err = cmd_start(dev, uid, opalmethod[OPAL_GENKEY]); in gen_key()
1211 u8 uid[OPAL_UID_LENGTH]; in get_active_key() local
[all …]
Dgenhd.c1134 kuid_t *uid, kgid_t *gid) in block_devnode() argument