Home
last modified time | relevance | path

Searched refs:pid (Results 1 – 25 of 68) sorted by relevance

123

/fs/
Dfcntl.c198 static void f_modown(struct file *filp, struct pid *pid, enum pid_type type, in f_modown() argument
202 if (force || !filp->f_owner.pid) { in f_modown()
203 put_pid(filp->f_owner.pid); in f_modown()
204 filp->f_owner.pid = get_pid(pid); in f_modown()
212 int __f_setown(struct file *filp, struct pid *pid, enum pid_type type, in __f_setown() argument
222 f_modown(filp, pid, type, cred->uid, cred->euid, force); in __f_setown()
230 struct pid *pid; in f_setown() local
239 pid = find_vpid(who); in f_setown()
240 result = __f_setown(filp, pid, type, force); in f_setown()
253 pid_t pid; in f_getown() local
[all …]
Dioprio.c81 struct pid *pgrp; in SYSCALL_DEFINE3()
195 struct pid *pgrp; in SYSCALL_DEFINE2()
/fs/proc/
Dinternal.h47 struct pid *pid, struct task_struct *task);
49 struct pid *pid, struct task_struct *task);
51 struct pid *pid, struct task_struct *task);
53 struct pid *pid, struct task_struct *task);
68 static inline struct pid *proc_pid(struct inode *inode) in proc_pid()
70 return PROC_I(inode)->pid; in proc_pid()
Darray.c157 struct pid *pid, struct task_struct *p) in task_state() argument
185 pid_nr_ns(pid, ns), in task_state()
324 struct pid *pid, struct task_struct *task) in proc_pid_status() argument
329 task_state(m, ns, pid, task); in proc_pid_status()
346 struct pid *pid, struct task_struct *task, int whole) in do_task_stat() argument
385 struct pid *pgrp = tty_get_pgrp(sig->tty); in do_task_stat()
453 pid_nr_ns(pid, ns), in do_task_stat()
506 struct pid *pid, struct task_struct *task) in proc_tid_stat() argument
508 return do_task_stat(m, ns, pid, task, 0); in proc_tid_stat()
512 struct pid *pid, struct task_struct *task) in proc_tgid_stat() argument
[all …]
Droot.c53 if (!ei->pid) in proc_get_sb()
54 ei->pid = find_get_pid(1); in proc_get_sb()
76 if (!ei->pid) { in proc_get_sb()
78 ei->pid = get_pid(find_pid_ns(1, ns)); in proc_get_sb()
Dinode-alloc.txt8 0001xxxx-7fffxxxx pid-dir entries for pid 1-7fff
Dbase.c353 struct pid *pid, struct task_struct *task) in proc_pid_stack() argument
767 struct pid *pid; in proc_single_show() local
772 pid = proc_pid(inode); in proc_single_show()
773 task = get_pid_task(pid, PIDTYPE_PID); in proc_single_show()
777 ret = PROC_I(inode)->op.proc_show(m, ns, pid, task); in proc_single_show()
1484 ei->pid = get_task_pid(task, PIDTYPE_PID); in proc_pid_make_inode()
1485 if (!ei->pid) in proc_pid_make_inode()
2403 ei->pid = get_task_pid(task, PIDTYPE_PID); in proc_base_instantiate()
2404 if (!ei->pid) in proc_base_instantiate()
2508 struct pid *pid, struct task_struct *task) in proc_pid_personality() argument
[all …]
DKconfig67 /proc/pid/smaps, /proc/pid/clear_refs, /proc/pid/pagemap,
Dtask_nommu.c179 priv->task = get_pid_task(priv->pid, PIDTYPE_PID); in m_start()
231 priv->pid = proc_pid(inode); in maps_open()
/fs/ecryptfs/
Dmessaging.c189 struct user_namespace *user_ns, struct pid *pid) in ecryptfs_spawn_daemon() argument
202 (*daemon)->pid = get_pid(pid); in ecryptfs_spawn_daemon()
228 struct pid *pid) in ecryptfs_process_helo() argument
239 "[0x%p]\n", euid, pid, old_daemon->pid); in ecryptfs_process_helo()
244 old_daemon->pid, rc); in ecryptfs_process_helo()
248 rc = ecryptfs_spawn_daemon(&new_daemon, euid, user_ns, pid); in ecryptfs_process_helo()
252 "[0x%p]; rc = [%d]\n", __func__, euid, pid, rc); in ecryptfs_process_helo()
274 __func__, daemon->pid); in ecryptfs_exorcise_daemon()
289 if (daemon->pid) in ecryptfs_exorcise_daemon()
290 put_pid(daemon->pid); in ecryptfs_exorcise_daemon()
[all …]
Dmiscdev.c108 if (daemon->pid != task_pid(current)) { in ecryptfs_miscdev_open()
112 "instead\n", __func__, daemon->pid, daemon->euid, in ecryptfs_miscdev_open()
120 "handle open\n", __func__, daemon->pid); in ecryptfs_miscdev_open()
156 BUG_ON(daemon->pid != task_pid(current)); in ecryptfs_miscdev_release()
294 BUG_ON(task_pid(current) != daemon->pid); in ecryptfs_miscdev_read()
372 struct pid *pid, u32 seq) in ecryptfs_miscdev_response() argument
384 rc = ecryptfs_process_response(msg, euid, user_ns, pid, seq); in ecryptfs_miscdev_response()
Decryptfs_kernel.h454 struct pid *pid; member
679 struct pid *pid);
681 struct pid *pid);
683 struct user_namespace *user_ns, struct pid *pid,
744 struct user_namespace *user_ns, struct pid *pid);
/fs/jffs2/
Dbackground.c34 pid_t pid; in jffs2_start_garbage_collect_thread() local
42 pid = kernel_thread(jffs2_garbage_collect_thread, c, CLONE_FS|CLONE_FILES); in jffs2_start_garbage_collect_thread()
43 if (pid < 0) { in jffs2_start_garbage_collect_thread()
44 printk(KERN_WARNING "fork failed for JFFS2 garbage collect thread: %d\n", -pid); in jffs2_start_garbage_collect_thread()
46 ret = pid; in jffs2_start_garbage_collect_thread()
49 D1(printk(KERN_DEBUG "JFFS2: Garbage collect thread is pid %d\n", pid)); in jffs2_start_garbage_collect_thread()
61 D1(printk(KERN_DEBUG "jffs2: Killing GC task %d\n", c->gc_task->pid)); in jffs2_stop_garbage_collect_thread()
/fs/smbfs/
Dsmbiod.c154 struct pid *pid = get_pid(server->conn_pid); in smbiod_retry() local
209 if (!pid) { in smbiod_retry()
224 result = kill_pid(pid, SIGUSR1, 1); in smbiod_retry()
230 VERBOSE("signalled pid %d\n", pid_nr(pid)); in smbiod_retry()
235 put_pid(pid); in smbiod_retry()
301 VERBOSE("SMB Kernel thread starting (%d) ...\n", current->pid); in smbiod()
343 VERBOSE("SMB Kernel thread exiting (%d) ...\n", current->pid); in smbiod()
/fs/gfs2/
Dglock.h34 struct pid *pid; in gfs2_glock_is_locked_by_me() local
38 pid = task_pid(current); in gfs2_glock_is_locked_by_me()
42 if (gh->gh_owner_pid == pid) in gfs2_glock_is_locked_by_me()
/fs/autofs4/
Dautofs_i.h45 current->pid, __func__, ##args); \
54 current->pid, __func__, ##args); \
60 current->pid, __func__, ##args); \
109 pid_t pid; member
Dwaitq.c160 packet->pid = wq->pid; in autofs4_notify_daemon()
396 wq->pid = current->pid; in autofs4_wait()
/fs/ubifs/
Ddebug.h87 __func__, __LINE__, current->pid); \
108 printk(KERN_DEBUG "UBIFS DBG (pid %d): %s: " fmt "\n", current->pid, \
389 __func__, __LINE__, current->pid); \
400 current->pid, __func__, ##__VA_ARGS__); \
Ddebug.c585 "idx_lebs %d\n", current->pid, lst->empty_lebs, lst->idx_lebs); in dbg_dump_lstats()
606 "budg_dd_growth %lld, budg_idx_growth %lld\n", current->pid, in dbg_dump_budg()
663 current->pid); in dbg_dump_lprops()
675 current->pid); in dbg_dump_lprops()
683 printk(KERN_DEBUG "(pid %d) dumping LPT information\n", current->pid); in dbg_dump_lpt_info()
726 current->pid, lnum); in dbg_dump_leb()
744 current->pid, lnum); in dbg_dump_leb()
793 current->pid, cat, heap->cnt); in dbg_dump_heap()
801 printk(KERN_DEBUG "(pid %d) finish dumping heap\n", current->pid); in dbg_dump_heap()
809 printk(KERN_DEBUG "(pid %d) dumping pnode:\n", current->pid); in dbg_dump_pnode()
[all …]
Dcommit.c238 c->bgt_name, current->pid); in ubifs_bg_thread()
334 dbg_cmt("pid %d goes sleep", current->pid); in wait_for_commit()
345 dbg_cmt("commit finished, pid %d woke up", current->pid); in wait_for_commit()
/fs/lockd/
Dclntproc.c64 static inline int nlm_pidbusy(struct nlm_host *host, uint32_t pid) in nlm_pidbusy() argument
68 if (lockowner->pid == pid) in nlm_pidbusy()
109 new->pid = __nlm_alloc_pid(host); in nlm_find_lockowner()
134 (unsigned int)fl->fl_u.nfs_fl.owner->pid, in nlmclnt_setlockargs()
136 lock->svid = fl->fl_u.nfs_fl.owner->pid; in nlmclnt_setlockargs()
/fs/dlm/
Dplock.c93 op->info.pid = fl->fl_pid; in dlm_posix_lock()
225 op->info.pid = fl->fl_pid; in dlm_posix_unlock()
276 op->info.pid = fl->fl_pid; in dlm_posix_get()
310 fl->fl_pid = op->info.pid; in dlm_posix_get()
Dlock.h49 int nodeid, int pid);
/fs/autofs/
Dautofs_i.h104 struct pid *oz_pgrp;
/fs/cifs/
Dcifsglob.h339 __u32 pid; /* process id who opened file */ member
426 __u16 pid; /* process id */ member

123