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.c632 static int chown_common(const struct path *path, uid_t user, gid_t group) in chown_common() argument
641 uid = make_kuid(current_user_ns(), user); in chown_common()
646 if (user != (uid_t) -1) { in chown_common()
674 int do_fchownat(int dfd, const char __user *filename, uid_t user, gid_t group, in do_fchownat() argument
694 error = chown_common(&path, user, group); in do_fchownat()
706 SYSCALL_DEFINE5(fchownat, int, dfd, const char __user *, filename, uid_t, user, in SYSCALL_DEFINE5() argument
709 return do_fchownat(dfd, filename, user, group, flag); in SYSCALL_DEFINE5()
712 SYSCALL_DEFINE3(chown, const char __user *, filename, uid_t, user, gid_t, group) in SYSCALL_DEFINE3() argument
714 return do_fchownat(AT_FDCWD, filename, user, group, 0); in SYSCALL_DEFINE3()
717 SYSCALL_DEFINE3(lchown, const char __user *, filename, uid_t, user, gid_t, group) in SYSCALL_DEFINE3() argument
[all …]
Dpipe.c626 static unsigned long account_pipe_buffers(struct user_struct *user, in account_pipe_buffers() argument
629 return atomic_long_add_return(new - old, &user->pipe_bufs); in account_pipe_buffers()
655 struct user_struct *user = get_current_user(); in alloc_pipe_info() local
666 user_bufs = account_pipe_buffers(user, 0, pipe_bufs); in alloc_pipe_info()
669 user_bufs = account_pipe_buffers(user, pipe_bufs, 1); in alloc_pipe_info()
683 pipe->user = user; in alloc_pipe_info()
689 (void) account_pipe_buffers(user, pipe_bufs, 0); in alloc_pipe_info()
692 free_uid(user); in alloc_pipe_info()
700 (void) account_pipe_buffers(pipe->user, pipe->buffers, 0); in free_pipe_info()
701 free_uid(pipe->user); in free_pipe_info()
[all …]
Dio_uring.c240 struct user_struct *user; member
3054 unsigned long inflight = ctx->user->unix_inflight + nr; in __io_sqe_files_scm()
3073 fpl->user = get_uid(ctx->user); in __io_sqe_files_scm()
3076 unix_inflight(fpl->user, fpl->fp[i]); in __io_sqe_files_scm()
3266 static void io_unaccount_mem(struct user_struct *user, unsigned long nr_pages) in io_unaccount_mem() argument
3268 atomic_long_sub(nr_pages, &user->locked_vm); in io_unaccount_mem()
3271 static int io_account_mem(struct user_struct *user, unsigned long nr_pages) in io_account_mem() argument
3279 cur_pages = atomic_long_read(&user->locked_vm); in io_account_mem()
3283 } while (atomic_long_cmpxchg(&user->locked_vm, cur_pages, in io_account_mem()
3364 io_unaccount_mem(ctx->user, imu->nr_bvecs); in io_sqe_buffer_unregister()
[all …]
Deventpoll.c217 struct user_struct *user; member
808 atomic_long_dec(&ep->user->epoll_watches); in ep_remove()
860 free_uid(ep->user); in ep_free()
1017 struct user_struct *user; in ep_alloc() local
1020 user = get_current_user(); in ep_alloc()
1033 ep->user = user; in ep_alloc()
1040 free_uid(user); in ep_alloc()
1508 user_watches = atomic_long_read(&ep->user->epoll_watches); in ep_insert()
1589 atomic_long_inc(&ep->user->epoll_watches); in ep_insert()
Dinternal.h129 int do_fchownat(int dfd, const char __user *filename, uid_t user, gid_t group,
/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()
125 user += kcs->cpustat[CPUTIME_USER]; in show_stat()
147 seq_put_decimal_ull(p, "cpu ", nsec_to_clock_t(user)); in show_stat()
163 user = kcs->cpustat[CPUTIME_USER]; in show_stat()
174 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/notify/fanotify/
Dfanotify.c466 struct user_struct *user; in fanotify_free_group_priv() local
468 user = group->fanotify_data.user; in fanotify_free_group_priv()
469 atomic_dec(&user->fanotify_listeners); in fanotify_free_group_priv()
470 free_uid(user); in fanotify_free_group_priv()
Dfanotify_user.c770 struct user_struct *user; in SYSCALL_DEFINE2() local
802 user = get_current_user(); in SYSCALL_DEFINE2()
803 if (atomic_read(&user->fanotify_listeners) > FANOTIFY_DEFAULT_MAX_LISTENERS) { in SYSCALL_DEFINE2()
804 free_uid(user); in SYSCALL_DEFINE2()
817 free_uid(user); in SYSCALL_DEFINE2()
821 group->fanotify_data.user = user; in SYSCALL_DEFINE2()
823 atomic_inc(&user->fanotify_listeners); in SYSCALL_DEFINE2()
/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/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.c589 struct autofs_dev_ioctl __user *user) in _autofs_dev_ioctl() argument
615 param = copy_dev_ioctl(user); in _autofs_dev_ioctl()
676 if (err >= 0 && copy_to_user(user, param, AUTOFS_DEV_IOCTL_SIZE)) in _autofs_dev_ioctl()
/fs/hugetlbfs/
Dinode.c1368 vm_flags_t acctflag, struct user_struct **user, in hugetlb_file_setup() argument
1380 *user = NULL; in hugetlb_file_setup()
1386 *user = current_user(); in hugetlb_file_setup()
1387 if (user_shm_lock(size, *user)) { in hugetlb_file_setup()
1393 *user = NULL; in hugetlb_file_setup()
1420 if (*user) { in hugetlb_file_setup()
1421 user_shm_unlock(size, *user); in hugetlb_file_setup()
1422 *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
83 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/sdcardfs/
Dpackagelist.c124 static appid_t __is_excluded(const struct qstr *app_name, userid_t user) in __is_excluded() argument
131 if (atomic_read(&hash_cur->value) == user && in __is_excluded()
141 appid_t is_excluded(const char *key, userid_t user) in is_excluded() argument
145 return __is_excluded(&q, user); in is_excluded()
/fs/pstore/
DKconfig119 bool "Log user space messages"
123 interface /dev/pmsg0 to log user space messages. On reboot
/fs/jfs/
DKconfig48 to be made available to the user in the /proc/fs/jfs/ directory.
/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/efivarfs/
Dfile.c75 while (!__ratelimit(&file->f_cred->user->ratelimit)) { in efivarfs_file_read()
/fs/sysv/
DKconfig16 available via FTP (user: ftp) from

12