/linux-2.6.39/fs/ncpfs/ |
D | ioctl.c | 162 struct ncp_nls_ioctl user; in ncp_set_charsets() local 170 if (copy_from_user(&user, arg, sizeof(user))) in ncp_set_charsets() 174 user.codepage[NCP_IOCSNAME_LEN] = 0; in ncp_set_charsets() 175 if (!user.codepage[0] || !strcmp(user.codepage, "default")) in ncp_set_charsets() 178 codepage = load_nls(user.codepage); in ncp_set_charsets() 185 user.iocharset[NCP_IOCSNAME_LEN] = 0; in ncp_set_charsets() 186 if (!user.iocharset[0] || !strcmp(user.iocharset, "default")) { in ncp_set_charsets() 189 } else if (!strcmp(user.iocharset, "utf8")) { in ncp_set_charsets() 193 iocharset = load_nls(user.iocharset); in ncp_set_charsets() 227 struct ncp_nls_ioctl user; in ncp_get_charsets() local [all …]
|
/linux-2.6.39/security/keys/ |
D | key.c | 65 struct key_user *candidate = NULL, *user; in key_user_lookup() local 76 user = rb_entry(parent, struct key_user, node); in key_user_lookup() 78 if (uid < user->uid) in key_user_lookup() 80 else if (uid > user->uid) in key_user_lookup() 82 else if (user_ns < user->user_ns) in key_user_lookup() 84 else if (user_ns > user->user_ns) in key_user_lookup() 96 user = NULL; in key_user_lookup() 122 user = candidate; in key_user_lookup() 127 atomic_inc(&user->usage); in key_user_lookup() 131 return user; in key_user_lookup() [all …]
|
D | process_keys.c | 46 struct user_struct *user; in install_user_keyrings() local 53 user = cred->user; in install_user_keyrings() 55 kenter("%p{%u}", user, user->uid); in install_user_keyrings() 57 if (user->uid_keyring) { in install_user_keyrings() 65 if (!user->uid_keyring) { in install_user_keyrings() 70 sprintf(buf, "_uid.%u", user->uid); in install_user_keyrings() 74 uid_keyring = keyring_alloc(buf, user->uid, (gid_t) -1, in install_user_keyrings() 85 sprintf(buf, "_uid_ses.%u", user->uid); in install_user_keyrings() 90 keyring_alloc(buf, user->uid, (gid_t) -1, in install_user_keyrings() 105 user->uid_keyring = uid_keyring; in install_user_keyrings() [all …]
|
D | proc.c | 98 if (key->user->user_ns == user_ns) in key_serial_next() 135 if (minkey->user->user_ns == user_ns) in find_ge_key() 275 struct key_user *user = rb_entry(n, struct key_user, node); in __key_user_next() local 276 if (user->user_ns == current_user_ns()) in __key_user_next() 335 struct key_user *user = rb_entry(_p, struct key_user, node); in proc_key_users_show() local 336 unsigned maxkeys = (user->uid == 0) ? in proc_key_users_show() 338 unsigned maxbytes = (user->uid == 0) ? in proc_key_users_show() 342 user->uid, in proc_key_users_show() 343 atomic_read(&user->usage), in proc_key_users_show() 344 atomic_read(&user->nkeys), in proc_key_users_show() [all …]
|
/linux-2.6.39/arch/m68k/ifpsp060/ |
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-2.6.39/include/linux/ |
D | ipmi.h | 245 ipmi_user_t user; member 287 ipmi_user_t *user); 295 int ipmi_destroy_user(ipmi_user_t user); 298 void ipmi_get_version(ipmi_user_t user, 308 int ipmi_set_my_address(ipmi_user_t user, 311 int ipmi_get_my_address(ipmi_user_t user, 314 int ipmi_set_my_LUN(ipmi_user_t user, 317 int ipmi_get_my_LUN(ipmi_user_t user, 334 int ipmi_request_settime(ipmi_user_t user, 352 int ipmi_request_supply_msgs(ipmi_user_t user, [all …]
|
/linux-2.6.39/drivers/gpu/drm/nouveau/ |
D | nvc0_fifo.c | 40 struct nouveau_bo *user; member 119 0, 0, &fifoch->user); in nvc0_fifo_create_context() 123 ret = nouveau_bo_pin(fifoch->user, TTM_PL_FLAG_VRAM); in nvc0_fifo_create_context() 125 nouveau_bo_ref(NULL, &fifoch->user); in nvc0_fifo_create_context() 129 user_vinst = fifoch->user->bo.mem.start << PAGE_SHIFT; in nvc0_fifo_create_context() 131 ret = nouveau_bo_map(fifoch->user); in nvc0_fifo_create_context() 133 nouveau_bo_unpin(fifoch->user); in nvc0_fifo_create_context() 134 nouveau_bo_ref(NULL, &fifoch->user); in nvc0_fifo_create_context() 139 fifoch->user->bo.mem.mm_node); in nvc0_fifo_create_context() 141 chan->user = ioremap_wc(pci_resource_start(dev->pdev, 1) + in nvc0_fifo_create_context() [all …]
|
/linux-2.6.39/drivers/staging/cxt1e1/ |
D | pmcc4_sysdep.h | 53 void sd_recv_consume(void *token, size_t len, void *user); 55 void sd_disable_xmit (void *user); 56 void sd_enable_xmit (void *user); 57 int sd_line_is_ok (void *user); 58 void sd_line_is_up (void *user); 59 void sd_line_is_down (void *user); 60 int sd_queue_stopped (void *user);
|
D | functions.c | 201 sd_line_is_ok (void *user) in sd_line_is_ok() argument 203 struct net_device *ndev = (struct net_device *) user; in sd_line_is_ok() 209 sd_line_is_up (void *user) in sd_line_is_up() argument 211 struct net_device *ndev = (struct net_device *) user; in sd_line_is_up() 218 sd_line_is_down (void *user) in sd_line_is_down() argument 220 struct net_device *ndev = (struct net_device *) user; in sd_line_is_down() 227 sd_disable_xmit (void *user) in sd_disable_xmit() argument 229 struct net_device *dev = (struct net_device *) user; in sd_disable_xmit() 236 sd_enable_xmit (void *user) in sd_enable_xmit() argument 238 struct net_device *dev = (struct net_device *) user; in sd_enable_xmit() [all …]
|
/linux-2.6.39/net/bridge/netfilter/ |
D | ebt_mark_m.c | 47 const struct compat_ebt_mark_m_info *user = src; in mark_mt_compat_from_user() local 50 kern->mark = user->mark; in mark_mt_compat_from_user() 51 kern->mask = user->mask; in mark_mt_compat_from_user() 52 kern->invert = user->invert; in mark_mt_compat_from_user() 53 kern->bitmask = user->bitmask; in mark_mt_compat_from_user() 58 struct compat_ebt_mark_m_info __user *user = dst; in mark_mt_compat_to_user() local 61 if (put_user(kern->mark, &user->mark) || in mark_mt_compat_to_user() 62 put_user(kern->mask, &user->mask) || in mark_mt_compat_to_user() 63 put_user(kern->invert, &user->invert) || in mark_mt_compat_to_user() 64 put_user(kern->bitmask, &user->bitmask)) in mark_mt_compat_to_user()
|
D | ebt_mark.c | 63 const struct compat_ebt_mark_t_info *user = src; in mark_tg_compat_from_user() local 66 kern->mark = user->mark; in mark_tg_compat_from_user() 67 kern->target = user->target; in mark_tg_compat_from_user() 72 struct compat_ebt_mark_t_info __user *user = dst; in mark_tg_compat_to_user() local 75 if (put_user(kern->mark, &user->mark) || in mark_tg_compat_to_user() 76 put_user(kern->target, &user->target)) in mark_tg_compat_to_user()
|
/linux-2.6.39/drivers/char/ipmi/ |
D | ipmi_poweroff.c | 64 static void (*specific_poweroff_func)(ipmi_user_t user); 141 static int ipmi_request_wait_for_response(ipmi_user_t user, in ipmi_request_wait_for_response() argument 150 rv = ipmi_request_supply_msgs(user, addr, 0, send_msg, &comp, in ipmi_request_wait_for_response() 161 static int ipmi_request_in_rc_mode(ipmi_user_t user, in ipmi_request_in_rc_mode() argument 168 rv = ipmi_request_supply_msgs(user, addr, 0, send_msg, NULL, in ipmi_request_in_rc_mode() 179 ipmi_poll_interface(user); in ipmi_request_in_rc_mode() 201 static void (*atca_oem_poweroff_hook)(ipmi_user_t user); 203 static void pps_poweroff_atca(ipmi_user_t user) in pps_poweroff_atca() argument 221 rv = ipmi_request_in_rc_mode(user, in pps_poweroff_atca() 231 static int ipmi_atca_detect(ipmi_user_t user) in ipmi_atca_detect() argument [all …]
|
D | ipmi_msghandler.c | 98 ipmi_user_t user; member 700 if (!msg->user) { in deliver_response() 713 ipmi_user_t user = msg->user; in deliver_response() local 714 user->handler->ipmi_recv_hndl(msg, user->handler_data); in deliver_response() 880 ipmi_user_t *user) in ipmi_create_user() argument 961 *user = new_user; in ipmi_create_user() 1002 ipmi_user_t user = container_of(ref, struct ipmi_user, refcount); in free_user() local 1003 kfree(user); in free_user() 1006 int ipmi_destroy_user(ipmi_user_t user) in ipmi_destroy_user() argument 1008 ipmi_smi_t intf = user->intf; in ipmi_destroy_user() [all …]
|
D | ipmi_devintf.c | 50 ipmi_user_t user; member 134 &(priv->user)); in ipmi_open() 162 rv = ipmi_destroy_user(priv->user); in ipmi_release() 172 static int handle_send_req(ipmi_user_t user, in handle_send_req() argument 218 rv = ipmi_request_settime(user, in handle_send_req() 250 rv = handle_send_req(priv->user, in ipmi_ioctl() 266 rv = handle_send_req(priv->user, in ipmi_ioctl() 383 rv = ipmi_register_for_cmd(priv->user, val.netfn, val.cmd, in ipmi_ioctl() 397 rv = ipmi_unregister_for_cmd(priv->user, val.netfn, val.cmd, in ipmi_ioctl() 411 rv = ipmi_register_for_cmd(priv->user, val.netfn, val.cmd, in ipmi_ioctl() [all …]
|
/linux-2.6.39/arch/arm/kernel/ |
D | sys_oabi-compat.c | 199 struct oabi_flock64 user; in sys_oabi_fcntl64() local 209 if (copy_from_user(&user, (struct oabi_flock64 __user *)arg, in sys_oabi_fcntl64() 210 sizeof(user))) in sys_oabi_fcntl64() 212 kernel.l_type = user.l_type; in sys_oabi_fcntl64() 213 kernel.l_whence = user.l_whence; in sys_oabi_fcntl64() 214 kernel.l_start = user.l_start; in sys_oabi_fcntl64() 215 kernel.l_len = user.l_len; in sys_oabi_fcntl64() 216 kernel.l_pid = user.l_pid; in sys_oabi_fcntl64() 227 user.l_type = kernel.l_type; in sys_oabi_fcntl64() 228 user.l_whence = kernel.l_whence; in sys_oabi_fcntl64() [all …]
|
/linux-2.6.39/arch/frv/kernel/ |
D | ptrace.c | 46 const struct user_int_regs *iregs = &target->thread.user->i; in genregs_get() 66 struct user_int_regs *iregs = &target->thread.user->i; in genregs_set() 111 const struct user_fpmedia_regs *fpregs = &target->thread.user->f; in fpmregs_get() 131 struct user_fpmedia_regs *fpregs = &target->thread.user->f; in fpmregs_set() 206 struct user_context *user = task->thread.user; in get_reg() local 211 return ((unsigned long *) user)[regno]; in get_reg() 220 struct user_context *user = task->thread.user; in put_reg() local 232 ((unsigned long *) user)[regno] = data; in put_reg() 324 0, sizeof(child->thread.user->i), in arch_ptrace() 330 0, sizeof(child->thread.user->i), in arch_ptrace() [all …]
|
D | entry-table.S | 25 # (3) The trap table for user mode 35 # The user and kernel trap tables use the same prologue for normal 40 # (6) The fixup table for user-trap single-step 47 # The linker script places the user mode and kernel mode trap tables on to 59 # trap table for entry from user mode 60 .section .trap.user,"ax" 77 # trap fixup table for single-stepping in user mode 78 .section .trap.fixup.user,"a" 83 # trap fixup table for single-stepping in user mode 91 .section .trap.user [all …]
|
/linux-2.6.39/fs/ |
D | ioprio.c | 81 struct user_struct *user; in SYSCALL_DEFINE3() local 129 user = current_user(); in SYSCALL_DEFINE3() 131 user = find_user(who); in SYSCALL_DEFINE3() 133 if (!user) in SYSCALL_DEFINE3() 145 free_uid(user); in SYSCALL_DEFINE3() 190 struct user_struct *user; in SYSCALL_DEFINE2() local 222 user = current_user(); in SYSCALL_DEFINE2() 224 user = find_user(who); in SYSCALL_DEFINE2() 226 if (!user) in SYSCALL_DEFINE2() 230 if (__task_cred(p)->uid != user->uid) in SYSCALL_DEFINE2() [all …]
|
D | dcookies.c | 304 struct dcookie_user * user; in dcookie_register() local 308 user = kmalloc(sizeof(struct dcookie_user), GFP_KERNEL); in dcookie_register() 309 if (!user) in dcookie_register() 315 list_add(&user->next, &dcookie_users); in dcookie_register() 319 return user; in dcookie_register() 321 kfree(user); in dcookie_register() 322 user = NULL; in dcookie_register() 327 void dcookie_unregister(struct dcookie_user * user) in dcookie_unregister() argument 331 list_del(&user->next); in dcookie_unregister() 332 kfree(user); in dcookie_unregister()
|
/linux-2.6.39/arch/um/sys-ppc/ |
D | ptrace.c | 19 else if((addr >= offsetof(struct user, u_debugreg[0])) && in poke_user() 20 (addr <= offsetof(struct user, u_debugreg[7]))){ in poke_user() 21 addr -= offsetof(struct user, u_debugreg[0]); in poke_user() 50 else if((addr >= offsetof(struct user, u_debugreg[0])) && in peek_user() 51 (addr <= offsetof(struct user, u_debugreg[7]))){ in peek_user() 52 addr -= offsetof(struct user, u_debugreg[0]); in peek_user()
|
/linux-2.6.39/arch/arm/mach-omap2/ |
D | omap_hwmod_44xx_data.c | 89 .user = OCP_USER_SDMA, 107 .user = OCP_USER_MPU, 144 .user = OCP_USER_MPU | OCP_USER_SDMA, 162 .user = OCP_USER_MPU, 193 .user = OCP_USER_MPU | OCP_USER_SDMA, 201 .user = OCP_USER_MPU | OCP_USER_SDMA, 224 .user = OCP_USER_MPU | OCP_USER_SDMA, 232 .user = OCP_USER_MPU | OCP_USER_SDMA, 240 .user = OCP_USER_MPU | OCP_USER_SDMA, 248 .user = OCP_USER_MPU | OCP_USER_SDMA, [all …]
|
/linux-2.6.39/include/mtd/ |
D | Kbuild | 1 header-y += inftl-user.h 3 header-y += mtd-user.h 4 header-y += nftl-user.h 5 header-y += ubi-user.h
|
/linux-2.6.39/fs/proc/ |
D | stat.c | 28 cputime64_t user, nice, system, idle, iowait, irq, softirq, steal; in show_stat() local 35 user = nice = system = idle = iowait = in show_stat() 42 user = cputime64_add(user, kstat_cpu(i).cpustat.user); in show_stat() 68 (unsigned long long)cputime64_to_clock_t(user), in show_stat() 81 user = kstat_cpu(i).cpustat.user; in show_stat() 96 (unsigned long long)cputime64_to_clock_t(user), in show_stat()
|
/linux-2.6.39/Documentation/namespaces/ |
D | compatibility-list.txt | 3 This document contains the information about the problems user 28 2. Intentionally, two equal user IDs in different user namespaces 30 words, user 10 in one user namespace shouldn't have the same 31 access permissions to files, belonging to user 10 in another 35 from different user namespaces should not access the same IPC objects
|
/linux-2.6.39/kernel/ |
D | user_namespace.c | 48 ns->creator = new->user; in create_user_ns() 49 new->user = root_user; in create_user_ns() 93 if (likely(to == cred->user->user_ns)) in user_ns_map_uid() 102 if (cred->user == tmp->creator) { in user_ns_map_uid() 115 if (likely(to == cred->user->user_ns)) in user_ns_map_gid() 123 if (cred->user == tmp->creator) { in user_ns_map_gid()
|