/fs/f2fs/ |
D | trace.c | 27 last_io.pid, "----------------", in __print_last_io() 35 static int __file_type(struct inode *inode, pid_t pid) in __file_type() argument 47 else if (pid) in __file_type() 56 pid_t pid = task_pid_nr(current); in f2fs_trace_pid() local 59 set_page_private(page, (unsigned long)pid); in f2fs_trace_pid() 66 p = radix_tree_lookup(&pids, pid); in f2fs_trace_pid() 70 radix_tree_delete(&pids, pid); in f2fs_trace_pid() 72 if (radix_tree_insert(&pids, pid, current)) { in f2fs_trace_pid() 81 pid, current->comm); in f2fs_trace_pid() 90 pid_t pid; in f2fs_trace_ios() local [all …]
|
/fs/ |
D | fcntl.c | 87 static void f_modown(struct file *filp, struct pid *pid, enum pid_type type, in f_modown() argument 91 if (force || !filp->f_owner.pid) { in f_modown() 92 put_pid(filp->f_owner.pid); in f_modown() 93 filp->f_owner.pid = get_pid(pid); in f_modown() 96 if (pid) { in f_modown() 105 void __f_setown(struct file *filp, struct pid *pid, enum pid_type type, in __f_setown() argument 109 f_modown(filp, pid, type, force); in __f_setown() 116 struct pid *pid = NULL; in f_setown() local 131 pid = find_vpid(who); in f_setown() 132 if (!pid) in f_setown() [all …]
|
/fs/proc/ |
D | array.c | 153 struct pid *pid, struct task_struct *p) in task_state() argument 190 seq_put_decimal_ull(m, "\nPid:\t", pid_nr_ns(pid, ns)); in task_state() 214 for (g = ns->level; g <= pid->level; g++) in task_state() 215 seq_put_decimal_ull(m, "\t", task_tgid_nr_ns(p, pid->numbers[g].ns)); in task_state() 217 for (g = ns->level; g <= pid->level; g++) in task_state() 218 seq_put_decimal_ull(m, "\t", task_pid_nr_ns(p, pid->numbers[g].ns)); in task_state() 220 for (g = ns->level; g <= pid->level; g++) in task_state() 221 seq_put_decimal_ull(m, "\t", task_pgrp_nr_ns(p, pid->numbers[g].ns)); in task_state() 223 for (g = ns->level; g <= pid->level; g++) in task_state() 224 seq_put_decimal_ull(m, "\t", task_session_nr_ns(p, pid->numbers[g].ns)); in task_state() [all …]
|
D | internal.h | 79 struct pid_namespace *ns, struct pid *pid, 85 struct pid *pid; member 114 static inline struct pid *proc_pid(const struct inode *inode) in proc_pid() 116 return PROC_I(inode)->pid; in proc_pid() 144 struct pid *, struct task_struct *); 146 struct pid *, struct task_struct *); 148 struct pid *, struct task_struct *); 150 struct pid *, struct task_struct *);
|
D | base.c | 385 struct pid *pid, struct task_struct *task) in proc_pid_wchan() argument 427 struct pid *pid, struct task_struct *task) in proc_pid_stack() argument 475 struct pid *pid, struct task_struct *task) in proc_pid_schedstat() argument 549 struct pid *pid, struct task_struct *task) in proc_oom_score() argument 586 struct pid *pid, struct task_struct *task) in proc_pid_limits() argument 630 struct pid *pid, struct task_struct *task) in proc_pid_syscall() argument 699 static bool has_pid_permissions(struct pid_namespace *pid, in has_pid_permissions() argument 703 if (pid->hide_pid < hide_pid_min) in has_pid_permissions() 705 if (in_group_p(pid->pid_gid)) in has_pid_permissions() 713 struct pid_namespace *pid = proc_pid_ns(inode); in proc_pid_permission() local [all …]
|
D | thread_self.c | 17 pid_t pid = task_pid_nr_ns(current, ns); in proc_thread_self_get_link() local 20 if (!pid) in proc_thread_self_get_link() 25 sprintf(name, "%u/task/%u", tgid, pid); in proc_thread_self_get_link()
|
D | inode.c | 41 put_pid(PROC_I(inode)->pid); in proc_evict_inode() 65 ei->pid = NULL; in proc_alloc_inode() 108 struct pid_namespace *pid = sb->s_fs_info; in proc_show_options() local 110 if (!gid_eq(pid->pid_gid, GLOBAL_ROOT_GID)) in proc_show_options() 111 seq_printf(seq, ",gid=%u", from_kgid_munged(&init_user_ns, pid->pid_gid)); in proc_show_options() 112 if (pid->hide_pid != HIDEPID_OFF) in proc_show_options() 113 seq_printf(seq, ",hidepid=%u", pid->hide_pid); in proc_show_options()
|
D | Kconfig | 89 /proc/pid/smaps, /proc/pid/clear_refs, /proc/pid/pagemap, 94 bool "Include /proc/<pid>/task/<tid>/children file"
|
/fs/btrfs/ |
D | locking.c | 97 if (eb->lock_nested && current->pid == eb->lock_owner) in btrfs_set_lock_blocking_read() 113 if (eb->lock_nested && current->pid == eb->lock_owner) in btrfs_set_lock_blocking_write() 136 current->pid == eb->lock_owner); in btrfs_tree_read_lock() 137 if (eb->blocking_writers && current->pid == eb->lock_owner) { in btrfs_tree_read_lock() 220 eb->lock_owner = current->pid; in btrfs_try_tree_write_lock() 237 if (eb->lock_nested && current->pid == eb->lock_owner) { in btrfs_tree_read_unlock() 259 if (eb->lock_nested && current->pid == eb->lock_owner) { in btrfs_tree_read_unlock_blocking() 282 WARN_ON(eb->lock_owner == current->pid); in btrfs_tree_lock() 293 eb->lock_owner = current->pid; in btrfs_tree_lock()
|
/fs/lockd/ |
D | svclock.c | 352 static struct nlm_lockowner *__nlmsvc_find_lockowner(struct nlm_host *host, pid_t pid) in __nlmsvc_find_lockowner() argument 356 if (lockowner->pid != pid) in __nlmsvc_find_lockowner() 363 static struct nlm_lockowner *nlmsvc_find_lockowner(struct nlm_host *host, pid_t pid) in nlmsvc_find_lockowner() argument 368 res = __nlmsvc_find_lockowner(host, pid); in nlmsvc_find_lockowner() 374 res = __nlmsvc_find_lockowner(host, pid); in nlmsvc_find_lockowner() 379 new->pid = pid; in nlmsvc_find_lockowner() 415 pid_t pid) in nlmsvc_locks_init_private() argument 417 fl->fl_owner = nlmsvc_find_lockowner(host, pid); in nlmsvc_locks_init_private() 435 call->a_args.lock.svid = ((struct nlm_lockowner *)lock->fl.fl_owner)->pid; in nlmsvc_setgrantargs() 637 conflock->svid = ((struct nlm_lockowner *)lock->fl.fl_owner)->pid; in nlmsvc_testlock()
|
D | clntproc.c | 67 static inline int nlm_pidbusy(struct nlm_host *host, uint32_t pid) in nlm_pidbusy() argument 71 if (lockowner->pid == pid) in nlm_pidbusy() 112 new->pid = __nlm_alloc_pid(host); in nlmclnt_find_lockowner() 137 (unsigned int)fl->fl_u.nfs_fl.owner->pid, in nlmclnt_setlockargs() 139 lock->svid = fl->fl_u.nfs_fl.owner->pid; in nlmclnt_setlockargs()
|
/fs/cifs/ |
D | file.c | 320 cfile->pid = current->tgid; in cifs_new_fileinfo() 632 cfile->pid); in cifs_open() 948 lock->pid = current->tgid; in cifs_lock_init() 984 if (rw_check != CIFS_LOCK_OP && current->tgid == li->pid && in cifs_find_fid_lock_conflict() 993 current->tgid == li->pid) || type == li->type)) in cifs_find_fid_lock_conflict() 1051 flock->fl_pid = conf_lock->pid; in cifs_lock_test() 1230 cur->Pid = cpu_to_le16(li->pid); in cifs_push_mandatory_locks() 1271 __u32 pid; member 1333 lck->pid = hash_lockowner(flock->fl_owner); in cifs_push_posix_locks() 1344 stored_rc = CIFSSMBPosixLock(xid, tcon, lck->netfid, lck->pid, in cifs_push_posix_locks() [all …]
|
D | smb2proto.h | 197 u64 persistent_fid, u64 volatile_fid, u32 pid, 200 u64 persistent_fid, u64 volatile_fid, u32 pid, 231 const __u32 pid, const __u64 length, const __u64 offset, 235 const __u32 pid, const __u32 num_lock,
|
D | trace.h | 488 __u32 pid, 491 TP_ARGS(cmd, mid, pid, when_sent, when_received), 495 __field(__u32, pid) 502 __entry->pid = pid; 507 __entry->cmd, __entry->mid, __entry->pid, __entry->when_sent, 515 __u32 pid, \ 518 TP_ARGS(cmd, mid, pid, when_sent, when_received))
|
/fs/autofs/ |
D | waitq.c | 149 packet->pid = wq->pid; in autofs_notify_daemon() 355 pid_t pid; in autofs_wait() local 367 pid = task_pid_nr_ns(current, ns_of_pid(sbi->oz_pgrp)); in autofs_wait() 369 if (pid == 0 || tgid == 0) in autofs_wait() 437 wq->pid = pid; in autofs_wait()
|
D | autofs_i.h | 40 #define pr_fmt(fmt) KBUILD_MODNAME ":pid:%d:%s: " fmt, current->pid, __func__ 94 pid_t pid; member 111 struct pid *oz_pgrp;
|
/fs/gfs2/ |
D | glock.h | 139 struct pid *pid; in gfs2_glock_is_locked_by_me() local 143 pid = task_pid(current); in gfs2_glock_is_locked_by_me() 147 if (gh->gh_owner_pid == pid) in gfs2_glock_is_locked_by_me()
|
/fs/jffs2/ |
D | background.c | 53 jffs2_dbg(1, "Garbage collect thread is pid %d\n", tsk->pid); in jffs2_start_garbage_collect_thread() 55 ret = tsk->pid; in jffs2_start_garbage_collect_thread() 66 jffs2_dbg(1, "Killing GC task %d\n", c->gc_task->pid); in jffs2_stop_garbage_collect_thread()
|
/fs/xfs/ |
D | kmem.c | 27 current->comm, current->pid, in kmem_alloc() 113 current->comm, current->pid, in kmem_realloc() 134 current->comm, current->pid, in kmem_zone_alloc()
|
D | xfs_pwork.c | 71 trace_xfs_pwork_init(mp, nr_threads, current->pid); in xfs_pwork_init() 74 current->pid); in xfs_pwork_init()
|
/fs/notify/fanotify/ |
D | fanotify.c | 29 if (old_fsn->inode != new_fsn->inode || old->pid != new->pid || in should_merge() 320 event->pid = get_pid(task_pid(current)); in fanotify_alloc_event() 322 event->pid = get_pid(task_tgid(current)); in fanotify_alloc_event() 482 put_pid(event->pid); in fanotify_free_event()
|
D | fanotify.h | 86 struct pid *pid; member
|
/fs/ubifs/ |
D | misc.c | 34 c->vi.ubi_num, c->vi.vol_id, current->pid, in ubifs_err() 53 c->vi.ubi_num, c->vi.vol_id, current->pid, in ubifs_warn()
|
/fs/dlm/ |
D | plock.c | 87 op->info.pid = fl->fl_pid; in do_unlock_close() 121 op->info.pid = fl->fl_pid; in dlm_posix_lock() 273 op->info.pid = fl->fl_pid; in dlm_posix_unlock() 333 op->info.pid = fl->fl_pid; in dlm_posix_get() 367 fl->fl_pid = -op->info.pid; in dlm_posix_get()
|
/fs/orangefs/ |
D | waitqueue.c | 75 op->upcall.pid = current->pid; in service_operation() 85 current->pid); in service_operation()
|