Lines Matching refs:pid
131 pid_t pid; /* pid of nbd-client, if attached */
227 return sprintf(buf, "%d\n", nbd->pid);
231 .attr = { .name = "pid", .mode = 0444},
334 if (!nbd->pid)
1336 nbd->pid = 0;
1371 if (nbd->pid)
1382 nbd->pid = task_pid_nr(current);
1388 dev_err(disk_to_dev(nbd->disk), "device_create_file failed for pid!\n");
1667 if (nbd->pid)
1668 seq_printf(s, "recv: %d\n", nbd->pid);
2250 !nbd->pid) {