| /linux/arch/arm64/kernel/ |
| H A D | signal.c | 111 * Save the user access state into ua_state and reset it to disable any 133 * Set the user access state for invoking the signal handler. 144 * Restore the user access state to the values saved in ua_state. 156 static void init_user_layout(struct rt_sigframe_user_layout *user) in init_user_layout() argument 159 sizeof(user->sigframe->uc.uc_mcontext.__reserved); in init_user_layout() 161 memset(user, 0, sizeof(*user)); in init_user_layout() 162 user->size = offsetof(struct rt_sigframe, uc.uc_mcontext.__reserved); in init_user_layout() 164 user->limit = user in init_user_layout() 171 sigframe_size(struct rt_sigframe_user_layout const * user) sigframe_size() argument 184 __sigframe_alloc(struct rt_sigframe_user_layout * user,unsigned long * offset,size_t size,bool extend) __sigframe_alloc() argument 227 sigframe_alloc(struct rt_sigframe_user_layout * user,unsigned long * offset,size_t size) sigframe_alloc() argument 234 sigframe_alloc_end(struct rt_sigframe_user_layout * user) sigframe_alloc_end() argument 252 apply_user_offset(struct rt_sigframe_user_layout const * user,unsigned long offset) apply_user_offset() argument 299 read_fpsimd_context(struct user_fpsimd_state * fpsimd,struct user_ctxs * user) read_fpsimd_context() argument 316 restore_fpsimd_context(struct user_ctxs * user) restore_fpsimd_context() argument 345 restore_fpmr_context(struct user_ctxs * user) restore_fpmr_context() argument 377 restore_poe_context(struct user_ctxs * user,struct user_access_state * ua_state) restore_poe_context() argument 430 restore_sve_fpsimd_context(struct user_ctxs * user) restore_sve_fpsimd_context() argument 525 restore_sve_fpsimd_context(struct user_ctxs * user) restore_sve_fpsimd_context() argument 550 restore_tpidr2_context(struct user_ctxs * user) restore_tpidr2_context() argument 595 restore_za_context(struct user_ctxs * user) restore_za_context() argument 669 restore_zt_context(struct user_ctxs * user) restore_zt_context() argument 736 restore_gcs_context(struct user_ctxs * user) restore_gcs_context() argument 785 parse_user_sigframe(struct user_ctxs * user,struct rt_sigframe __user * sf) parse_user_sigframe() argument 1019 struct user_ctxs user; restore_sigframe() local 1172 setup_sigframe_layout(struct rt_sigframe_user_layout * user,bool add_all) setup_sigframe_layout() argument 1271 setup_sigframe(struct rt_sigframe_user_layout * user,struct pt_regs * regs,sigset_t * set,const struct user_access_state * ua_state) setup_sigframe() argument 1404 get_sigframe(struct rt_sigframe_user_layout * user,struct ksignal * ksig,struct pt_regs * regs) get_sigframe() argument 1476 setup_return(struct pt_regs * regs,struct ksignal * ksig,struct rt_sigframe_user_layout * user,int usig) setup_return() argument 1540 struct rt_sigframe_user_layout user; setup_rt_frame() local 1706 struct rt_sigframe_user_layout user; minsigstksz_setup() local [all...] |
| /linux/Documentation/admin-guide/sysctl/ |
| H 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. 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/kernel/trace/ |
| H A D | trace_events_user.c | 204 typedef void (*user_event_func_t) (struct user_event *user, struct iov_iter *i, 212 static struct user_event_mm *user_event_mm_get_all(struct user_event *user); 214 static int destroy_user_event(struct user_event *user); 215 static bool user_fields_match(struct user_event *user, int argc, 234 static struct user_event *user_event_get(struct user_event *user) in user_event_get() argument 236 refcount_inc(&user->refcnt); in user_event_get() 238 return user; in user_event_get() 243 struct user_event *user = container_of( in delayed_destroy_user_event() local 248 if (!refcount_dec_and_test(&user->refcnt)) in delayed_destroy_user_event() 251 if (destroy_user_event(user)) { in delayed_destroy_user_event() [all …]
|
| /linux/arch/arm/mach-omap2/ |
| H A D | omap_hwmod_2xxx_interconnect_data.c | 27 .user = OCP_USER_MPU | OCP_USER_SDMA, 34 .user = OCP_USER_MPU, 47 .user = OCP_USER_MPU | OCP_USER_SDMA, 54 .user = OCP_USER_MPU | OCP_USER_SDMA, 62 .user = OCP_USER_MPU | OCP_USER_SDMA, 70 .user = OCP_USER_MPU | OCP_USER_SDMA, 78 .user = OCP_USER_MPU | OCP_USER_SDMA, 86 .user = OCP_USER_MPU | OCP_USER_SDMA, 94 .user = OCP_USER_MPU | OCP_USER_SDMA, 102 .user = OCP_USER_MPU | OCP_USER_SDMA, [all …]
|
| H A D | omap_hwmod_3xxx_data.c | 1459 .user = OCP_USER_MPU | OCP_USER_SDMA, 1466 .user = OCP_USER_MPU | OCP_USER_SDMA, 1474 .user = OCP_USER_MPU, 1482 .user = OCP_USER_MPU, 1489 .user = OCP_USER_MPU | OCP_USER_SDMA, 1501 .user = OCP_USER_MPU | OCP_USER_SDMA, 1509 .user = OCP_USER_MPU, 1516 .user = OCP_USER_MPU | OCP_USER_SDMA, 1524 .user = OCP_USER_MPU | OCP_USER_SDMA, 1532 .user = OCP_USER_MPU | OCP_USER_SDMA, [all …]
|
| H 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 …]
|
| H A D | omap_hwmod_81xx_data.c | 150 .user = OCP_USER_MPU, 157 .user = OCP_USER_MPU, 178 .user = OCP_USER_MPU, 185 .user = OCP_USER_MPU, 205 .user = OCP_USER_MPU, 212 .user = OCP_USER_MPU, 248 .user = OCP_USER_MPU, 287 .user = OCP_USER_MPU, 308 .user = OCP_USER_MPU, 329 .user = OCP_USER_MPU, [all …]
|
| H A D | omap_hwmod_2420_data.c | 239 .user = OCP_USER_MPU | OCP_USER_SDMA, 247 .user = OCP_USER_MPU | OCP_USER_SDMA, 255 .user = OCP_USER_MPU | OCP_USER_SDMA, 263 .user = OCP_USER_MPU | OCP_USER_SDMA, 271 .user = OCP_USER_MPU | OCP_USER_SDMA, 279 .user = OCP_USER_MPU | OCP_USER_SDMA, 287 .user = OCP_USER_MPU | OCP_USER_SDMA, 295 .user = OCP_USER_MPU | OCP_USER_SDMA, 303 .user = OCP_USER_MPU | OCP_USER_SDMA, 310 .user = OCP_USER_MPU | OCP_USER_SDMA, [all …]
|
| /linux/scripts/ |
| H 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)) 28 $(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/ |
| H A D | ipmi.h | 48 struct ipmi_user *user; member 120 struct ipmi_user **user); 130 void ipmi_destroy_user(struct ipmi_user *user); 133 int ipmi_get_version(struct ipmi_user *user, 146 int ipmi_set_my_address(struct ipmi_user *user, 149 int ipmi_get_my_address(struct ipmi_user *user, 152 int ipmi_set_my_LUN(struct ipmi_user *user, 155 int ipmi_get_my_LUN(struct ipmi_user *user, 172 int ipmi_request_settime(struct ipmi_user *user, 190 int ipmi_request_supply_msgs(struct ipmi_user *user, [all …]
|
| /linux/drivers/fsi/ |
| H A D | fsi-sbefifo.c | 782 static void sbefifo_release_command(struct sbefifo_user *user) in sbefifo_release_command() argument 784 if (is_vmalloc_addr(user->pending_cmd)) in sbefifo_release_command() 785 vfree(user->pending_cmd); in sbefifo_release_command() 786 user->pending_cmd = NULL; in sbefifo_release_command() 787 user->pending_len = 0; in sbefifo_release_command() 793 struct sbefifo_user *user; in sbefifo_user_open() local 795 user = kzalloc_obj(struct sbefifo_user); in sbefifo_user_open() 796 if (!user) in sbefifo_user_open() 799 file->private_data = user; in sbefifo_user_open() 800 user->sbefifo = sbefifo; in sbefifo_user_open() [all …]
|
| /linux/include/linux/fsl/ |
| H A D | ntmp.h | 290 int ntmp_maft_add_entry(struct ntmp_user *user, u32 entry_id, 292 int ntmp_maft_query_entry(struct ntmp_user *user, u32 entry_id, 294 int ntmp_maft_delete_entry(struct ntmp_user *user, u32 entry_id); 295 int ntmp_rsst_update_entry(struct ntmp_user *user, const u32 *table, 297 int ntmp_rsst_query_entry(struct ntmp_user *user, 299 int ntmp_ipft_add_entry(struct ntmp_user *user, 301 int ntmp_ipft_delete_entry(struct ntmp_user *user, u32 entry_id); 302 int ntmp_fdbt_add_entry(struct ntmp_user *user, u32 *entry_id, 305 int ntmp_fdbt_update_entry(struct ntmp_user *user, u32 entry_id, 307 int ntmp_fdbt_delete_entry(struct ntmp_user *user, u32 entry_id); [all …]
|
| /linux/arch/m68k/ifpsp060/ |
| H A D | os.S | 57 | 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/drivers/iommu/iommufd/ |
| H A D | pages.c | 788 static void pfn_reader_user_init(struct pfn_reader_user *user, in pfn_reader_user_init() argument 791 user->upages = NULL; in pfn_reader_user_init() 792 user->upages_len = 0; in pfn_reader_user_init() 793 user->upages_start = 0; in pfn_reader_user_init() 794 user->upages_end = 0; in pfn_reader_user_init() 795 user->locked = -1; in pfn_reader_user_init() 796 user->gup_flags = FOLL_LONGTERM; in pfn_reader_user_init() 798 user->gup_flags |= FOLL_WRITE; in pfn_reader_user_init() 800 user->file = (pages->type == IOPT_ADDRESS_FILE) ? pages->file : NULL; in pfn_reader_user_init() 801 user->ufolios = NULL; in pfn_reader_user_init() [all …]
|
| /linux/security/keys/ |
| H A D | key.c | 47 * Get the key quota record for a user, allocating a new record if one doesn't 52 struct key_user *candidate = NULL, *user; in key_user_lookup() local 60 /* search the tree for a user record with a matching UID */ in key_user_lookup() 63 user = rb_entry(parent, struct key_user, node); in key_user_lookup() 65 if (uid_lt(uid, user->uid)) in key_user_lookup() 67 else if (uid_gt(uid, user->uid)) in key_user_lookup() 75 /* allocate a candidate user record if we don't already have in key_user_lookup() 79 user = NULL; in key_user_lookup() 90 /* if we get here, then the user record still hadn't appeared on the in key_user_lookup() 104 user in key_user_lookup() 119 key_user_put(struct key_user * user) key_user_put() argument 229 struct key_user *user = NULL; key_alloc() local [all...] |
| /linux/net/bridge/netfilter/ |
| H 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/arch/mips/kernel/ |
| H A D | unaligned.c | 118 bool user = user_mode(regs); in emulate_load_store_insn() local 128 __get_inst32(&insn.word, pc, user); in emulate_load_store_insn() 171 if (user && !access_ok(addr, 4)) in emulate_load_store_insn() 180 if (user && !access_ok(addr, 2)) in emulate_load_store_insn() 189 if (user && !access_ok(addr, 2)) in emulate_load_store_insn() 209 if (user && !access_ok(addr, 4)) in emulate_load_store_insn() 218 if (user && !access_ok(addr, 2)) in emulate_load_store_insn() 290 if (user && !access_ok(addr, 2)) in emulate_load_store_insn() 293 if (IS_ENABLED(CONFIG_EVA) && user) in emulate_load_store_insn() 305 if (user && !access_ok(addr, 4)) in emulate_load_store_insn() [all …]
|
| H A D | access-helper.h | 5 static inline int __get_addr(unsigned long *a, unsigned long *p, bool user) in __get_addr() argument 7 return user ? get_user(*a, (unsigned long __user *)p) : in __get_addr() 11 static inline int __get_inst16(u16 *i, u16 *p, bool user) in __get_inst16() argument 13 return user ? get_user(*i, (u16 __user *)p) : get_kernel_nofault(*i, p); in __get_inst16() 16 static inline int __get_inst32(u32 *i, u32 *p, bool user) in __get_inst32() argument 18 return user ? get_user(*i, (u32 __user *)p) : get_kernel_nofault(*i, p); in __get_inst32()
|
| /linux/drivers/gpu/drm/nouveau/nvkm/engine/disp/ |
| H A D | chan.c | 55 *addr = base + chan->func->user(chan, size); in nvkm_disp_chan_map() 156 if (disp->chan[chan->chid.user] == chan) in nvkm_disp_chan_dtor() 157 disp->chan[chan->chid.user] = NULL; in nvkm_disp_chan_dtor() 178 const struct nvkm_disp_chan_user *user = NULL; in nvkm_disp_chan_new_() local 183 for (i = 0; disp->func->user[i].ctor; i++) { in nvkm_disp_chan_new_() 184 if (disp->func->user[i].base.oclass == oclass->base.oclass) { in nvkm_disp_chan_new_() 185 user = disp->func->user[i].chan; in nvkm_disp_chan_new_() 190 if (WARN_ON(!user)) in nvkm_disp_chan_new_() 195 if (args->v0.id >= nr || !args->v0.pushbuf != !user->func->push) in nvkm_disp_chan_new_() 203 chan->func = user->func; in nvkm_disp_chan_new_() [all …]
|
| H A D | gp102.c | 39 int user = chan->chid.user; in gp102_disp_dmac_init() local 54 nvkm_error(subdev, "ch %d init: %08x\n", user, in gp102_disp_dmac_init() 68 .user = nv50_disp_chan_user, 76 .user = 17, 83 .user = 13, 90 .user = 5, 98 .user = 1, 135 .user = nv50_disp_chan_user, 143 .user = 0, 185 .user = {
|
| /linux/drivers/char/ipmi/ |
| H A D | ipmi_msghandler.c | 41 static struct ipmi_recv_msg *ipmi_alloc_recv_msg(struct ipmi_user *user); 43 struct ipmi_user *user); 206 struct ipmi_user *user; member 623 struct ipmi_user *user = container_of(ref, struct ipmi_user, refcount); in free_ipmi_user() local 626 owner = user->intf->owner; in free_ipmi_user() 627 kref_put(&user->intf->refcount, intf_free); in free_ipmi_user() 629 vfree(user); in free_ipmi_user() 632 static void release_ipmi_user(struct ipmi_user *user) in release_ipmi_user() argument 634 kref_put(&user->refcount, free_ipmi_user); in release_ipmi_user() 637 static struct ipmi_user *acquire_ipmi_user(struct ipmi_user *user) in acquire_ipmi_user() argument [all …]
|
| /linux/tools/net/ynl/generated/ |
| H A D | Makefile | 18 YNL_GEN_ARG_ethtool:=--user-header linux/ethtool_netlink.h \ 28 SRCS=$(patsubst %,%-user.c,${GENS}) 29 HDRS=$(patsubst %,%-user.h,${GENS}) 30 OBJS=$(patsubst %,%-user.o,${GENS}) 42 %-user.h: $(SPECS_DIR)/%.yaml $(TOOL) 44 @$(TOOL) --mode user --header --spec $< -o $@ $(YNL_GEN_ARG_$*) 46 %-user.c: $(SPECS_DIR)/%.yaml $(TOOL) 48 @$(TOOL) --mode user --source --spec $< -o $@ $(YNL_GEN_ARG_$*) 50 %-user.o: %-user.c %-user.h
|
| /linux/arch/arm/kernel/ |
| H A D | sys_oabi-compat.c | 202 struct oabi_flock64 user; in get_oabi_flock() local 204 if (copy_from_user(&user, (struct oabi_flock64 __user *)arg, in get_oabi_flock() 205 sizeof(user))) in get_oabi_flock() 208 kernel->l_type = user.l_type; in get_oabi_flock() 209 kernel->l_whence = user.l_whence; in get_oabi_flock() 210 kernel->l_start = user.l_start; in get_oabi_flock() 211 kernel->l_len = user.l_len; in get_oabi_flock() 212 kernel->l_pid = user.l_pid; in get_oabi_flock() 219 struct oabi_flock64 user; in put_oabi_flock() local 221 user.l_type = kernel->l_type; in put_oabi_flock() [all …]
|
| /linux/block/ |
| H A D | ioprio.c | 68 struct user_struct *user; in SYSCALL_DEFINE3() local 110 user = current_user(); in SYSCALL_DEFINE3() 112 user = find_user(uid); in SYSCALL_DEFINE3() 114 if (!user) in SYSCALL_DEFINE3() 127 free_uid(user); in SYSCALL_DEFINE3() 183 struct user_struct *user; in SYSCALL_DEFINE2() local 220 user = current_user(); in SYSCALL_DEFINE2() 222 user = find_user(uid); in SYSCALL_DEFINE2() 224 if (!user) in SYSCALL_DEFINE2() 228 if (!uid_eq(task_uid(p), user->uid) || in SYSCALL_DEFINE2() [all …]
|
| /linux/drivers/gpu/drm/nouveau/nvif/ |
| H A D | userc361.c | 25 nvif_userc361_time(struct nvif_user *user) in nvif_userc361_time() argument 30 hi = nvif_rd32(&user->object, 0x084); in nvif_userc361_time() 31 lo = nvif_rd32(&user->object, 0x080); in nvif_userc361_time() 32 } while (hi != nvif_rd32(&user->object, 0x084)); in nvif_userc361_time() 38 nvif_userc361_doorbell(struct nvif_user *user, u32 token) in nvif_userc361_doorbell() argument 40 nvif_wr32(&user->object, 0x90, token); in nvif_userc361_doorbell()
|