/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 | 152 struct pid *pid, struct task_struct *p) in task_state() argument 189 seq_put_decimal_ull(m, "\nPid:\t", pid_nr_ns(pid, ns)); in task_state() 213 for (g = ns->level; g <= pid->level; g++) in task_state() 214 seq_put_decimal_ull(m, "\t", task_tgid_nr_ns(p, pid->numbers[g].ns)); in task_state() 216 for (g = ns->level; g <= pid->level; g++) in task_state() 217 seq_put_decimal_ull(m, "\t", task_pid_nr_ns(p, pid->numbers[g].ns)); in task_state() 219 for (g = ns->level; g <= pid->level; g++) in task_state() 220 seq_put_decimal_ull(m, "\t", task_pgrp_nr_ns(p, pid->numbers[g].ns)); in task_state() 222 for (g = ns->level; g <= pid->level; g++) in task_state() 223 seq_put_decimal_ull(m, "\t", task_session_nr_ns(p, pid->numbers[g].ns)); in task_state() [all …]
|
D | internal.h | 88 struct pid_namespace *ns, struct pid *pid, 94 struct pid *pid; member 123 static inline struct pid *proc_pid(const struct inode *inode) in proc_pid() 125 return PROC_I(inode)->pid; in proc_pid() 153 struct pid *, struct task_struct *); 155 struct pid *, struct task_struct *); 157 struct pid *, struct task_struct *); 159 struct pid *, struct task_struct *);
|
D | base.c | 387 struct pid *pid, struct task_struct *task) in proc_pid_wchan() argument 429 struct pid *pid, struct task_struct *task) in proc_pid_stack() argument 477 struct pid *pid, struct task_struct *task) in proc_pid_schedstat() argument 551 struct pid *pid, struct task_struct *task) in proc_oom_score() argument 597 struct pid *pid, struct task_struct *task) in proc_pid_limits() argument 641 struct pid *pid, struct task_struct *task) in proc_pid_syscall() argument 768 struct pid *pid = proc_pid(inode); in proc_single_show() local 772 task = get_pid_task(pid, PIDTYPE_PID); in proc_single_show() 776 ret = PROC_I(inode)->op.proc_show(m, ns, pid, task); in proc_single_show() 1874 struct pid *pid = ei->pid; in proc_pid_evict_inode() 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 | 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 | 204 if (eb->lock_recursed && current->pid == eb->lock_owner) in btrfs_set_lock_blocking_read() 228 if (eb->lock_recursed && current->pid == eb->lock_owner) in btrfs_set_lock_blocking_write() 257 current->pid == eb->lock_owner); in __btrfs_tree_read_lock() 259 if (current->pid == eb->lock_owner) { in __btrfs_tree_read_lock() 355 eb->lock_owner = current->pid; in btrfs_try_tree_write_lock() 375 if (eb->lock_recursed && current->pid == eb->lock_owner) { in btrfs_tree_read_unlock() 401 if (eb->lock_recursed && current->pid == eb->lock_owner) { in btrfs_tree_read_unlock_blocking() 427 WARN_ON(eb->lock_owner == current->pid); in __btrfs_tree_lock() 440 eb->lock_owner = current->pid; in __btrfs_tree_lock()
|
/fs/dlm/ |
D | plock.c | 92 op->info.pid = info->pid; in do_unlock_close() 122 op->info.pid = fl->fl_pid; in dlm_posix_lock() 165 (unsigned long long)number, op->info.pid); in dlm_posix_lock() 283 op->info.pid = fl->fl_pid; in dlm_posix_unlock() 343 op->info.pid = fl->fl_pid; in dlm_posix_get() 377 fl->fl_pid = op->info.pid; in dlm_posix_get() 458 iter->info.pid == info.pid && in dev_write()
|
/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() 399 pid_t pid) in nlmsvc_locks_init_private() argument 401 fl->fl_owner = nlmsvc_find_lockowner(host, pid); in nlmsvc_locks_init_private() 417 call->a_args.lock.svid = ((struct nlm_lockowner *)lock->fl.fl_owner)->pid; in nlmsvc_setgrantargs()
|
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 | 319 cfile->pid = current->tgid; in cifs_new_fileinfo() 633 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() 1224 cur->Pid = cpu_to_le16(li->pid); in cifs_push_mandatory_locks() 1265 __u32 pid; member 1327 lck->pid = hash_lockowner(flock->fl_owner); in cifs_push_posix_locks() 1338 stored_rc = CIFSSMBPosixLock(xid, tcon, lck->netfid, lck->pid, in cifs_push_posix_locks() [all …]
|
D | trace.h | 491 __u32 pid, 494 TP_ARGS(cmd, mid, pid, when_sent, when_received), 498 __field(__u32, pid) 505 __entry->pid = pid; 510 __entry->cmd, __entry->mid, __entry->pid, __entry->when_sent, 518 __u32 pid, \ 521 TP_ARGS(cmd, mid, pid, when_sent, when_received))
|
D | smb2proto.h | 226 u64 persistent_fid, u64 volatile_fid, u32 pid, 231 u64 persistent_fid, u64 volatile_fid, u32 pid, 261 const __u32 pid, const __u64 length, const __u64 offset, 265 const __u32 pid, const __u32 num_lock,
|
D | link.c | 338 io_parms.pid = current->tgid; in cifs_query_mf_symlink() 374 io_parms.pid = current->tgid; in cifs_create_mf_symlink() 433 io_parms.pid = current->tgid; in smb3_query_mf_symlink() 484 io_parms.pid = current->tgid; in smb3_create_mf_symlink()
|
/fs/autofs/ |
D | waitq.c | 150 packet->pid = wq->pid; in autofs_notify_daemon() 356 pid_t pid; in autofs_wait() local 368 pid = task_pid_nr_ns(current, ns_of_pid(sbi->oz_pgrp)); in autofs_wait() 370 if (pid == 0 || tgid == 0) in autofs_wait() 438 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/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/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/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()
|
D | debug.c | 567 current->pid, lst->empty_lebs, lst->idx_lebs); in ubifs_dump_lstats() 586 current->pid, bi->data_growth + bi->dd_growth, in ubifs_dump_budg() 740 pr_err("(pid %d) start dumping LEB properties\n", current->pid); in ubifs_dump_lprops() 753 pr_err("(pid %d) finish dumping LEB properties\n", current->pid); in ubifs_dump_lprops() 761 pr_err("(pid %d) dumping LPT information\n", current->pid); in ubifs_dump_lpt_info() 800 current->pid, sleb->lnum, offs); in ubifs_dump_sleb() 816 pr_err("(pid %d) start dumping LEB %d\n", current->pid, lnum); in ubifs_dump_leb() 840 pr_err("(pid %d) finish dumping LEB %d\n", current->pid, lnum); in ubifs_dump_leb() 892 current->pid, cat, heap->cnt); in ubifs_dump_heap() 900 pr_err("(pid %d) finish dumping heap\n", current->pid); in ubifs_dump_heap() [all …]
|
/fs/notify/fanotify/ |
D | fanotify.h | 144 struct pid *pid; member 152 event->pid = NULL; in fanotify_init_event()
|
D | fanotify.c | 101 old->type != new->type || old->pid != new->pid) in fanotify_should_merge() 612 event->pid = get_pid(task_pid(current)); in fanotify_alloc_event() 614 event->pid = get_pid(task_tgid(current)); in fanotify_alloc_event() 783 put_pid(event->pid); in fanotify_free_event()
|
/fs/xfs/ |
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/orangefs/ |
D | waitqueue.c | 75 op->upcall.pid = current->pid; in service_operation() 85 current->pid); in service_operation()
|
/fs/ceph/ |
D | locks.c | 105 req->r_args.filelock_change.pid = cpu_to_le64((u64)fl->fl_pid); in ceph_lock_message() 115 fl->fl_pid = -le64_to_cpu(req->r_reply_info.filelock_reply->pid); in ceph_lock_message() 386 cephlock->pid = cpu_to_le64((u64)lock->fl_pid); in lock_to_ceph_filelock()
|