/linux/fs/ksmbd/mgmt/ |
A D | user_config.c | 27 return user; in ksmbd_login_user() 35 if (!user) in ksmbd_alloc_user() 44 if (user->passkey) in ksmbd_alloc_user() 47 if (!user->name || !user->passkey) { in ksmbd_alloc_user() 48 kfree(user->name); in ksmbd_alloc_user() 50 kfree(user); in ksmbd_alloc_user() 51 user = NULL; in ksmbd_alloc_user() 53 return user; in ksmbd_alloc_user() 58 ksmbd_ipc_logout_request(user->name, user->flags); in ksmbd_free_user() 59 kfree(user->name); in ksmbd_free_user() [all …]
|
A D | user_config.h | 24 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() 31 user->flags |= flag; in set_user_flag() 36 return user->flags & flag; in test_user_flag() 45 return user->passkey; in user_passkey() 48 static inline char *user_name(struct ksmbd_user *user) in user_name() argument 50 return user->name; in user_name() 55 return user->uid; in user_uid() 60 return user->gid; in user_gid() 65 void ksmbd_free_user(struct ksmbd_user *user); [all …]
|
/linux/arch/arm64/kernel/ |
A D | signal.c | 73 memset(user, 0, sizeof(*user)); in init_user_layout() 76 user->limit = user->size + reserved_size; in init_user_layout() 101 if (padded_size > user->limit - user->size && in __sigframe_alloc() 107 ret = __sigframe_alloc(user, &user->extra_offset, in __sigframe_alloc() 125 if (padded_size > user->limit - user->size) in __sigframe_alloc() 153 ret = sigframe_alloc(user, &user->end_offset, in sigframe_alloc_end() 159 user->limit = user->size; in sigframe_alloc_end() 587 err = sigframe_alloc(user, &user->esr_offset, in setup_sigframe_layout() 644 apply_user_offset(user, user->esr_offset); in setup_sigframe() 654 apply_user_offset(user, user->sve_offset); in setup_sigframe() [all …]
|
/linux/Documentation/admin-guide/sysctl/ |
A D | user.rst | 2 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. 30 in (user namespaces can be nested) and verified to be below the per user 34 user namespace does not allow a user to escape their current limits. 42 user namespace may create. 77 The maximum number of user namespaces that any user in the current [all …]
|
/linux/drivers/mtd/nand/raw/atmel/ |
A D | pmecc.c | 366 if (!user) in atmel_pmecc_create_user() 371 user->partial_syn = (s16 *)PTR_ALIGN(user + 1, sizeof(u16)); 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() 379 user->dmu = user->mu + req->ecc.strength + 1; in atmel_pmecc_create_user() 380 user->delta = user->dmu + req->ecc.strength + 1; in atmel_pmecc_create_user() 384 kfree(user); in atmel_pmecc_create_user() 407 return user; in atmel_pmecc_create_user() 413 kfree(user); in atmel_pmecc_destroy_user() [all …]
|
A D | pmecc.h | 58 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/arch/arm/mach-omap2/ |
A D | omap_hwmod_2xxx_interconnect_data.c | 28 .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 …]
|
A D | omap_hwmod_3xxx_data.c | 1534 .user = OCP_USER_MPU, 1542 .user = OCP_USER_MPU, 1569 .user = OCP_USER_MPU, 1577 .user = OCP_USER_MPU, 1585 .user = OCP_USER_MPU, 1735 .user = OCP_USER_MPU, 1742 .user = OCP_USER_MPU, 1751 .user = OCP_USER_MPU, 1758 .user = OCP_USER_MPU, 1767 .user = OCP_USER_MPU, [all …]
|
A D | omap_hwmod_81xx_data.c | 159 .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 …]
|
A D | omap_hwmod_2430_data.c | 380 .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 …]
|
A D | omap_hwmod_2420_data.c | 240 .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/scripts/ |
A D | Makefile.userprogs | 7 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/include/linux/ |
A D | ipmi.h | 48 struct ipmi_user *user; member 114 struct ipmi_user **user); 124 int ipmi_destroy_user(struct ipmi_user *user); 127 int ipmi_get_version(struct ipmi_user *user, 140 int ipmi_set_my_address(struct ipmi_user *user, 143 int ipmi_get_my_address(struct ipmi_user *user, 146 int ipmi_set_my_LUN(struct ipmi_user *user, 149 int ipmi_get_my_LUN(struct ipmi_user *user, 166 int ipmi_request_settime(struct ipmi_user *user, 200 void ipmi_poll_interface(struct ipmi_user *user); [all …]
|
/linux/arch/m68k/ifpsp060/ |
A D | os.S | 60 | for user mode applications. 71 | working in user space 80 | a1 - user destination address 110 | a0 - user source address 143 | a0 - user source address 166 | a0 - user source address 177 | a0 - user source address 202 | a0 - user source address 213 | a0 - user source address 237 | a0 - user destination address [all …]
|
/linux/drivers/fsi/ |
A D | fsi-sbefifo.c | 778 user->pending_len = 0; in sbefifo_release_command() 787 if (!user) in sbefifo_user_open() 793 if (!user->cmd_page) { in sbefifo_user_open() 794 kfree(user); in sbefifo_user_open() 812 if (!user) in sbefifo_user_read() 860 if (!user) in sbefifo_user_write() 872 user->pending_cmd = user->cmd_page; in sbefifo_user_write() 891 user->pending_len = 0; in sbefifo_user_write() 907 if (!user->pending_len) in sbefifo_user_write() 920 if (!user) in sbefifo_user_release() [all …]
|
/linux/drivers/char/ipmi/ |
A D | ipmi_poweroff.c | 160 ipmi_poll_interface(user); in ipmi_request_in_rc_mode() 202 rv = ipmi_request_in_rc_mode(user, in pps_poweroff_atca() 273 rv = ipmi_request_in_rc_mode(user, in ipmi_poweroff_atca() 289 atca_oem_poweroff_hook(user); in ipmi_poweroff_atca() 344 rv = ipmi_request_in_rc_mode(user, in ipmi_poweroff_cpi1() 359 rv = ipmi_request_in_rc_mode(user, in ipmi_poweroff_cpi1() 382 ipmi_request_in_rc_mode(user, in ipmi_poweroff_cpi1() 394 rv = ipmi_request_in_rc_mode(user, in ipmi_poweroff_cpi1() 408 rv = ipmi_request_in_rc_mode(user, in ipmi_poweroff_cpi1() 497 rv = ipmi_request_in_rc_mode(user, in ipmi_poweroff_chassis() [all …]
|
A D | ipmi_msghandler.c | 1359 if (rcvr->user == user) { in _ipmi_destroy_user() 1612 msg->user = user; in ipmi_set_gets_events() 1682 rcvr->user = user; in ipmi_register_for_cmd() 2316 recv_msg->user = user; in i_ipmi_request() 3815 user = rcvr->user; in handle_ipmb_get_msg_cmd() 3874 recv_msg->user = user; in handle_ipmb_get_msg_cmd() 3913 user = rcvr->user; in handle_ipmb_direct_rcv_cmd() 3966 recv_msg->user = user; in handle_ipmb_direct_rcv_cmd() 4114 user = rcvr->user; in handle_lan_get_msg_cmd() 4221 user = rcvr->user; in handle_oem_get_msg_cmd() [all …]
|
/linux/security/keys/ |
A D | key.c | 80 user = NULL; in key_user_lookup() 105 user = candidate; in key_user_lookup() 114 return user; in key_user_lookup() 126 kfree(user); in key_user_put() 252 if (!user) in key_alloc() 267 user->qnbytes + quotalen < user->qnbytes) in key_alloc() 271 user->qnkeys++; in key_alloc() 291 key->user = user; in key_alloc() 331 user->qnkeys--; in key_alloc() 344 user->qnkeys--; in key_alloc() [all …]
|
/linux/arch/mips/kernel/ |
A D | unaligned.c | 117 bool user = user_mode(regs); in emulate_load_store_insn() local 248 if (user && !access_ok(addr, 2)) in emulate_load_store_insn() 263 if (user && !access_ok(addr, 4)) in emulate_load_store_insn() 278 if (user && !access_ok(addr, 2)) in emulate_load_store_insn() 301 if (user && !access_ok(addr, 4)) in emulate_load_store_insn() 324 if (user && !access_ok(addr, 8)) in emulate_load_store_insn() 339 if (user && !access_ok(addr, 2)) in emulate_load_store_insn() 355 if (user && !access_ok(addr, 4)) in emulate_load_store_insn() 379 if (user && !access_ok(addr, 8)) in emulate_load_store_insn() 587 bool user = user_mode(regs); in emulate_load_store_microMIPS() local [all …]
|
/linux/net/bridge/netfilter/ |
A D | ebt_mark_m.c | 48 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/drivers/gpu/drm/nouveau/nvkm/falcon/ |
A D | base.c | 32 nvkm_warn(falcon->user, in nvkm_falcon_load_imem() 67 nvkm_error(falcon->user, in nvkm_falcon_bind_context() 168 nvkm_falcon_put(struct nvkm_falcon *falcon, const struct nvkm_subdev *user) in nvkm_falcon_put() argument 174 if (falcon->user == user) { in nvkm_falcon_put() 175 nvkm_debug(falcon->user, "released %s falcon\n", falcon->name); in nvkm_falcon_put() 176 falcon->user = NULL; in nvkm_falcon_put() 187 if (falcon->user) { in nvkm_falcon_get() 188 nvkm_error(user, "%s falcon already acquired by %s!\n", in nvkm_falcon_get() 189 falcon->name, falcon->user->name); in nvkm_falcon_get() 194 nvkm_debug(user, "acquired %s falcon\n", falcon->name); in nvkm_falcon_get() [all …]
|
/linux/drivers/gpu/drm/nouveau/nvkm/engine/disp/ |
A D | dmacgf119.c | 34 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,
|
A D | dmacnv50.c | 74 chan->chid.user, -10, handle, in nv50_disp_dmac_bind() 75 chan->chid.user << 28 | in nv50_disp_dmac_bind() 76 chan->chid.user); in nv50_disp_dmac_bind() 85 int user = chan->chid.user; in nv50_disp_dmac_fini() local 94 nvkm_error(subdev, "ch %d fini timeout, %08x\n", user, in nv50_disp_dmac_fini() 107 int user = chan->chid.user; in nv50_disp_dmac_init() local 122 nvkm_error(subdev, "ch %d init timeout, %08x\n", user, in nv50_disp_dmac_init() 135 .user = nv50_disp_chan_user,
|
A D | piocnv50.c | 36 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/drivers/gpu/drm/nouveau/nvif/ |
A D | user.c | 30 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()
|