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()
176 trace_note(bt, current->pid, BLK_TN_MESSAGE, buf, n, in __trace_note_message()
179 trace_note(bt, current->pid, BLK_TN_MESSAGE, buf, n, 0); in __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
247 pid = tsk->pid; in __blk_add_trace()
248 if (act_log_check(bt, what, sector, pid)) in __blk_add_trace()
290 t->pid = pid; in __blk_add_trace()
576 bt->pid = buts->pid; in do_blk_trace_setup()
642 .pid = cbuts.pid, in compat_blk_trace_setup()
1261 secs, nsec_rem, iter->ent->pid, act, rwbs); in blk_log_action_classic()
1349 trace_find_cmdline(ent->pid, cmd); in blk_log_generic()
1396 trace_find_cmdline(ent->pid, cmd); in blk_log_plug()
1405 trace_find_cmdline(ent->pid, cmd); in blk_log_unplug()
1414 trace_find_cmdline(ent->pid, cmd); in blk_log_split()
1681 static BLK_TRACE_DEVICE_ATTR(pid);
1795 ret = sprintf(buf, "%u\n", bt->pid); in sysfs_blk_trace_attr_show()
1859 bt->pid = value; in sysfs_blk_trace_attr_store()