Home
last modified time | relevance | path

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

12

/fs/
Ddcookies.c318 struct dcookie_user * user; in dcookie_register() local
322 user = kmalloc(sizeof(struct dcookie_user), GFP_KERNEL); in dcookie_register()
323 if (!user) in dcookie_register()
329 list_add(&user->next, &dcookie_users); in dcookie_register()
333 return user; in dcookie_register()
335 kfree(user); in dcookie_register()
336 user = NULL; in dcookie_register()
341 void dcookie_unregister(struct dcookie_user * user) in dcookie_unregister() argument
345 list_del(&user->next); in dcookie_unregister()
346 kfree(user); in dcookie_unregister()
Dopen.c643 int chown_common(const struct path *path, uid_t user, gid_t group) in chown_common() argument
652 uid = make_kuid(current_user_ns(), user); in chown_common()
657 if (user != (uid_t) -1) { in chown_common()
685 int do_fchownat(int dfd, const char __user *filename, uid_t user, gid_t group, in do_fchownat() argument
705 error = chown_common(&path, user, group); in do_fchownat()
717 SYSCALL_DEFINE5(fchownat, int, dfd, const char __user *, filename, uid_t, user, in SYSCALL_DEFINE5() argument
720 return do_fchownat(dfd, filename, user, group, flag); in SYSCALL_DEFINE5()
723 SYSCALL_DEFINE3(chown, const char __user *, filename, uid_t, user, gid_t, group) in SYSCALL_DEFINE3() argument
725 return do_fchownat(AT_FDCWD, filename, user, group, 0); in SYSCALL_DEFINE3()
728 SYSCALL_DEFINE3(lchown, const char __user *, filename, uid_t, user, gid_t, group) in SYSCALL_DEFINE3() argument
[all …]
Dpipe.c755 unsigned long account_pipe_buffers(struct user_struct *user, in account_pipe_buffers() argument
758 return atomic_long_add_return(new - old, &user->pipe_bufs); in account_pipe_buffers()
784 struct user_struct *user = get_current_user(); in alloc_pipe_info() local
795 user_bufs = account_pipe_buffers(user, 0, pipe_bufs); in alloc_pipe_info()
798 user_bufs = account_pipe_buffers(user, pipe_bufs, PIPE_MIN_DEF_BUFFERS); in alloc_pipe_info()
815 pipe->user = user; in alloc_pipe_info()
821 (void) account_pipe_buffers(user, pipe_bufs, 0); in alloc_pipe_info()
824 free_uid(user); in alloc_pipe_info()
837 (void) account_pipe_buffers(pipe->user, pipe->nr_accounted, 0); in free_pipe_info()
838 free_uid(pipe->user); in free_pipe_info()
[all …]
Deventpoll.c219 struct user_struct *user; member
811 atomic_long_dec(&ep->user->epoll_watches); in ep_remove()
863 free_uid(ep->user); in ep_free()
1020 struct user_struct *user; in ep_alloc() local
1023 user = get_current_user(); in ep_alloc()
1036 ep->user = user; in ep_alloc()
1043 free_uid(user); in ep_alloc()
1517 user_watches = atomic_long_read(&ep->user->epoll_watches); in ep_insert()
1598 atomic_long_inc(&ep->user->epoll_watches); in ep_insert()
Dinternal.h141 int do_fchownat(int dfd, const char __user *filename, uid_t user, gid_t group,
143 int chown_common(const struct path *path, uid_t user, gid_t group);
Dinit.c82 int __init init_chown(const char *filename, uid_t user, gid_t group, int flags) in init_chown() argument
93 error = chown_common(&path, user, group); in init_chown()
/fs/proc/
Dstat.c110 u64 user, nice, system, idle, iowait, irq, softirq, steal; in show_stat() local
117 user = nice = system = idle = iowait = in show_stat()
128 user += cpustat[CPUTIME_USER]; in show_stat()
150 seq_put_decimal_ull(p, "cpu ", nsec_to_clock_t(user)); in show_stat()
169 user = cpustat[CPUTIME_USER]; in show_stat()
180 seq_put_decimal_ull(p, " ", nsec_to_clock_t(user)); in show_stat()
/fs/cifs/
Dcifsencrypt.c502 __le16 *user; in calc_ntlmv2_hash() local
529 user = kmalloc(2 + (len * 2), GFP_KERNEL); in calc_ntlmv2_hash()
530 if (user == NULL) { in calc_ntlmv2_hash()
536 len = cifs_strtoUTF16(user, ses->user_name, len, nls_cp); in calc_ntlmv2_hash()
537 UniStrupr(user); in calc_ntlmv2_hash()
539 memset(user, '\0', 2); in calc_ntlmv2_hash()
543 (char *)user, 2 * len); in calc_ntlmv2_hash()
544 kfree(user); in calc_ntlmv2_hash()
DKconfig41 support for DFS (hierarchical name space), secure per-user
128 CIFS maps the name of extended attributes beginning with the user
130 servers without the user namespace prefix, but their names are
131 seen by Linux cifs clients prefaced by the user namespace prefix.
/fs/coda/
DKconfig15 *client*. You will need user level code as well, both for the
16 client and server. Servers are currently user level, i.e. they need
/fs/notify/fanotify/
Dfanotify_user.c927 struct user_struct *user; in SYSCALL_DEFINE2() local
966 user = get_current_user(); in SYSCALL_DEFINE2()
967 if (atomic_read(&user->fanotify_listeners) > FANOTIFY_DEFAULT_MAX_LISTENERS) { in SYSCALL_DEFINE2()
968 free_uid(user); in SYSCALL_DEFINE2()
981 free_uid(user); in SYSCALL_DEFINE2()
985 group->fanotify_data.user = user; in SYSCALL_DEFINE2()
987 atomic_inc(&user->fanotify_listeners); in SYSCALL_DEFINE2()
Dfanotify.c745 struct user_struct *user; in fanotify_free_group_priv() local
747 user = group->fanotify_data.user; in fanotify_free_group_priv()
748 atomic_dec(&user->fanotify_listeners); in fanotify_free_group_priv()
749 free_uid(user); in fanotify_free_group_priv()
/fs/autofs/
DKconfig20 automounter (amd), which is a pure user space daemon.
22 To use the automounter you need the user-space tools from
Ddev-ioctl.c593 struct autofs_dev_ioctl __user *user) in _autofs_dev_ioctl() argument
619 param = copy_dev_ioctl(user); in _autofs_dev_ioctl()
680 if (err >= 0 && copy_to_user(user, param, AUTOFS_DEV_IOCTL_SIZE)) in _autofs_dev_ioctl()
/fs/hugetlbfs/
Dinode.c1474 vm_flags_t acctflag, struct user_struct **user, in hugetlb_file_setup() argument
1486 *user = NULL; in hugetlb_file_setup()
1492 *user = current_user(); in hugetlb_file_setup()
1493 if (user_shm_lock(size, *user)) { in hugetlb_file_setup()
1499 *user = NULL; in hugetlb_file_setup()
1526 if (*user) { in hugetlb_file_setup()
1527 user_shm_unlock(size, *user); in hugetlb_file_setup()
1528 *user = NULL; in hugetlb_file_setup()
/fs/quota/
DKconfig11 If you say Y here, you will be able to set per user limits for disk
20 multi user systems. If unsure, say N.
/fs/nfsd/
DKconfig18 You may choose to use a user-space NFS server instead, in which
22 user space programs which can be found in the Linux nfs-utils
84 To export files using NFSv4, you need to install additional user
/fs/dlm/
DMakefile19 user.o \
/fs/notify/dnotify/
DKconfig8 that uses signals to communicate events to user-space. There exist
/fs/exfat/
DKconfig19 converting between the encoding that is used for user visible
/fs/jfs/
DKconfig48 to be made available to the user in the /proc/fs/jfs/ directory.
/fs/efivarfs/
Dfile.c76 while (!__ratelimit(&file->f_cred->user->ratelimit)) in efivarfs_file_read()
/fs/sysv/
DKconfig16 available via FTP (user: ftp) from
/fs/nfs/
DKconfig15 install the user space mount.nfs command which can be found in
84 To mount NFS servers using NFSv4, you also need to install user
/fs/pstore/
DKconfig119 bool "Log user space messages"
124 interface /dev/pmsg0 to log user space messages. On reboot

12