Home
last modified time | relevance | path

Searched refs:tgid (Results 1 – 25 of 34) sorted by relevance

12

/linux-4.19.296/fs/proc/
Dself.c16 pid_t tgid = task_tgid_nr_ns(current, ns); in proc_self_get_link() local
26 if (!tgid) in proc_self_get_link()
32 sprintf(name, "%u", tgid); in proc_self_get_link()
Dthread_self.c16 pid_t tgid = task_tgid_nr_ns(current, ns); in proc_thread_self_get_link() local
25 sprintf(name, "%u/task/%u", tgid, pid); in proc_thread_self_get_link()
Dbase.c3083 static void proc_flush_task_mnt(struct vfsmount *mnt, pid_t pid, pid_t tgid) in proc_flush_task_mnt() argument
3098 if (pid == tgid) in proc_flush_task_mnt()
3102 name.len = snprintf(buf, sizeof(buf), "%u", tgid); in proc_flush_task_mnt()
3156 struct pid *pid, *tgid; in proc_flush_task() local
3160 tgid = task_tgid(task); in proc_flush_task()
3165 tgid->numbers[i].nr); in proc_flush_task()
3192 unsigned tgid; in proc_pid_lookup() local
3196 tgid = name_to_int(&dentry->d_name); in proc_pid_lookup()
3197 if (tgid == ~0U) in proc_pid_lookup()
3202 task = find_task_by_pid_ns(tgid, ns); in proc_pid_lookup()
[all …]
Darray.c160 pid_t ppid, tpid = 0, tgid, ngid; in task_state() local
171 tgid = task_tgid_nr_ns(p, ns); in task_state()
188 seq_put_decimal_ull(m, "\nTgid:\t", tgid); in task_state()
/linux-4.19.296/fs/cifs/
Dsmb2file.c146 if (current->tgid != li->pid) in smb2_unlock_range()
170 current->tgid, num, buf); in smb2_unlock_range()
193 cfile->fid.volatile_fid, current->tgid, in smb2_unlock_range()
227 current->tgid, num, buf); in smb2_push_mand_fdlocks()
239 current->tgid, num, buf); in smb2_push_mand_fdlocks()
Dlink.c338 io_parms.pid = current->tgid; in cifs_query_mf_symlink()
378 io_parms.pid = current->tgid; in cifs_create_mf_symlink()
439 io_parms.pid = current->tgid; in smb3_query_mf_symlink()
494 io_parms.pid = current->tgid; in smb3_create_mf_symlink()
Dfile.c82 current->comm, current->tgid); in cifs_posix_convert_flags()
318 cfile->pid = current->tgid; in cifs_new_fileinfo()
922 lock->pid = current->tgid; in cifs_lock_init()
956 if (rw_check != CIFS_LOCK_OP && current->tgid == li->pid && in cifs_find_fid_lock_conflict()
965 current->tgid == li->pid) || type == li->type)) in cifs_find_fid_lock_conflict()
1538 if (current->tgid != li->pid) in cifs_unlock_range()
1921 if (!any_available && open_file->pid != current->tgid) in find_writable_file()
2345 pid = current->tgid; in cifs_write_end()
2623 pid = current->tgid; in cifs_write_from_iter()
3195 pid = current->tgid; in cifs_send_async_read()
[all …]
Dsmb2inode.c110 fid.volatile_fid, current->tgid, in smb2_open_op_close()
Dsmb1ops.c822 netpid = current->tgid; in smb_set_file_info()
880 return CIFSSMBLock(0, tcon, fid->netfid, current->tgid, 0, 0, 0, 0, in cifs_oplock_response()
922 current->tgid, length, offset, unlock, lock, in cifs_mand_lock()
Dmisc.c252 buffer->Pid = cpu_to_le16((__u16)current->tgid); in header_assemble()
253 buffer->PidHigh = cpu_to_le16((__u16)(current->tgid >> 16)); in header_assemble()
Ddir.c403 current->tgid); in cifs_do_create()
726 io_parms.pid = current->tgid; in cifs_mknod()
Dinode.c492 io_parms.pid = current->tgid;
1245 current->tgid);
1266 current->tgid);
1303 current->tgid))
Dsmb2pdu.c118 shdr->ProcessId = cpu_to_le32((__u16)current->tgid); in smb2_hdr_assemble()
3973 current->tgid, FILE_RENAME_INFORMATION, SMB2_O_INFO_FILE, in SMB2_rename()
3991 current->tgid, FILE_DISPOSITION_INFORMATION, SMB2_O_INFO_FILE, in SMB2_rmdir()
4021 current->tgid, FILE_LINK_INFORMATION, SMB2_O_INFO_FILE, in SMB2_set_hardlink()
4057 current->tgid, FILE_BASIC_INFORMATION, SMB2_O_INFO_FILE, in SMB2_set_info()
4067 current->tgid, 0, SMB2_O_INFO_SECURITY, aclflag, in SMB2_set_acl()
4077 current->tgid, FILE_FULL_EA_INFORMATION, SMB2_O_INFO_FILE, in SMB2_set_ea()
/linux-4.19.296/fs/notify/fanotify/
Dfanotify.c28 if (old_fsn->inode == new_fsn->inode && old->tgid == new->tgid && in should_merge()
180 event->tgid = get_pid(task_tgid(current)); in fanotify_alloc_event()
277 put_pid(event->tgid); in fanotify_free_event()
Dfanotify.h22 struct pid *tgid; member
/linux-4.19.296/fs/autofs/
Dwaitq.c154 packet->tgid = wq->tgid; in autofs_notify_daemon()
360 pid_t tgid; in autofs_wait() local
372 tgid = task_tgid_nr_ns(current, ns_of_pid(sbi->oz_pgrp)); in autofs_wait()
373 if (pid == 0 || tgid == 0) in autofs_wait()
442 wq->tgid = tgid; in autofs_wait()
Dautofs_i.h96 pid_t tgid; member
/linux-4.19.296/fs/orangefs/
Dwaitqueue.c74 op->upcall.tgid = current->tgid; in service_operation()
Dupcall.h225 int tgid; member
/linux-4.19.296/include/uapi/linux/
Dauto_fs.h199 __u32 tgid; member
/linux-4.19.296/include/trace/events/
Dsched.h491 __field( pid_t, tgid )
501 __entry->tgid = task_tgid_nr(tsk);
510 __entry->pid, __entry->tgid, __entry->ngid,
/linux-4.19.296/fs/
Dlocks.c433 fl->fl_pid = current->tgid; in flock_make_lock()
493 fl->fl_pid = current->tgid; in flock64_to_posix_lock()
558 fl->fl_pid = current->tgid; in lease_init()
1303 fl.fl_pid = current->tgid; in locks_mandatory_area()
2484 lock.fl_pid = current->tgid; in locks_remove_posix()
2504 .fl_pid = current->tgid, in locks_remove_flock()
/linux-4.19.296/drivers/oprofile/
Dbuffer_sync.c313 add_event_entry(task->tgid); in add_user_ctx_switch()
/linux-4.19.296/fs/ocfs2/cluster/
Dnetdebug.c160 (unsigned long)nst->st_task->tgid, in nst_seq_show()
/linux-4.19.296/include/linux/
Dsched.h751 pid_t tgid; member
1263 return tsk->tgid; in task_tgid_nr()

12