Home
last modified time | relevance | path

Searched defs:ucounts (Results 1 – 25 of 31) sorted by relevance

12

/Linux-v5.15/kernel/
Ducount.c136 struct ucounts *ucounts; in find_ucounts() local
145 static void hlist_add_ucounts(struct ucounts *ucounts) in hlist_add_ucounts()
153 struct ucounts *get_ucounts(struct ucounts *ucounts) in get_ucounts()
165 struct ucounts *ucounts, *new; in alloc_ucounts() local
200 void put_ucounts(struct ucounts *ucounts) in put_ucounts()
228 struct ucounts *ucounts, *iter, *bad; in inc_ucount() local
248 void dec_ucount(struct ucounts *ucounts, enum ucount_type type) in dec_ucount()
258 long inc_rlimit_ucounts(struct ucounts *ucounts, enum ucount_type type, long v) in inc_rlimit_ucounts()
274 bool dec_rlimit_ucounts(struct ucounts *ucounts, enum ucount_type type, long v) in dec_rlimit_ucounts()
287 static void do_dec_rlimit_put_ucounts(struct ucounts *ucounts, in do_dec_rlimit_put_ucounts()
[all …]
Dutsname.c25 static void dec_uts_namespaces(struct ucounts *ucounts) in dec_uts_namespaces()
49 struct ucounts *ucounts; in clone_uts_ns() local
Dpid_namespace.c66 static void dec_pid_namespaces(struct ucounts *ucounts) in dec_pid_namespaces()
76 struct ucounts *ucounts; in create_pid_namespace() local
Duser_namespace.c37 static void dec_user_namespaces(struct ucounts *ucounts) in dec_user_namespaces()
74 struct ucounts *ucounts; in create_user_ns() local
185 struct ucounts *ucounts = ns->ucounts; in free_user_ns() local
/Linux-v5.15/include/linux/
Duser_namespace.h100 struct ucounts *ucounts; member
104 struct ucounts { struct
113 extern struct ucounts init_ucounts; argument
123 static inline long get_ucounts_value(struct ucounts *ucounts, enum ucount_type type) in get_ucounts_value()
Dutsname.h26 struct ucounts *ucounts; member
Dpid_namespace.h31 struct ucounts *ucounts; member
Dsignal_types.h26 struct ucounts *ucounts; member
Dtime_namespace.h21 struct ucounts *ucounts; member
Dipc_namespace.h68 struct ucounts *ucounts; member
Dfsnotify_backend.h228 struct ucounts *ucounts; member
240 struct ucounts *ucounts; member
Dcred.h146 struct ucounts *ucounts; member
Dcgroup.h852 struct ucounts *ucounts; member
/Linux-v5.15/fs/notify/inotify/
Dinotify.h36 static inline void dec_inotify_instances(struct ucounts *ucounts) in dec_inotify_instances()
41 static inline struct ucounts *inc_inotify_watches(struct ucounts *ucounts) in inc_inotify_watches()
46 static inline void dec_inotify_watches(struct ucounts *ucounts) in dec_inotify_watches()
/Linux-v5.15/kernel/cgroup/
Dnamespace.c17 static void dec_cgroup_namespaces(struct ucounts *ucounts) in dec_cgroup_namespaces()
55 struct ucounts *ucounts; in copy_cgroup_ns() local
/Linux-v5.15/ipc/
Dnamespace.c27 static void dec_ipc_namespaces(struct ucounts *ucounts) in dec_ipc_namespaces()
36 struct ucounts *ucounts; in create_ipc_ns() local
/Linux-v5.15/kernel/time/
Dnamespace.c64 static void dec_time_namespaces(struct ucounts *ucounts) in dec_time_namespaces()
82 struct ucounts *ucounts; in clone_time_ns() local
/Linux-v5.15/mm/
Dmlock.c821 int user_shm_lock(size_t size, struct ucounts *ucounts) in user_shm_lock()
849 void user_shm_unlock(size_t size, struct ucounts *ucounts) in user_shm_unlock()
Dmemfd.c300 struct ucounts *ucounts = NULL; in SYSCALL_DEFINE2() local
Dshmem.c2227 int shmem_lock(struct file *file, int lock, struct ucounts *ucounts) in shmem_lock()
4025 int shmem_lock(struct file *file, int lock, struct ucounts *ucounts) in shmem_lock()
/Linux-v5.15/net/core/
Dnet_namespace.c385 static void dec_net_namespaces(struct ucounts *ucounts) in dec_net_namespaces()
446 struct ucounts *ucounts; in copy_net_ns() local
/Linux-v5.15/fs/
Dmount.h19 struct ucounts *ucounts; member
/Linux-v5.15/include/net/
Dnet_namespace.h86 struct ucounts *ucounts; member
/Linux-v5.15/fs/notify/fanotify/
Dfanotify_user.c1018 struct ucounts *ucounts = group->fanotify_data.ucounts; in fanotify_add_new_mark() local
/Linux-v5.15/fs/hugetlbfs/
Dinode.c1449 vm_flags_t acctflag, struct ucounts **ucounts, in hugetlb_file_setup()

12