Lines Matching refs:pid
69 static void trace_note(struct blk_trace *bt, pid_t pid, int action, in trace_note() argument
102 t->pid = pid; in trace_note()
126 trace_note(bt, tsk->pid, BLK_TN_PROCESS, tsk->comm, in trace_note_tsk()
180 trace_note(bt, current->pid, BLK_TN_MESSAGE, buf, n, cgid); in __blk_trace_note_message()
186 pid_t pid) in act_log_check() argument
192 if (bt->pid && pid != bt->pid) in act_log_check()
226 pid_t pid; in __blk_add_trace() local
248 pid = tsk->pid; in __blk_add_trace()
249 if (act_log_check(bt, what, sector, pid)) in __blk_add_trace()
291 t->pid = pid; in __blk_add_trace()
608 bt->pid = buts->pid; in do_blk_trace_setup()
674 .pid = cbuts.pid, in compat_blk_trace_setup()
1262 secs, nsec_rem, iter->ent->pid, act, rwbs); in blk_log_action_classic()
1350 trace_find_cmdline(ent->pid, cmd); in blk_log_generic()
1397 trace_find_cmdline(ent->pid, cmd); in blk_log_plug()
1406 trace_find_cmdline(ent->pid, cmd); in blk_log_unplug()
1415 trace_find_cmdline(ent->pid, cmd); in blk_log_split()
1676 static BLK_TRACE_DEVICE_ATTR(pid);
1790 ret = sprintf(buf, "%u\n", bt->pid); in sysfs_blk_trace_attr_show()
1854 bt->pid = value; in sysfs_blk_trace_attr_store()