Lines Matching refs:pid
66 static void trace_note(struct blk_trace *bt, pid_t pid, int action, in trace_note() argument
100 t->pid = pid; in trace_note()
124 trace_note(bt, tsk->pid, BLK_TN_PROCESS, tsk->comm, in trace_note_tsk()
184 pid_t pid) in act_log_check() argument
190 if (bt->pid && pid != bt->pid) in act_log_check()
223 pid_t pid; in __blk_add_trace() local
244 pid = tsk->pid; in __blk_add_trace()
245 if (act_log_check(bt, what, sector, pid)) in __blk_add_trace()
287 t->pid = pid; in __blk_add_trace()
543 bt->pid = buts->pid; in do_blk_trace_setup()
614 .pid = cbuts.pid, in compat_blk_trace_setup()
1249 secs, nsec_rem, iter->ent->pid, act, rwbs); in blk_log_action_classic()
1323 trace_find_cmdline(ent->pid, cmd); in blk_log_generic()
1370 trace_find_cmdline(ent->pid, cmd); in blk_log_plug()
1379 trace_find_cmdline(ent->pid, cmd); in blk_log_unplug()
1388 trace_find_cmdline(ent->pid, cmd); in blk_log_split()
1647 static BLK_TRACE_DEVICE_ATTR(pid);
1775 ret = sprintf(buf, "%u\n", q->blk_trace->pid); in sysfs_blk_trace_attr_show()
1846 q->blk_trace->pid = value; in sysfs_blk_trace_attr_store()