/fs/cifs/ |
D | trace.h | 19 __u32 tid, 24 TP_ARGS(xid, fid, tid, sesid, offset, len, rc), 28 __field(__u32, tid) 37 __entry->tid = tid; 44 __entry->xid, __entry->sesid, __entry->tid, __entry->fid, 52 __u32 tid, \ 57 TP_ARGS(xid, fid, tid, sesid, offset, len, rc)) 70 __u32 tid, 74 TP_ARGS(xid, fid, tid, sesid, offset, len), 78 __field(__u32, tid) [all …]
|
D | smb2inode.c | 167 trace_smb3_query_info_compound_enter(xid, ses->Suid, tcon->tid, in smb2_compound_op() 202 trace_smb3_posix_query_info_compound_enter(xid, ses->Suid, tcon->tid, full_path); in smb2_compound_op() 205 trace_smb3_delete_enter(xid, ses->Suid, tcon->tid, full_path); in smb2_compound_op() 212 trace_smb3_mkdir_enter(xid, ses->Suid, tcon->tid, full_path); in smb2_compound_op() 230 trace_smb3_rmdir_enter(xid, ses->Suid, tcon->tid, full_path); in smb2_compound_op() 265 trace_smb3_set_eof_enter(xid, ses->Suid, tcon->tid, full_path); in smb2_compound_op() 298 trace_smb3_set_info_compound_enter(xid, ses->Suid, tcon->tid, in smb2_compound_op() 338 trace_smb3_rename_enter(xid, ses->Suid, tcon->tid, full_path); in smb2_compound_op() 365 trace_smb3_hardlink_enter(xid, ses->Suid, tcon->tid, full_path); in smb2_compound_op() 428 tcon->tid, rc); in smb2_compound_op() [all …]
|
D | smb2pdu.c | 131 shdr->TreeId = tcon->tid; in smb2_hdr_assemble() 1746 tcon->tid = 0; in SMB2_tcon() 1791 trace_smb3_tcon(xid, tcon->tid, ses->Suid, tree, rc); in SMB2_tcon() 1823 tcon->tid = rsp->sync_hdr.TreeId; in SMB2_tcon() 2630 trace_smb3_posix_mkdir_enter(xid, tcon->tid, ses->Suid, CREATE_NOT_FILE, in smb311_posix_mkdir() 2637 trace_smb3_posix_mkdir_err(xid, tcon->tid, ses->Suid, in smb311_posix_mkdir() 2644 trace_smb3_posix_mkdir_done(xid, rsp->PersistentFileId, tcon->tid, in smb311_posix_mkdir() 2890 trace_smb3_open_enter(xid, tcon->tid, tcon->ses->Suid, in SMB2_open() 2906 trace_smb3_open_err(xid, tcon->tid, ses->Suid, in SMB2_open() 2915 trace_smb3_open_done(xid, rsp->PersistentFileId, tcon->tid, in SMB2_open() [all …]
|
D | smb2transport.c | 176 smb2_find_smb_sess_tcon_unlocked(struct cifs_ses *ses, __u32 tid) in smb2_find_smb_sess_tcon_unlocked() argument 181 if (tcon->tid != tid) in smb2_find_smb_sess_tcon_unlocked() 196 smb2_find_smb_tcon(struct TCP_Server_Info *server, __u64 ses_id, __u32 tid) in smb2_find_smb_tcon() argument 207 tcon = smb2_find_smb_sess_tcon_unlocked(ses, tid); in smb2_find_smb_tcon()
|
/fs/jfs/ |
D | namei.c | 66 tid_t tid; /* transaction id */ in jfs_create() local 98 tid = txBegin(dip->i_sb, 0); in jfs_create() 103 rc = jfs_init_acl(tid, ip, dip); in jfs_create() 107 rc = jfs_init_security(tid, ip, dip, &dentry->d_name); in jfs_create() 109 txAbort(tid, 0); in jfs_create() 115 txAbort(tid, 0); in jfs_create() 119 tblk = tid_to_tblock(tid); in jfs_create() 130 xtInitRoot(tid, ip); in jfs_create() 137 if ((rc = dtInsert(tid, dip, &dname, &ino, &btstack))) { in jfs_create() 140 txAbort(tid, 1); /* Marks Filesystem dirty */ in jfs_create() [all …]
|
D | jfs_xtree.h | 93 extern void xtInitRoot(tid_t tid, struct inode *ip); 94 extern int xtInsert(tid_t tid, struct inode *ip, 96 extern int xtExtend(tid_t tid, struct inode *ip, s64 xoff, int xlen, 99 extern int xtTailgate(tid_t tid, struct inode *ip, 102 extern int xtUpdate(tid_t tid, struct inode *ip, struct xad *nxad); 103 extern int xtDelete(tid_t tid, struct inode *ip, s64 xoff, int xlen, 105 extern s64 xtTruncate(tid_t tid, struct inode *ip, s64 newsize, int type); 106 extern s64 xtTruncate_pmap(tid_t tid, struct inode *ip, s64 committed_size); 107 extern int xtRelocate(tid_t tid, struct inode *ip, 109 extern int xtAppend(tid_t tid,
|
D | acl.c | 56 static int __jfs_set_acl(tid_t tid, struct inode *inode, int type, in __jfs_set_acl() argument 84 rc = __jfs_setxattr(tid, inode, ea_name, value, size, 0); in __jfs_set_acl() 97 tid_t tid; in jfs_set_acl() local 101 tid = txBegin(inode->i_sb, 0); in jfs_set_acl() 110 rc = __jfs_set_acl(tid, inode, type, acl); in jfs_set_acl() 117 rc = txCommit(tid, 1, &inode, 0); in jfs_set_acl() 120 txEnd(tid); in jfs_set_acl() 125 int jfs_init_acl(tid_t tid, struct inode *inode, struct inode *dir) in jfs_init_acl() argument 135 rc = __jfs_set_acl(tid, inode, ACL_TYPE_DEFAULT, default_acl); in jfs_init_acl() 143 rc = __jfs_set_acl(tid, inode, ACL_TYPE_ACCESS, acl); in jfs_init_acl()
|
D | jfs_xtree.c | 107 static int xtSplitUp(tid_t tid, 111 static int xtSplitPage(tid_t tid, struct inode *ip, struct xtsplit * split, 114 static int xtSplitRoot(tid_t tid, struct inode *ip, 118 static int xtDeleteUp(tid_t tid, struct inode *ip, struct metapage * fmp, 125 static int xtRelink(tid_t tid, struct inode *ip, xtpage_t * fp); 524 int xtInsert(tid_t tid, /* transaction id */ in xtInsert() argument 604 if ((rc = xtSplitUp(tid, ip, &split, &btstack))) { in xtInsert() 641 tlck = txLock(tid, ip, mp, tlckXTREE | tlckGROW); in xtInsert() 675 xtSplitUp(tid_t tid, in xtSplitUp() argument 732 tlck = txLock(tid, ip, smp, tlckXTREE | tlckGROW); in xtSplitUp() [all …]
|
D | jfs_dtree.c | 139 static int dtSplitUp(tid_t tid, struct inode *ip, 142 static int dtSplitPage(tid_t tid, struct inode *ip, struct dtsplit * split, 145 static int dtExtendPage(tid_t tid, struct inode *ip, 148 static int dtSplitRoot(tid_t tid, struct inode *ip, 151 static int dtDeleteUp(tid_t tid, struct inode *ip, struct metapage * fmp, 154 static int dtRelink(tid_t tid, struct inode *ip, dtpage_t * p); 291 static inline void lock_index(tid_t tid, struct inode *ip, struct metapage * mp, in lock_index() argument 298 tlck = txLock(tid, ip, mp, tlckDATA); in lock_index() 321 static u32 add_index(tid_t tid, struct inode *ip, s64 bn, int slot) in add_index() argument 388 xtInitRoot(tid, ip); in add_index() [all …]
|
D | jfs_txnmgr.c | 204 TxLock[lid].tid = 0; in txLockFree() 492 void txEnd(tid_t tid) in txEnd() argument 494 struct tblock *tblk = tid_to_tblock(tid); in txEnd() 497 jfs_info("txEnd: tid = %d", tid); in txEnd() 517 jfs_info("txEnd called w/lazy tid: %d, tblk = 0x%p", tid, tblk); in txEnd() 526 jfs_info("txEnd: tid: %d, tblk = 0x%p", tid, tblk); in txEnd() 534 TxAnchor.freetid = tid; in txEnd() 582 struct tlock *txLock(tid_t tid, struct inode *ip, struct metapage * mp, in txLock() argument 612 jfs_info("txLock: tid:%d ip:0x%p mp:0x%p lid:%d", tid, ip, mp, lid); in txLock() 616 if ((xtid = tlck->tid) == tid) { in txLock() [all …]
|
D | inode.c | 76 tid_t tid; in jfs_commit_inode() local 101 tid = txBegin(inode->i_sb, COMMIT_INODE); in jfs_commit_inode() 108 rc = txCommit(tid, 1, &inode, wait ? COMMIT_SYNC : 0); in jfs_commit_inode() 110 txEnd(tid); in jfs_commit_inode() 378 tid_t tid; in jfs_truncate_nolock() local 388 tid = txBegin(ip->i_sb, 0); in jfs_truncate_nolock() 398 newsize = xtTruncate(tid, ip, length, in jfs_truncate_nolock() 401 txEnd(tid); in jfs_truncate_nolock() 409 txCommit(tid, 1, &ip, 0); in jfs_truncate_nolock() 410 txEnd(tid); in jfs_truncate_nolock()
|
D | jfs_dtree.h | 16 tid_t tid; member 241 extern void dtInitRoot(tid_t tid, struct inode *ip, u32 idotdot); 246 extern int dtInsert(tid_t tid, struct inode *ip, struct component_name * key, 249 extern int dtDelete(tid_t tid, struct inode *ip, struct component_name * key, 252 extern int dtModify(tid_t tid, struct inode *ip, struct component_name * key,
|
D | xattr.c | 592 static int ea_put(tid_t tid, struct inode *inode, struct ea_buffer *ea_buf, in ea_put() argument 631 txEA(tid, inode, &ji->ea, &ea_buf->new_ea); in ea_put() 639 txEA(tid, inode, &ji->ea, NULL); in ea_put() 655 int __jfs_setxattr(tid_t tid, struct inode *inode, const char *name, in __jfs_setxattr() argument 783 rc = ea_put(tid, inode, &ea_buf, new_size); in __jfs_setxattr() 912 tid_t tid; in __jfs_xattr_set() local 915 tid = txBegin(inode->i_sb, 0); in __jfs_xattr_set() 917 rc = __jfs_setxattr(tid, inode, name, value, size, flags); in __jfs_xattr_set() 919 rc = txCommit(tid, 1, &inode, 0); in __jfs_xattr_set() 920 txEnd(tid); in __jfs_xattr_set() [all …]
|
D | resize.c | 67 int tid; in jfs_extendfs() local 386 tid = txBegin(sb, COMMIT_FORCE); in jfs_extendfs() 388 if ((rc = xtAppend(tid, ipbmap, 0, xoff, nblocks, &xlen, &xaddr, 0))) { in jfs_extendfs() 389 txEnd(tid); in jfs_extendfs() 397 rc = txCommit(tid, 1, &iplist[0], COMMIT_FORCE); in jfs_extendfs() 399 txEnd(tid); in jfs_extendfs()
|
D | jfs_txnmgr.h | 13 #define tid_to_tblock(tid) (&TxBlock[tid]) argument 86 tid_t tid; /* 2: transaction id holding lock */ member 261 tid_t tid; /* tid = index of tblock */ member
|
D | jfs_imap.c | 580 int diWrite(tid_t tid, struct inode *ip) in diWrite() argument 653 txLock(tid, ipimap, mp, tlckINODE | tlckENTRY)) == NULL) in diWrite() 856 tid_t tid; in diFree() local 1230 tid = txBegin(ipimap->i_sb, COMMIT_FORCE); in diFree() 1240 tlck = txLock(tid, ipimap, mp, tlckINODE | tlckFREE); in diFree() 1261 rc = txCommit(tid, 1, &iplist[0], COMMIT_FORCE); in diFree() 1263 txEnd(tid); in diFree() 2450 tid_t tid; in diNewIAG() local 2520 tid = txBegin(sb, COMMIT_FORCE); in diNewIAG() 2525 xtInsert(tid, ipimap, 0, blkno, xlen, &xaddr, 0))) { in diNewIAG() [all …]
|
D | jfs_acl.h | 16 static inline int jfs_init_acl(tid_t tid, struct inode *inode, in jfs_init_acl() argument
|
D | jfs_xattr.h | 55 static inline int jfs_init_security(tid_t tid, struct inode *inode, in jfs_init_security() argument
|
/fs/jbd2/ |
D | journal.c | 521 int jbd2_log_start_commit(journal_t *journal, tid_t tid) in jbd2_log_start_commit() argument 526 ret = __jbd2_log_start_commit(journal, tid); in jbd2_log_start_commit() 541 tid_t tid; in __jbd2_journal_force_commit() local 557 tid = transaction->t_tid; in __jbd2_journal_force_commit() 560 jbd2_log_start_commit(journal, tid); in __jbd2_journal_force_commit() 561 ret = jbd2_log_wait_commit(journal, tid); in __jbd2_journal_force_commit() 615 tid_t tid = journal->j_running_transaction->t_tid; in jbd2_journal_start_commit() local 617 __jbd2_log_start_commit(journal, tid); in jbd2_journal_start_commit() 621 *ptid = tid; in jbd2_journal_start_commit() 642 int jbd2_trans_will_send_data_barrier(journal_t *journal, tid_t tid) in jbd2_trans_will_send_data_barrier() argument [all …]
|
D | checkpoint.c | 117 tid_t tid = 0; in __jbd2_log_wait_for_space() local 120 tid = journal->j_committing_transaction->t_tid; in __jbd2_log_wait_for_space() 128 } else if (tid) { in __jbd2_log_wait_for_space() 135 jbd2_log_wait_commit(journal, tid); in __jbd2_log_wait_for_space() 233 tid_t tid = t->t_tid; in jbd2_log_do_checkpoint() local 250 jbd2_log_start_commit(journal, tid); in jbd2_log_do_checkpoint() 260 jbd2_log_wait_commit(journal, tid); in jbd2_log_do_checkpoint()
|
D | transaction.c | 174 tid_t tid = journal->j_running_transaction->t_tid; in wait_transaction_locked() local 178 need_to_start = !tid_geq(journal->j_commit_request, tid); in wait_transaction_locked() 181 jbd2_log_start_commit(journal, tid); in wait_transaction_locked() 774 tid_t tid; in jbd2__journal_restart() local 783 tid = transaction->t_tid; in jbd2__journal_restart() 798 need_to_start = !tid_geq(journal->j_commit_request, tid); in jbd2__journal_restart() 801 jbd2_log_start_commit(journal, tid); in jbd2__journal_restart() 1809 tid_t tid; in jbd2_journal_stop() local 1828 tid = transaction->t_tid; in jbd2_journal_stop() 1835 tid, handle->h_type, handle->h_line_no, in jbd2_journal_stop() [all …]
|
/fs/xfs/libxfs/ |
D | xfs_log_recover.h | 83 #define XLOG_RHASH(tid) \ argument 84 ((((uint32_t)tid)>>XLOG_RHASH_SHIFT) & (XLOG_RHASH_SIZE-1))
|
/fs/ceph/ |
D | caps.c | 1254 msg->hdr.tid = cpu_to_le64(arg->flush_tid); in encode_cap_msg() 1436 if (capsnap->cap_flush.tid) in __prep_cap() 1492 arg.flush_tid = capsnap->cap_flush.tid; in __send_flush_snap() 1564 if (capsnap->cap_flush.tid > 0) { in __ceph_flush_snaps() 1570 capsnap->cap_flush.tid = ++mdsc->last_cap_flush_tid; in __ceph_flush_snaps() 1585 first_tid = capsnap->cap_flush.tid; in __ceph_flush_snaps() 1586 last_tid = capsnap->cap_flush.tid; in __ceph_flush_snaps() 1604 if (cf->tid >= first_tid) { in __ceph_flush_snaps() 1612 first_tid = cf->tid + 1; in __ceph_flush_snaps() 1619 inode, capsnap, cf->tid, ceph_cap_string(capsnap->dirty)); in __ceph_flush_snaps() [all …]
|
D | mds_client.c | 893 lookup_get_request(struct ceph_mds_client *mdsc, u64 tid) in DEFINE_RB_FUNCS() 897 req = lookup_request(&mdsc->request_tree, tid); in DEFINE_RB_FUNCS() 2088 if (cf->tid <= want_flush_tid) { in check_caps_flush() 2090 "%llu <= %llu\n", cf->tid, want_flush_tid); in check_caps_flush() 2605 msg->hdr.tid = cpu_to_le64(req->r_tid); in create_request_message() 3130 u64 tid; in handle_reply() local 3141 tid = le64_to_cpu(msg->hdr.tid); in handle_reply() 3143 req = lookup_get_request(mdsc, tid); in handle_reply() 3145 dout("handle_reply on unknown tid %llu\n", tid); in handle_reply() 3154 " not mds%d\n", tid, session->s_mds, in handle_reply() [all …]
|
/fs/proc/ |
D | base.c | 3696 unsigned tid; in proc_task_lookup() local 3704 tid = name_to_int(&dentry->d_name); in proc_task_lookup() 3705 if (tid == ~0U) in proc_task_lookup() 3711 task = find_task_by_pid_ns(tid, ns); in proc_task_lookup() 3741 static struct task_struct *first_tid(struct pid *pid, int tid, loff_t f_pos, in first_tid() argument 3756 if (tid && nr) { in first_tid() 3757 pos = find_task_by_pid_ns(tid, ns); in first_tid() 3812 int tid; in proc_task_readdir() local 3824 tid = (int)file->f_version; in proc_task_readdir() 3826 for (task = first_tid(proc_pid(inode), tid, ctx->pos - 2, ns); in proc_task_readdir() [all …]
|