Home
last modified time | relevance | path

Searched refs:user (Results 1 – 25 of 1716) sorted by relevance

12345678910>>...69

/linux-5.19.10/fs/ksmbd/mgmt/
Duser_config.c15 struct ksmbd_user *user = NULL; in ksmbd_login_user() local
24 user = ksmbd_alloc_user(resp); in ksmbd_login_user()
27 return user; in ksmbd_login_user()
32 struct ksmbd_user *user = NULL; in ksmbd_alloc_user() local
34 user = kmalloc(sizeof(struct ksmbd_user), GFP_KERNEL); in ksmbd_alloc_user()
35 if (!user) in ksmbd_alloc_user()
38 user->name = kstrdup(resp->account, GFP_KERNEL); in ksmbd_alloc_user()
39 user->flags = resp->status; in ksmbd_alloc_user()
40 user->gid = resp->gid; in ksmbd_alloc_user()
41 user->uid = resp->uid; in ksmbd_alloc_user()
[all …]
Duser_config.h24 static inline bool user_guest(struct ksmbd_user *user) in user_guest() argument
26 return user->flags & KSMBD_USER_FLAG_GUEST_ACCOUNT; in user_guest()
29 static inline void set_user_flag(struct ksmbd_user *user, int flag) in set_user_flag() argument
31 user->flags |= flag; in set_user_flag()
34 static inline int test_user_flag(struct ksmbd_user *user, int flag) in test_user_flag() argument
36 return user->flags & flag; in test_user_flag()
39 static inline void set_user_guest(struct ksmbd_user *user) in set_user_guest() argument
43 static inline char *user_passkey(struct ksmbd_user *user) in user_passkey() argument
45 return user->passkey; in user_passkey()
48 static inline char *user_name(struct ksmbd_user *user) in user_name() argument
[all …]
/linux-5.19.10/kernel/trace/
Dtrace_events_user.c98 typedef void (*user_event_func_t) (struct user_event *user, struct iov_iter *i,
125 struct user_event *user = (struct user_event *)call->data; in user_event_get_fields() local
127 return &user->fields; in user_event_get_fields()
234 static void user_event_destroy_validators(struct user_event *user) in user_event_destroy_validators() argument
237 struct list_head *head = &user->validators; in user_event_destroy_validators()
245 static void user_event_destroy_fields(struct user_event *user) in user_event_destroy_fields() argument
248 struct list_head *head = &user->fields; in user_event_destroy_fields()
256 static int user_event_add_field(struct user_event *user, const char *type, in user_event_add_field() argument
294 list_add_tail(&validator->link, &user->validators); in user_event_add_field()
304 list_add(&field->link, &user->fields); in user_event_add_field()
[all …]
/linux-5.19.10/Documentation/admin-guide/sysctl/
Duser.rst2 Documentation for /proc/sys/user/
12 /proc/sys/user.
16 per user per user namespace limits.
24 The creation of per user per user namespace objects are charged to
25 the user in the user namespace who created the object and
26 verified to be below the per user limit in that user namespace.
29 who created user namespaces the creation of the object happens
30 in (user namespaces can be nested) and verified to be below the per user
31 limits in the user namespaces of those users.
34 user namespace does not allow a user to escape their current limits.
[all …]
/linux-5.19.10/arch/arm64/kernel/
Dsignal.c68 static void init_user_layout(struct rt_sigframe_user_layout *user) in init_user_layout() argument
71 sizeof(user->sigframe->uc.uc_mcontext.__reserved); in init_user_layout()
73 memset(user, 0, sizeof(*user)); in init_user_layout()
74 user->size = offsetof(struct rt_sigframe, uc.uc_mcontext.__reserved); in init_user_layout()
76 user->limit = user->size + reserved_size; in init_user_layout()
78 user->limit -= TERMINATOR_SIZE; in init_user_layout()
79 user->limit -= EXTRA_CONTEXT_SIZE; in init_user_layout()
83 static size_t sigframe_size(struct rt_sigframe_user_layout const *user) in sigframe_size() argument
85 return round_up(max(user->size, sizeof(struct rt_sigframe)), 16); in sigframe_size()
96 static int __sigframe_alloc(struct rt_sigframe_user_layout *user, in __sigframe_alloc() argument
[all …]
/linux-5.19.10/arch/arm/mach-omap2/
Domap_hwmod_2xxx_interconnect_data.c28 .user = OCP_USER_MPU | OCP_USER_SDMA,
35 .user = OCP_USER_MPU,
48 .user = OCP_USER_MPU | OCP_USER_SDMA,
55 .user = OCP_USER_MPU | OCP_USER_SDMA,
63 .user = OCP_USER_MPU | OCP_USER_SDMA,
71 .user = OCP_USER_MPU | OCP_USER_SDMA,
79 .user = OCP_USER_MPU | OCP_USER_SDMA,
87 .user = OCP_USER_MPU | OCP_USER_SDMA,
95 .user = OCP_USER_MPU | OCP_USER_SDMA,
103 .user = OCP_USER_MPU | OCP_USER_SDMA,
[all …]
Domap_hwmod_3xxx_data.c1519 .user = OCP_USER_MPU | OCP_USER_SDMA,
1526 .user = OCP_USER_MPU | OCP_USER_SDMA,
1534 .user = OCP_USER_MPU,
1542 .user = OCP_USER_MPU,
1549 .user = OCP_USER_MPU | OCP_USER_SDMA,
1561 .user = OCP_USER_MPU | OCP_USER_SDMA,
1569 .user = OCP_USER_MPU,
1577 .user = OCP_USER_MPU,
1585 .user = OCP_USER_MPU,
1592 .user = OCP_USER_MPU | OCP_USER_SDMA,
[all …]
Domap_hwmod_2430_data.c380 .user = OCP_USER_MPU,
388 .user = OCP_USER_MPU | OCP_USER_SDMA,
396 .user = OCP_USER_MPU | OCP_USER_SDMA,
404 .user = OCP_USER_MPU,
412 .user = OCP_USER_MPU | OCP_USER_SDMA,
420 .user = OCP_USER_MPU | OCP_USER_SDMA,
428 .user = OCP_USER_MPU | OCP_USER_SDMA,
436 .user = OCP_USER_MPU | OCP_USER_SDMA,
444 .user = OCP_USER_MPU | OCP_USER_SDMA,
452 .user = OCP_USER_MPU | OCP_USER_SDMA,
[all …]
Domap_hwmod_81xx_data.c159 .user = OCP_USER_MPU,
166 .user = OCP_USER_MPU,
187 .user = OCP_USER_MPU,
194 .user = OCP_USER_MPU,
214 .user = OCP_USER_MPU,
221 .user = OCP_USER_MPU,
257 .user = OCP_USER_MPU,
296 .user = OCP_USER_MPU,
317 .user = OCP_USER_MPU,
338 .user = OCP_USER_MPU,
[all …]
Domap_hwmod_2420_data.c240 .user = OCP_USER_MPU | OCP_USER_SDMA,
248 .user = OCP_USER_MPU | OCP_USER_SDMA,
256 .user = OCP_USER_MPU | OCP_USER_SDMA,
264 .user = OCP_USER_MPU | OCP_USER_SDMA,
272 .user = OCP_USER_MPU | OCP_USER_SDMA,
280 .user = OCP_USER_MPU | OCP_USER_SDMA,
288 .user = OCP_USER_MPU | OCP_USER_SDMA,
296 .user = OCP_USER_MPU | OCP_USER_SDMA,
304 .user = OCP_USER_MPU | OCP_USER_SDMA,
311 .user = OCP_USER_MPU | OCP_USER_SDMA,
[all …]
/linux-5.19.10/drivers/mtd/nand/raw/atmel/
Dpmecc.c346 struct atmel_pmecc_user *user; in atmel_pmecc_create_user() local
354 size = sizeof(*user); in atmel_pmecc_create_user()
365 user = kzalloc(size, GFP_KERNEL); in atmel_pmecc_create_user()
366 if (!user) in atmel_pmecc_create_user()
369 user->pmecc = pmecc; in atmel_pmecc_create_user()
371 user->partial_syn = (s16 *)PTR_ALIGN(user + 1, sizeof(u16)); in atmel_pmecc_create_user()
372 user->si = user->partial_syn + ((2 * req->ecc.strength) + 1); in atmel_pmecc_create_user()
373 user->lmu = user->si + ((2 * req->ecc.strength) + 1); in atmel_pmecc_create_user()
374 user->smu = user->lmu + (req->ecc.strength + 1); in atmel_pmecc_create_user()
375 user->mu = (s32 *)PTR_ALIGN(user->smu + in atmel_pmecc_create_user()
[all …]
Dpmecc.h58 void atmel_pmecc_destroy_user(struct atmel_pmecc_user *user);
61 int atmel_pmecc_enable(struct atmel_pmecc_user *user, int op);
62 void atmel_pmecc_disable(struct atmel_pmecc_user *user);
63 int atmel_pmecc_wait_rdy(struct atmel_pmecc_user *user);
64 int atmel_pmecc_correct_sector(struct atmel_pmecc_user *user, int sector,
66 bool atmel_pmecc_correct_erased_chunks(struct atmel_pmecc_user *user);
67 void atmel_pmecc_get_generated_eccbytes(struct atmel_pmecc_user *user,
/linux-5.19.10/scripts/
DMakefile.userprogs7 user-csingle := $(foreach m, $(userprogs), $(if $($(m)-objs),,$(m)))
10 user-cmulti := $(foreach m, $(userprogs), $(if $($(m)-objs),$(m)))
13 user-cobjs := $(sort $(foreach m, $(userprogs), $($(m)-objs)))
15 user-csingle := $(addprefix $(obj)/, $(user-csingle))
16 user-cmulti := $(addprefix $(obj)/, $(user-cmulti))
17 user-cobjs := $(addprefix $(obj)/, $(user-cobjs))
27 $(user-csingle): $(obj)/%: $(src)/%.c FORCE
35 $(user-cmulti): FORCE
37 $(call multi_depend, $(user-cmulti), , -objs)
42 $(user-cobjs): $(obj)/%.o: $(src)/%.c FORCE
[all …]
/linux-5.19.10/include/linux/
Dipmi.h48 struct ipmi_user *user; member
119 struct ipmi_user **user);
129 int ipmi_destroy_user(struct ipmi_user *user);
132 int ipmi_get_version(struct ipmi_user *user,
145 int ipmi_set_my_address(struct ipmi_user *user,
148 int ipmi_get_my_address(struct ipmi_user *user,
151 int ipmi_set_my_LUN(struct ipmi_user *user,
154 int ipmi_get_my_LUN(struct ipmi_user *user,
171 int ipmi_request_settime(struct ipmi_user *user,
189 int ipmi_request_supply_msgs(struct ipmi_user *user,
[all …]
/linux-5.19.10/drivers/fsi/
Dfsi-sbefifo.c777 static void sbefifo_release_command(struct sbefifo_user *user) in sbefifo_release_command() argument
779 if (is_vmalloc_addr(user->pending_cmd)) in sbefifo_release_command()
780 vfree(user->pending_cmd); in sbefifo_release_command()
781 user->pending_cmd = NULL; in sbefifo_release_command()
782 user->pending_len = 0; in sbefifo_release_command()
788 struct sbefifo_user *user; in sbefifo_user_open() local
790 user = kzalloc(sizeof(struct sbefifo_user), GFP_KERNEL); in sbefifo_user_open()
791 if (!user) in sbefifo_user_open()
794 file->private_data = user; in sbefifo_user_open()
795 user->sbefifo = sbefifo; in sbefifo_user_open()
[all …]
/linux-5.19.10/arch/m68k/ifpsp060/
Dos.S57 | Each IO routine checks to see if the memory write/read is to/from user
60 | for user mode applications.
71 | working in user space
80 | a1 - user destination address
82 | 0x4(%a6),bit5 - 1 = supervisor mode, 0 = user mode
110 | a0 - user source address
113 | 0x4(%a6),bit5 - 1 = supervisor mode, 0 = user mode
140 | Read a data byte from user memory.
143 | a0 - user source address
144 | 0x4(%a6),bit5 - 1 = supervisor mode, 0 = user mode
[all …]
/linux-5.19.10/drivers/char/ipmi/
Dipmi_poweroff.c45 static void (*specific_poweroff_func)(struct ipmi_user *user);
118 static int ipmi_request_wait_for_response(struct ipmi_user *user, in ipmi_request_wait_for_response() argument
127 rv = ipmi_request_supply_msgs(user, addr, 0, send_msg, &comp, in ipmi_request_wait_for_response()
138 static int ipmi_request_in_rc_mode(struct ipmi_user *user, in ipmi_request_in_rc_mode() argument
145 rv = ipmi_request_supply_msgs(user, addr, 0, send_msg, NULL, in ipmi_request_in_rc_mode()
156 ipmi_poll_interface(user); in ipmi_request_in_rc_mode()
178 static void (*atca_oem_poweroff_hook)(struct ipmi_user *user);
180 static void pps_poweroff_atca(struct ipmi_user *user) in pps_poweroff_atca() argument
198 rv = ipmi_request_in_rc_mode(user, in pps_poweroff_atca()
207 static int ipmi_atca_detect(struct ipmi_user *user) in ipmi_atca_detect() argument
[all …]
Dipmi_msghandler.c210 static struct ipmi_user *acquire_ipmi_user(struct ipmi_user *user, int *index) in acquire_ipmi_user() argument
211 __acquires(user->release_barrier) in acquire_ipmi_user()
215 *index = srcu_read_lock(&user->release_barrier); in acquire_ipmi_user()
216 ruser = srcu_dereference(user->self, &user->release_barrier); in acquire_ipmi_user()
218 srcu_read_unlock(&user->release_barrier, *index); in acquire_ipmi_user()
222 static void release_ipmi_user(struct ipmi_user *user, int index) in release_ipmi_user() argument
224 srcu_read_unlock(&user->release_barrier, index); in release_ipmi_user()
230 struct ipmi_user *user; member
932 if (!msg->user) { in deliver_response()
948 atomic_dec(&msg->user->nr_msgs); in deliver_response()
[all …]
/linux-5.19.10/net/bridge/netfilter/
Debt_mark_m.c48 const struct compat_ebt_mark_m_info *user = src; in mark_mt_compat_from_user() local
51 kern->mark = user->mark; in mark_mt_compat_from_user()
52 kern->mask = user->mask; in mark_mt_compat_from_user()
53 kern->invert = user->invert; in mark_mt_compat_from_user()
54 kern->bitmask = user->bitmask; in mark_mt_compat_from_user()
59 struct compat_ebt_mark_m_info __user *user = dst; in mark_mt_compat_to_user() local
62 if (put_user(kern->mark, &user->mark) || in mark_mt_compat_to_user()
63 put_user(kern->mask, &user->mask) || in mark_mt_compat_to_user()
64 put_user(kern->invert, &user->invert) || in mark_mt_compat_to_user()
65 put_user(kern->bitmask, &user->bitmask)) in mark_mt_compat_to_user()
/linux-5.19.10/security/keys/
Dkey.c53 struct key_user *candidate = NULL, *user; in key_user_lookup() local
64 user = rb_entry(parent, struct key_user, node); in key_user_lookup()
66 if (uid_lt(uid, user->uid)) in key_user_lookup()
68 else if (uid_gt(uid, user->uid)) in key_user_lookup()
80 user = NULL; in key_user_lookup()
105 user = candidate; in key_user_lookup()
110 refcount_inc(&user->usage); in key_user_lookup()
114 return user; in key_user_lookup()
120 void key_user_put(struct key_user *user) in key_user_put() argument
122 if (refcount_dec_and_lock(&user->usage, &key_user_lock)) { in key_user_put()
[all …]
/linux-5.19.10/drivers/gpu/drm/nouveau/nvkm/engine/disp/
Ddmacgf119.c34 chan->chid.user, -9, handle, in gf119_disp_dmac_bind()
35 chan->chid.user << 27 | 0x00000001); in gf119_disp_dmac_bind()
44 int user = chan->chid.user; in gf119_disp_dmac_fini() local
53 nvkm_error(subdev, "ch %d fini: %08x\n", user, in gf119_disp_dmac_fini()
66 int user = chan->chid.user; in gf119_disp_dmac_init() local
81 nvkm_error(subdev, "ch %d init: %08x\n", user, in gf119_disp_dmac_init()
94 .user = nv50_disp_chan_user,
Dpiocnv50.c36 int user = chan->chid.user; in nv50_disp_pioc_fini() local
43 nvkm_error(subdev, "ch %d timeout: %08x\n", user, in nv50_disp_pioc_fini()
55 int user = chan->chid.user; in nv50_disp_pioc_init() local
62 nvkm_error(subdev, "ch %d timeout0: %08x\n", user, in nv50_disp_pioc_init()
73 nvkm_error(subdev, "ch %d timeout1: %08x\n", user, in nv50_disp_pioc_init()
86 .user = nv50_disp_chan_user,
/linux-5.19.10/drivers/gpu/drm/nouveau/nvkm/falcon/
Dbase.c32 nvkm_warn(falcon->user, in nvkm_falcon_load_imem()
67 nvkm_error(falcon->user, in nvkm_falcon_bind_context()
172 nvkm_falcon_put(struct nvkm_falcon *falcon, const struct nvkm_subdev *user) in nvkm_falcon_put() argument
178 if (falcon->user == user) { in nvkm_falcon_put()
179 nvkm_debug(falcon->user, "released %s falcon\n", falcon->name); in nvkm_falcon_put()
180 falcon->user = NULL; in nvkm_falcon_put()
186 nvkm_falcon_get(struct nvkm_falcon *falcon, const struct nvkm_subdev *user) in nvkm_falcon_get() argument
191 if (falcon->user) { in nvkm_falcon_get()
192 nvkm_error(user, "%s falcon already acquired by %s!\n", in nvkm_falcon_get()
193 falcon->name, falcon->user->name); in nvkm_falcon_get()
[all …]
/linux-5.19.10/tools/testing/selftests/user_events/
Ddyn_test.c46 FIXTURE(user) { in FIXTURE() argument
49 FIXTURE_SETUP(user) { in FIXTURE_SETUP() argument
53 FIXTURE_TEARDOWN(user) { in FIXTURE_TEARDOWN() argument
57 TEST_F(user, basic_types) { in TEST_F() argument
81 TEST_F(user, loc_types) { in TEST_F() argument
89 TEST_F(user, size_types) { in TEST_F() argument
98 TEST_F(user, flags) { in TEST_F() argument
105 TEST_F(user, matching) { in TEST_F() argument
/linux-5.19.10/drivers/gpu/drm/nouveau/nvif/
Duser.c30 if (device->user.func) { in nvif_user_dtor()
31 nvif_object_dtor(&device->user.object); in nvif_user_dtor()
32 device->user.func = NULL; in nvif_user_dtor()
49 if (device->user.func) in nvif_user_ctor()
58 &device->user.object); in nvif_user_ctor()
62 nvif_object_map(&device->user.object, NULL, 0); in nvif_user_ctor()
63 device->user.func = users[cid].func; in nvif_user_ctor()

12345678910>>...69