Lines Matching refs:pid
68 static void trace_note(struct blk_trace *bt, pid_t pid, int action, in trace_note() argument
100 t->pid = pid; in trace_note()
122 trace_note(bt, tsk->pid, BLK_TN_PROCESS, tsk->comm, in trace_note_tsk()
173 pid_t pid) in act_log_check() argument
179 if (bt->pid && pid != bt->pid) in act_log_check()
210 pid_t pid; in __blk_add_trace() local
225 pid = tsk->pid; in __blk_add_trace()
226 if (act_log_check(bt, what, sector, pid)) in __blk_add_trace()
268 t->pid = pid; in __blk_add_trace()
518 bt->pid = buts->pid; in do_blk_trace_setup()
575 .pid = cbuts.pid, in compat_blk_trace_setup()
1151 secs, nsec_rem, iter->ent->pid, act, rwbs); in blk_log_action_classic()
1206 trace_find_cmdline(ent->pid, cmd); in blk_log_generic()
1253 trace_find_cmdline(ent->pid, cmd); in blk_log_plug()
1262 trace_find_cmdline(ent->pid, cmd); in blk_log_unplug()
1271 trace_find_cmdline(ent->pid, cmd); in blk_log_split()
1528 static BLK_TRACE_DEVICE_ATTR(pid);
1655 ret = sprintf(buf, "%u\n", q->blk_trace->pid); in sysfs_blk_trace_attr_show()
1722 q->blk_trace->pid = value; in sysfs_blk_trace_attr_store()