Home
last modified time | relevance | path

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

12345678910>>...14

/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 …]
/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_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_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 …]
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_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 …]
Dpm-debug.c67 static int clkdm_dbg_show_counter(struct clockdomain *clkdm, void *user) in clkdm_dbg_show_counter() argument
69 struct seq_file *s = (struct seq_file *)user; in clkdm_dbg_show_counter()
82 static int pwrdm_dbg_show_counter(struct powerdomain *pwrdm, void *user) in pwrdm_dbg_show_counter() argument
84 struct seq_file *s = (struct seq_file *)user; in pwrdm_dbg_show_counter()
111 static int pwrdm_dbg_show_timer(struct powerdomain *pwrdm, void *user) in pwrdm_dbg_show_timer() argument
113 struct seq_file *s = (struct seq_file *)user; in pwrdm_dbg_show_timer()
/arch/mips/kernel/
Daccess-helper.h5 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()
Dunaligned.c117 bool user = user_mode(regs); in emulate_load_store_insn() local
127 __get_inst32(&insn.word, pc, user); in emulate_load_store_insn()
167 if (user && !access_ok(addr, 4)) in emulate_load_store_insn()
176 if (user && !access_ok(addr, 2)) in emulate_load_store_insn()
248 if (user && !access_ok(addr, 2)) in emulate_load_store_insn()
251 if (IS_ENABLED(CONFIG_EVA) && user) in emulate_load_store_insn()
263 if (user && !access_ok(addr, 4)) in emulate_load_store_insn()
266 if (IS_ENABLED(CONFIG_EVA) && user) in emulate_load_store_insn()
278 if (user && !access_ok(addr, 2)) in emulate_load_store_insn()
281 if (IS_ENABLED(CONFIG_EVA) && user) in emulate_load_store_insn()
[all …]
/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 …]
/arch/x86/include/asm/
Dpm-trace.h7 #define TRACE_RESUME(user) \ argument
18 generate_pm_trace(tracedata, user); \
22 #define TRACE_SUSPEND(user) TRACE_RESUME(user) argument
/arch/arm/kernel/
Dsys_oabi-compat.c199 struct oabi_flock64 user; in get_oabi_flock() local
201 if (copy_from_user(&user, (struct oabi_flock64 __user *)arg, in get_oabi_flock()
202 sizeof(user))) in get_oabi_flock()
205 kernel->l_type = user.l_type; in get_oabi_flock()
206 kernel->l_whence = user.l_whence; in get_oabi_flock()
207 kernel->l_start = user.l_start; in get_oabi_flock()
208 kernel->l_len = user.l_len; in get_oabi_flock()
209 kernel->l_pid = user.l_pid; in get_oabi_flock()
216 struct oabi_flock64 user; in put_oabi_flock() local
218 user.l_type = kernel->l_type; in put_oabi_flock()
[all …]
/arch/um/drivers/
Dslip_kern.c23 spri = (struct slip_data *) private->user; in slip_init()
50 (struct slip_data *) &lp->user); in slip_read()
56 (struct slip_data *) &lp->user); in slip_write()
81 .user = &slip_user_info,
Dnet_kern.c155 lp->fd = (*lp->open)(&lp->user); in uml_net_open()
183 if (lp->close != NULL) (*lp->close)(lp->fd, &lp->user); in uml_net_open()
197 (*lp->close)(lp->fd, &lp->user); in uml_net_close()
343 (*lp->remove)(&lp->user); in net_device_release()
437 .max_packet = transport->user->max_packet, in eth_configure()
439 .open = transport->user->open, in eth_configure()
440 .close = transport->user->close, in eth_configure()
441 .remove = transport->user->remove, in eth_configure()
444 .add_address = transport->user->add_address, in eth_configure()
445 .delete_address = transport->user->delete_address }); in eth_configure()
[all …]
Dslirp_kern.c26 spri = (struct slirp_data *) private->user; in slirp_init()
55 (struct slirp_data *) &lp->user); in slirp_read()
61 (struct slirp_data *) &lp->user); in slirp_write()
108 .user = &slirp_user_info,
Dvde_kern.c23 vpri = (struct vde_data *) pri->user; in vde_init()
41 struct vde_data *pri = (struct vde_data *) &lp->user; in vde_read()
53 struct vde_data *pri = (struct vde_data *) &lp->user; in vde_write()
117 .user = &vde_user_info,
Ddaemon_kern.c26 dpri = (struct daemon_data *) pri->user; in daemon_init()
51 (struct daemon_data *) &lp->user); in daemon_write()
83 .user = &daemon_user_info,
/arch/sh/kernel/
Dptrace_32.c352 addr > sizeof(struct user) - 3) in arch_ptrace()
357 else if (addr >= offsetof(struct user, fpu) && in arch_ptrace()
358 addr < offsetof(struct user, u_fpvalid)) { in arch_ptrace()
360 if (addr == offsetof(struct user, fpu.fpscr)) in arch_ptrace()
369 index = addr - offsetof(struct user, fpu); in arch_ptrace()
373 } else if (addr == offsetof(struct user, u_fpvalid)) in arch_ptrace()
392 addr > sizeof(struct user) - 3) in arch_ptrace()
397 else if (addr >= offsetof(struct user, fpu) && in arch_ptrace()
398 addr < offsetof(struct user, u_fpvalid)) { in arch_ptrace()
403 index = addr - offsetof(struct user, fpu); in arch_ptrace()
[all …]
/arch/arm/boot/dts/
Dimx6ul-phytec-segin-peb-eval-01.dtsi24 user_leds: user-leds {
30 user-led1 {
36 user-led2 {
Dste-nomadik-s8815.dts76 user-led {
84 user-button {
147 /* The user LED on the board is set up to be used for heartbeat */
150 user-led {
163 user-button {
/arch/x86/kernel/
Dvm86_32.c99 struct vm86plus_struct __user *user; in save_v86_state() local
114 user = vm86->user_vm86; in save_v86_state()
116 if (!user_access_begin(user, vm86->vm86plus.is_vm86pus ? in save_v86_state()
121 unsafe_put_user(regs->pt.bx, &user->regs.ebx, Efault_end); in save_v86_state()
122 unsafe_put_user(regs->pt.cx, &user->regs.ecx, Efault_end); in save_v86_state()
123 unsafe_put_user(regs->pt.dx, &user->regs.edx, Efault_end); in save_v86_state()
124 unsafe_put_user(regs->pt.si, &user->regs.esi, Efault_end); in save_v86_state()
125 unsafe_put_user(regs->pt.di, &user->regs.edi, Efault_end); in save_v86_state()
126 unsafe_put_user(regs->pt.bp, &user->regs.ebp, Efault_end); in save_v86_state()
127 unsafe_put_user(regs->pt.ax, &user->regs.eax, Efault_end); in save_v86_state()
[all …]
/arch/arm/include/asm/
Dtls.h14 mrc p15, 0, \tmp2, c13, c0, 2 @ get the user r/w register
16 mcr p15, 0, \tpuser, c13, c0, 2 @ and the user r/w register
26 mrcne p15, 0, \tmp2, c13, c0, 2 @ get the user r/w register
28 mcrne p15, 0, \tpuser, c13, c0, 2 @ set user r/w register
/arch/x86/um/
Dptrace_64.c117 else if ((addr >= offsetof(struct user, u_debugreg[0])) && in poke_user()
118 (addr <= offsetof(struct user, u_debugreg[7]))) { in poke_user()
119 addr -= offsetof(struct user, u_debugreg[0]); in poke_user()
181 else if ((addr >= offsetof(struct user, u_debugreg[0])) && in peek_user()
182 (addr <= offsetof(struct user, u_debugreg[7]))) { in peek_user()
183 addr -= offsetof(struct user, u_debugreg[0]); in peek_user()
Dptrace_32.c131 else if ((addr >= offsetof(struct user, u_debugreg[0])) && in poke_user()
132 (addr <= offsetof(struct user, u_debugreg[7]))) { in poke_user()
133 addr -= offsetof(struct user, u_debugreg[0]); in poke_user()
187 else if ((addr >= offsetof(struct user, u_debugreg[0])) && in peek_user()
188 (addr <= offsetof(struct user, u_debugreg[7]))) { in peek_user()
189 addr -= offsetof(struct user, u_debugreg[0]); in peek_user()
/arch/arm64/kvm/
Dpvtime.c78 u64 __user *user = (u64 __user *)attr->addr; in kvm_arm_pvtime_set_attr() local
88 if (get_user(ipa, user)) in kvm_arm_pvtime_set_attr()
110 u64 __user *user = (u64 __user *)attr->addr; in kvm_arm_pvtime_get_attr() local
119 if (put_user(ipa, user)) in kvm_arm_pvtime_get_attr()

12345678910>>...14