Searched defs:pid (Results 1 - 23 of 23) sorted by relevance

/fs/proc/
H A Dthread_self.c15 pid_t pid = task_pid_nr_ns(current, ns); local
17 if (!pid)
19 sprintf(tmp, "%d/task/%d", tgid, pid);
27 pid_t pid = task_pid_nr_ns(current, ns); local
29 if (pid) {
34 sprintf(name, "%d/task/%d", tgid, pid);
H A Droot.c51 static int proc_parse_options(char *options, struct pid_namespace *pid) argument
71 pid->pid_gid = make_kgid(current_user_ns(), option);
80 pid->hide_pid = option;
94 struct pid_namespace *pid = sb->s_fs_info; local
97 return !proc_parse_options(data, pid);
118 /* Does the mounter have privilege over the pid namespace? */
225 * <pid> directories. Thus we don't use the generic
H A Dinode.c42 put_pid(PROC_I(inode)->pid);
70 ei->pid = NULL;
113 struct pid_namespace *pid = sb->s_fs_info; local
115 if (!gid_eq(pid->pid_gid, GLOBAL_ROOT_GID))
116 seq_printf(seq, ",gid=%u", from_kgid_munged(&init_user_ns, pid->pid_gid));
117 if (pid->hide_pid != 0)
118 seq_printf(seq, ",hidepid=%u", pid->hide_pid);
H A Dinternal.h56 struct pid_namespace *ns, struct pid *pid,
61 struct pid *pid; member in struct:proc_inode
89 static inline struct pid *proc_pid(struct inode *inode)
91 return PROC_I(inode)->pid;
150 struct pid *, struct task_struct *);
152 struct pid *, struct task_struct *);
154 struct pid *, struct task_struct *);
156 struct pid *, struc
[all...]
H A Darray.c33 * and /proc/<pid>/cpu extension
155 struct pid *pid, struct task_struct *p)
186 pid_nr_ns(pid, ns),
351 struct pid *pid, struct task_struct *task)
356 task_state(m, ns, pid, task);
372 struct pid *pid, struct task_struct *task, int whole)
415 struct pid *pgr
154 task_state(struct seq_file *m, struct pid_namespace *ns, struct pid *pid, struct task_struct *p) argument
350 proc_pid_status(struct seq_file *m, struct pid_namespace *ns, struct pid *pid, struct task_struct *task) argument
371 do_task_stat(struct seq_file *m, struct pid_namespace *ns, struct pid *pid, struct task_struct *task, int whole) argument
539 proc_tid_stat(struct seq_file *m, struct pid_namespace *ns, struct pid *pid, struct task_struct *task) argument
545 proc_tgid_stat(struct seq_file *m, struct pid_namespace *ns, struct pid *pid, struct task_struct *task) argument
551 proc_pid_statm(struct seq_file *m, struct pid_namespace *ns, struct pid *pid, struct task_struct *task) argument
584 struct pid *pid = NULL; local
639 pid_t pid; local
652 struct pid *pid; local
[all...]
H A Dbase.c200 struct pid *pid, struct task_struct *task)
212 struct pid *pid, struct task_struct *task)
234 struct pid *pid, struct task_struct *task)
273 struct pid *pid, struct task_struct *task)
310 struct pid *pid, struc
199 proc_pid_cmdline(struct seq_file *m, struct pid_namespace *ns, struct pid *pid, struct task_struct *task) argument
211 proc_pid_auxv(struct seq_file *m, struct pid_namespace *ns, struct pid *pid, struct task_struct *task) argument
233 proc_pid_wchan(struct seq_file *m, struct pid_namespace *ns, struct pid *pid, struct task_struct *task) argument
272 proc_pid_stack(struct seq_file *m, struct pid_namespace *ns, struct pid *pid, struct task_struct *task) argument
309 proc_pid_schedstat(struct seq_file *m, struct pid_namespace *ns, struct pid *pid, struct task_struct *task) argument
379 proc_oom_score(struct seq_file *m, struct pid_namespace *ns, struct pid *pid, struct task_struct *task) argument
418 proc_pid_limits(struct seq_file *m, struct pid_namespace *ns, struct pid *pid, struct task_struct *task) argument
460 proc_pid_syscall(struct seq_file *m, struct pid_namespace *ns, struct pid *pid, struct task_struct *task) argument
526 has_pid_permissions(struct pid_namespace *pid, struct task_struct *task, int hide_pid_min) argument
540 struct pid_namespace *pid = inode->i_sb->s_fs_info; local
576 struct pid *pid; local
1494 struct pid_namespace *pid = dentry->d_sb->s_fs_info; local
1947 struct pid *pid; member in struct:timers_private
2375 proc_tid_io_accounting(struct seq_file *m, struct pid_namespace *ns, struct pid *pid, struct task_struct *task) argument
2381 proc_tgid_io_accounting(struct seq_file *m, struct pid_namespace *ns, struct pid *pid, struct task_struct *task) argument
2469 proc_pid_personality(struct seq_file *m, struct pid_namespace *ns, struct pid *pid, struct task_struct *task) argument
2606 proc_flush_task_mnt(struct vfsmount *mnt, pid_t pid, pid_t tgid) argument
2676 struct pid *pid, *tgid; local
2753 struct pid *pid; local
3016 first_tid(struct pid *pid, int tid, loff_t f_pos, struct pid_namespace *ns) argument
[all...]
/fs/exofs/
H A Dsys.c149 * instance (uniquely identified by osdname,pid tuple).
157 uint64_t pid = sbi->one_comp.obj.partition; local
163 &exofs_kset->kobj, "%s_%llx", dt_dev->osdname, pid);
166 "uuid-%s_%llx => %d\n", dt_dev->osdname, pid, retval);
H A Dsuper.c56 uint64_t pid; member in struct:exofs_mountopt
72 {Opt_pid, "pid=%u"},
113 opts->pid = simple_strtoull(str, NULL, 0);
114 if (opts->pid < EXOFS_MIN_PID) {
135 EXOFS_ERR(" -o pid=pid_no_to_use\n");
415 struct osd_dev *od, u64 pid)
419 printk(KERN_NOTICE "exofs: %s %s osd_name-%s pid-0x%llx\n",
420 msg, dev_path ?: "", odi->osdname, _LLU(pid));
629 * "dev[0].osdname"_"pid"
745 sbi->one_comp.obj.partition = opts->pid;
414 _exofs_print_device(const char *msg, const char *dev_path, struct osd_dev *od, u64 pid) argument
[all...]
/fs/autofs4/
H A Dwaitq.c161 packet->pid = wq->pid;
350 pid_t pid; local
360 * Zero means failure: we are in an unrelated pid namespace.
362 pid = task_pid_nr_ns(current, ns_of_pid(sbi->oz_pgrp));
364 if (pid == 0 || tgid == 0)
432 wq->pid = pid;
H A Dautofs_i.h43 pr_debug("pid %d: %s: " fmt "\n", \
44 current->pid, __func__, ##__VA_ARGS__)
47 printk(KERN_WARNING "pid %d: %s: " fmt "\n", \
48 current->pid, __func__, ##__VA_ARGS__)
51 printk(KERN_ERR "pid %d: %s: " fmt "\n", \
52 current->pid, __func__, ##__VA_ARGS__)
98 pid_t pid; member in struct:autofs_wait_queue
111 struct pid *oz_pgrp;
/fs/
H A Dfcntl.c83 static void f_modown(struct file *filp, struct pid *pid, enum pid_type type, argument
87 if (force || !filp->f_owner.pid) {
88 put_pid(filp->f_owner.pid);
89 filp->f_owner.pid = get_pid(pid);
92 if (pid) {
101 void __f_setown(struct file *filp, struct pid *pid, enum pid_type type, argument
105 f_modown(filp, pid, typ
112 struct pid *pid; local
133 pid_t pid; local
146 struct pid *pid; local
494 struct pid *pid; local
529 struct pid *pid; local
[all...]
/fs/gfs2/
H A Dglock.h141 struct pid *pid; local
145 pid = task_pid(current);
149 if (gh->gh_owner_pid == pid)
/fs/jbd/
H A Dtransaction.c1367 pid_t pid; local
1411 pid = current->pid;
1412 if (handle->h_sync && journal->j_last_sync_writer != pid) {
1415 journal->j_last_sync_writer = pid;
/fs/lockd/
H A Dclntproc.c65 static inline int nlm_pidbusy(struct nlm_host *host, uint32_t pid) argument
69 if (lockowner->pid == pid)
110 new->pid = __nlm_alloc_pid(host);
135 (unsigned int)fl->fl_u.nfs_fl.owner->pid,
137 lock->svid = fl->fl_u.nfs_fl.owner->pid;
637 printk(KERN_WARNING "lockd: failed to reclaim lock for pid %d "
/fs/jbd2/
H A Dtransaction.c1531 pid_t pid; local
1588 pid = current->pid;
1589 if (handle->h_sync && journal->j_last_sync_writer != pid &&
1593 journal->j_last_sync_writer = pid;
/fs/cifs/
H A Dsmb2pdu.c1657 req->hdr.ProcessId = cpu_to_le32(io_parms->pid);
1775 io_parms.pid = rdata->pid;
1948 req->hdr.ProcessId = cpu_to_le32(wdata->cfile->pid);
2030 req->hdr.ProcessId = cpu_to_le32(io_parms->pid);
2234 u64 persistent_fid, u64 volatile_fid, u32 pid, int info_class,
2264 req->hdr.ProcessId = cpu_to_le32(pid);
2367 u64 volatile_fid, u32 pid, __le64 *eof, bool is_falloc)
2380 pid, FILE_ALLOCATION_INFORMATION, 1, &data, &size);
2383 pid, FILE_END_OF_FILE_INFORMATIO
2233 send_set_info(const unsigned int xid, struct cifs_tcon *tcon, u64 persistent_fid, u64 volatile_fid, u32 pid, int info_class, unsigned int num, void **data, unsigned int *size) argument
2366 SMB2_set_eof(const unsigned int xid, struct cifs_tcon *tcon, u64 persistent_fid, u64 volatile_fid, u32 pid, __le64 *eof, bool is_falloc) argument
2572 smb2_lockv(const unsigned int xid, struct cifs_tcon *tcon, const __u64 persist_fid, const __u64 volatile_fid, const __u32 pid, const __u32 num_lock, struct smb2_lock_element *buf) argument
2614 SMB2_lock(const unsigned int xid, struct cifs_tcon *tcon, const __u64 persist_fid, const __u64 volatile_fid, const __u32 pid, const __u64 length, const __u64 offset, const __u32 lock_flags, const bool wait) argument
[all...]
H A Dcifssmb.c1608 smb->hdr.Pid = cpu_to_le16((__u16)rdata->pid);
1609 smb->hdr.PidHigh = cpu_to_le16((__u16)(rdata->pid >> 16));
1656 __u32 pid = io_parms->pid; local
1678 pSMB->hdr.Pid = cpu_to_le16((__u16)pid);
1679 pSMB->hdr.PidHigh = cpu_to_le16((__u16)(pid >> 16));
1765 __u32 pid = io_parms->pid; local
1792 pSMB->hdr.Pid = cpu_to_le16((__u16)pid);
1793 pSMB->hdr.PidHigh = cpu_to_le16((__u16)(pid >> 1
2169 __u32 pid = io_parms->pid; local
[all...]
H A Dfile.c81 cifs_dbg(FYI, "Application %s pid %d has incorrectly set O_EXCL flag but not O_CREAT on file open. Ignoring O_EXCL\n",
301 cfile->pid = current->tgid;
551 cfile->pid);
814 lock->pid = current->tgid;
848 if (rw_check != CIFS_LOCK_OP && current->tgid == li->pid &&
857 current->tgid == li->pid) || type == li->type))
909 flock->fl_pid = conf_lock->pid;
1081 cur->Pid = cpu_to_le16(li->pid);
1121 __u32 pid; member in struct:lock_to_push
1183 lck->pid
1637 cifs_write(struct cifsFileInfo *open_file, __u32 pid, const char *write_data, size_t write_size, loff_t *offset) argument
2205 __u32 pid; local
2477 pid_t pid; local
2933 pid_t pid; local
3155 __u32 pid; local
3467 pid_t pid; local
[all...]
H A Dcifsglob.h486 bool rwpidforward:1; /* pid forward for read/write operations */
969 __u32 pid; member in struct:cifsLockInfo
1026 __u32 pid; /* process id who opened file */ member in struct:cifsFileInfo
1047 __u32 pid; member in struct:cifs_io_parms
1065 pid_t pid; member in struct:cifs_readdata
1090 pid_t pid; member in struct:cifs_writedata
1253 __u32 pid; /* process id */ member in struct:mid_q_entry
H A Dcifspdu.h1142 __le32 pid; member in struct:cifs_posix_lock
/fs/fuse/
H A Dfile.c2149 fl->fl_pid = ffl->pid;
2160 const struct file_lock *fl, int opcode, pid_t pid,
2173 arg->lk.pid = pid;
2214 pid_t pid = fl->fl_type != F_UNLCK ? current->tgid : 0; local
2230 fuse_lk_fill(req, file, fl, opcode, pid, flock);
2159 fuse_lk_fill(struct fuse_req *req, struct file *file, const struct file_lock *fl, int opcode, pid_t pid, int flock) argument
/fs/ocfs2/cluster/
H A Dheartbeat.c1876 pid_t pid = 0; local
1880 pid = task_pid_nr(reg->hr_task);
1883 if (!pid)
1886 return sprintf(page, "%u\n", pid);
1929 .ca_name = "pid",
/fs/dlm/
H A Dlock.c91 static void do_purge(struct dlm_ls *ls, int nodeid, int pid);
2917 lkb->lkb_ownpid = (int) current->pid;
6182 /* pid of 0 means purge all orphans */
6184 static void do_purge(struct dlm_ls *ls, int nodeid, int pid) argument
6190 if (pid && lkb->lkb_ownpid != pid)
6199 static int send_purge(struct dlm_ls *ls, int nodeid, int pid) argument
6210 ms->m_pid = pid;
6216 int nodeid, int pid)
6221 error = send_purge(ls, nodeid, pid);
6215 dlm_user_purge(struct dlm_ls *ls, struct dlm_user_proc *proc, int nodeid, int pid) argument
[all...]

Completed in 891 milliseconds