Home
last modified time | relevance | path

Searched refs:who (Results 1 - 25 of 58) sorted by relevance

123

/kernel/linux/linux-5.10/block/
H A Dioprio.c101 SYSCALL_DEFINE3(ioprio_set, int, which, int, who, int, ioprio) in SYSCALL_DEFINE3()
117 if (!who) in SYSCALL_DEFINE3()
120 p = find_task_by_vpid(who); in SYSCALL_DEFINE3()
125 if (!who) in SYSCALL_DEFINE3()
128 pgrp = find_vpid(who); in SYSCALL_DEFINE3()
136 uid = make_kuid(current_user_ns(), who); in SYSCALL_DEFINE3()
139 if (!who) in SYSCALL_DEFINE3()
156 if (who) in SYSCALL_DEFINE3()
193 SYSCALL_DEFINE2(ioprio_get, int, which, int, who) in SYSCALL_DEFINE2()
205 if (!who) in SYSCALL_DEFINE2()
[all...]
H A Dsed-opal.c1508 else if (session->who != OPAL_ADMIN1 && !session->sum) in start_auth_opal_session()
1510 session->who - 1); in start_auth_opal_session()
1562 uid[7] = session->who; in internal_activate_user()
1689 if (usr->who != OPAL_ADMIN1) { in set_new_pw()
1694 cpin_uid[7] = usr->who; in set_new_pw()
1738 user_uid[7] = lkul->session.who; in add_user_to_lr()
2333 if (lk_unlk->session.who < OPAL_USER1 || in opal_add_user_to_lr()
2334 lk_unlk->session.who > OPAL_USER9) { in opal_add_user_to_lr()
2336 lk_unlk->session.who); in opal_add_user_to_lr()
2427 if (lk_unlk->session.who > OPAL_USER in opal_lock_unlock()
[all...]
/kernel/linux/linux-6.6/block/
H A Dioprio.c69 SYSCALL_DEFINE3(ioprio_set, int, which, int, who, int, ioprio) in SYSCALL_DEFINE3()
85 if (!who) in SYSCALL_DEFINE3()
88 p = find_task_by_vpid(who); in SYSCALL_DEFINE3()
93 if (!who) in SYSCALL_DEFINE3()
96 pgrp = find_vpid(who); in SYSCALL_DEFINE3()
110 uid = make_kuid(current_user_ns(), who); in SYSCALL_DEFINE3()
113 if (!who) in SYSCALL_DEFINE3()
130 if (who) in SYSCALL_DEFINE3()
210 SYSCALL_DEFINE2(ioprio_get, int, which, int, who) in SYSCALL_DEFINE2()
222 if (!who) in SYSCALL_DEFINE2()
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/selftests/
H A Dscatterlist.c44 const char *who, in expect_pfn_sg()
57 __func__, who, pfn, page_to_pfn(page)); in expect_pfn_sg()
63 __func__, who, npages * PAGE_SIZE, sg->length); in expect_pfn_sg()
67 if (igt_timeout(timeout, "%s timed out\n", who)) in expect_pfn_sg()
74 __func__, who, pt->end, pfn); in expect_pfn_sg()
82 const char *who, in expect_pfn_sg_page_iter()
94 __func__, who, pfn, page_to_pfn(page)); in expect_pfn_sg_page_iter()
98 if (igt_timeout(timeout, "%s timed out\n", who)) in expect_pfn_sg_page_iter()
105 __func__, who, pt->end, pfn); in expect_pfn_sg_page_iter()
113 const char *who, in expect_pfn_sgtiter()
41 expect_pfn_sg(struct pfn_table *pt, npages_fn_t npages_fn, struct rnd_state *rnd, const char *who, unsigned long timeout) expect_pfn_sg() argument
81 expect_pfn_sg_page_iter(struct pfn_table *pt, const char *who, unsigned long timeout) expect_pfn_sg_page_iter() argument
112 expect_pfn_sgtiter(struct pfn_table *pt, const char *who, unsigned long timeout) expect_pfn_sgtiter() argument
142 expect_pfn_sgtable(struct pfn_table *pt, npages_fn_t npages_fn, struct rnd_state *rnd, const char *who, unsigned long timeout) expect_pfn_sgtable() argument
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/selftests/
H A Dscatterlist.c44 const char *who, in expect_pfn_sg()
57 __func__, who, pfn, page_to_pfn(page)); in expect_pfn_sg()
63 __func__, who, npages * PAGE_SIZE, sg->length); in expect_pfn_sg()
67 if (igt_timeout(timeout, "%s timed out\n", who)) in expect_pfn_sg()
74 __func__, who, pt->end, pfn); in expect_pfn_sg()
82 const char *who, in expect_pfn_sg_page_iter()
94 __func__, who, pfn, page_to_pfn(page)); in expect_pfn_sg_page_iter()
98 if (igt_timeout(timeout, "%s timed out\n", who)) in expect_pfn_sg_page_iter()
105 __func__, who, pt->end, pfn); in expect_pfn_sg_page_iter()
113 const char *who, in expect_pfn_sgtiter()
41 expect_pfn_sg(struct pfn_table *pt, npages_fn_t npages_fn, struct rnd_state *rnd, const char *who, unsigned long timeout) expect_pfn_sg() argument
81 expect_pfn_sg_page_iter(struct pfn_table *pt, const char *who, unsigned long timeout) expect_pfn_sg_page_iter() argument
112 expect_pfn_sgtiter(struct pfn_table *pt, const char *who, unsigned long timeout) expect_pfn_sgtiter() argument
142 expect_pfn_sgtable(struct pfn_table *pt, npages_fn_t npages_fn, struct rnd_state *rnd, const char *who, unsigned long timeout) expect_pfn_sgtable() argument
[all...]
/kernel/linux/linux-5.10/arch/s390/kvm/
H A Dtrace-s390.h126 TP_PROTO(__u64 type, __u32 parm, __u64 parm64, int who),
127 TP_ARGS(type, parm, parm64, who),
133 __field(int, who)
140 __entry->who = who;
144 (__entry->who == 1) ? " (from kernel)" :
145 (__entry->who == 2) ? " (from user)" : "",
/kernel/linux/linux-6.6/arch/s390/kvm/
H A Dtrace-s390.h126 TP_PROTO(__u64 type, __u32 parm, __u64 parm64, int who),
127 TP_ARGS(type, parm, parm64, who),
133 __field(int, who)
140 __entry->who = who;
144 (__entry->who == 1) ? " (from kernel)" :
145 (__entry->who == 2) ? " (from user)" : "",
/kernel/liteos_a/syscall/
H A Dprocess_syscall.c46 static int OsPermissionToCheck(unsigned int pid, unsigned int who) in OsPermissionToCheck() argument
54 } else if ((pgroupID == OS_USER_PRIVILEGE_PROCESS_GROUP) && (pid != who)) { in OsPermissionToCheck()
271 int SysSetProcessPriority(int which, int who, int prio) in SysSetProcessPriority() argument
279 if (who == 0) { in SysSetProcessPriority()
280 who = (int)LOS_GetCurrProcessID(); in SysSetProcessPriority()
293 ret = OsPermissionToCheck(who, LOS_GetCurrProcessID()); in SysSetProcessPriority()
298 return LOS_SetProcessPriority(who, prio); in SysSetProcessPriority()
325 int SysGetProcessPriority(int which, int who) in SysGetProcessPriority() argument
327 if (who == 0) { in SysGetProcessPriority()
328 who in SysGetProcessPriority()
[all...]
/kernel/linux/linux-5.10/kernel/
H A Dsys.c198 SYSCALL_DEFINE3(setpriority, int, which, int, who, int, niceval) in SYSCALL_DEFINE3()
221 if (who) in SYSCALL_DEFINE3()
222 p = find_task_by_vpid(who); in SYSCALL_DEFINE3()
229 if (who) in SYSCALL_DEFINE3()
230 pgrp = find_vpid(who); in SYSCALL_DEFINE3()
238 uid = make_kuid(cred->user_ns, who); in SYSCALL_DEFINE3()
240 if (!who) in SYSCALL_DEFINE3()
268 SYSCALL_DEFINE2(getpriority, int, which, int, who) in SYSCALL_DEFINE2()
284 if (who) in SYSCALL_DEFINE2()
285 p = find_task_by_vpid(who); in SYSCALL_DEFINE2()
1735 getrusage(struct task_struct *p, int who, struct rusage *r) getrusage() argument
[all...]
/kernel/linux/linux-6.6/kernel/
H A Dsys.c218 SYSCALL_DEFINE3(setpriority, int, which, int, who, int, niceval) in SYSCALL_DEFINE3()
240 if (who) in SYSCALL_DEFINE3()
241 p = find_task_by_vpid(who); in SYSCALL_DEFINE3()
248 if (who) in SYSCALL_DEFINE3()
249 pgrp = find_vpid(who); in SYSCALL_DEFINE3()
259 uid = make_kuid(cred->user_ns, who); in SYSCALL_DEFINE3()
261 if (!who) in SYSCALL_DEFINE3()
288 SYSCALL_DEFINE2(getpriority, int, which, int, who) in SYSCALL_DEFINE2()
303 if (who) in SYSCALL_DEFINE2()
304 p = find_task_by_vpid(who); in SYSCALL_DEFINE2()
1783 getrusage(struct task_struct *p, int who, struct rusage *r) getrusage() argument
[all...]
/kernel/linux/linux-5.10/arch/x86/kernel/
H A De820.c203 void __init e820__print_table(char *who) in e820__print_table() argument
209 who, in e820__print_table()
1262 char *who = "BIOS-e820"; in e820__memory_setup_default() local
1276 who = "BIOS-88"; in e820__memory_setup_default()
1279 who = "BIOS-e801"; in e820__memory_setup_default()
1290 return who; in e820__memory_setup_default()
1300 char *who; in e820__memory_setup() local
1305 who = x86_init.resources.memory_setup(); in e820__memory_setup()
1311 e820__print_table(who); in e820__memory_setup()
/kernel/linux/linux-6.6/arch/x86/kernel/
H A De820.c203 void __init e820__print_table(char *who) in e820__print_table() argument
209 who, in e820__print_table()
1264 char *who = "BIOS-e820"; in e820__memory_setup_default() local
1278 who = "BIOS-88"; in e820__memory_setup_default()
1281 who = "BIOS-e801"; in e820__memory_setup_default()
1292 return who; in e820__memory_setup_default()
1302 char *who; in e820__memory_setup() local
1307 who = x86_init.resources.memory_setup(); in e820__memory_setup()
1313 e820__print_table(who); in e820__memory_setup()
/kernel/linux/linux-5.10/arch/ia64/kernel/
H A Dsys_ia64.c71 ia64_getpriority (int which, int who) in ia64_getpriority() argument
75 prio = sys_getpriority(which, who); in ia64_getpriority()
/kernel/linux/linux-6.6/include/linux/
H A Dresource.h10 void getrusage(struct task_struct *p, int who, struct rusage *ru);
/kernel/linux/linux-5.10/include/linux/
H A Dresource.h10 void getrusage(struct task_struct *p, int who, struct rusage *ru);
/kernel/linux/linux-6.6/arch/ia64/kernel/
H A Dsys_ia64.c71 ia64_getpriority (int which, int who) in ia64_getpriority() argument
75 prio = sys_getpriority(which, who); in ia64_getpriority()
/kernel/linux/linux-5.10/fs/
H A Dfcntl.c117 int who = arg, ret = 0; in f_setown() local
120 if (who < 0) { in f_setown()
122 if (who == INT_MIN) in f_setown()
126 who = -who; in f_setown()
130 if (who) { in f_setown()
131 pid = find_vpid(who); in f_setown()
/kernel/linux/linux-6.6/fs/
H A Dfcntl.c115 int f_setown(struct file *filp, int who, int force) in f_setown() argument
122 if (who < 0) { in f_setown()
124 if (who == INT_MIN) in f_setown()
128 who = -who; in f_setown()
132 if (who) { in f_setown()
133 pid = find_vpid(who); in f_setown()
H A Dsuper.c42 static int thaw_super_locked(struct super_block *sb, enum freeze_holder who);
1899 * @who: context that wants to freeze
1905 * @who should be:
1909 * The @who argument distinguishes between the kernel and userspace trying to
1940 int freeze_super(struct super_block *sb, enum freeze_holder who) in freeze_super() argument
1950 if (sb->s_writers.freeze_holders & who) { in freeze_super()
1961 sb->s_writers.freeze_holders |= who; in freeze_super()
1983 sb->s_writers.freeze_holders |= who; in freeze_super()
2031 sb->s_writers.freeze_holders |= who; in freeze_super()
2046 static int thaw_super_locked(struct super_block *sb, enum freeze_holder who) in thaw_super_locked() argument
2111 thaw_super(struct super_block *sb, enum freeze_holder who) thaw_super() argument
[all...]
/kernel/linux/linux-5.10/fs/nfsd/
H A Dacl.h44 __be32 nfs4_acl_write_who(struct xdr_stream *xdr, int who);
/kernel/linux/linux-6.6/fs/nfsd/
H A Dacl.h46 __be32 nfs4_acl_write_who(struct xdr_stream *xdr, int who);
/kernel/linux/linux-5.10/arch/x86/include/asm/e820/
H A Dapi.h21 extern void e820__print_table(char *who);
/kernel/linux/linux-6.6/arch/x86/include/asm/e820/
H A Dapi.h21 extern void e820__print_table(char *who);
/kernel/linux/linux-5.10/arch/sparc/kernel/
H A Dwindows.c113 void try_to_clear_window_buffer(struct pt_regs *regs, int who) in try_to_clear_window_buffer() argument
/kernel/linux/linux-6.6/arch/sparc/kernel/
H A Dwindows.c113 void try_to_clear_window_buffer(struct pt_regs *regs, int who) in try_to_clear_window_buffer() argument

Completed in 21 milliseconds

123