/fs/jfs/ |
D | namei.c | 78 tid_t tid; /* transaction id */ in jfs_create() local 106 tid = txBegin(dip->i_sb, 0); in jfs_create() 111 rc = jfs_init_acl(tid, ip, dip); in jfs_create() 115 rc = jfs_init_security(tid, ip, dip); in jfs_create() 117 txAbort(tid, 0); in jfs_create() 123 txAbort(tid, 0); in jfs_create() 127 tblk = tid_to_tblock(tid); in jfs_create() 138 xtInitRoot(tid, ip); in jfs_create() 145 if ((rc = dtInsert(tid, dip, &dname, &ino, &btstack))) { in jfs_create() 148 txAbort(tid, 1); /* Marks Filesystem dirty */ in jfs_create() [all …]
|
D | jfs_xtree.h | 115 extern void xtInitRoot(tid_t tid, struct inode *ip); 116 extern int xtInsert(tid_t tid, struct inode *ip, 118 extern int xtExtend(tid_t tid, struct inode *ip, s64 xoff, int xlen, 121 extern int xtTailgate(tid_t tid, struct inode *ip, 124 extern int xtUpdate(tid_t tid, struct inode *ip, struct xad *nxad); 125 extern int xtDelete(tid_t tid, struct inode *ip, s64 xoff, int xlen, 127 extern s64 xtTruncate(tid_t tid, struct inode *ip, s64 newsize, int type); 128 extern s64 xtTruncate_pmap(tid_t tid, struct inode *ip, s64 committed_size); 129 extern int xtRelocate(tid_t tid, struct inode *ip, 131 extern int xtAppend(tid_t tid,
|
D | acl.c | 79 static int jfs_set_acl(tid_t tid, struct inode *inode, int type, in jfs_set_acl() argument 115 rc = __jfs_setxattr(tid, inode, ea_name, value, size, 0); in jfs_set_acl() 148 int jfs_init_acl(tid_t tid, struct inode *inode, struct inode *dir) in jfs_init_acl() argument 164 rc = jfs_set_acl(tid, inode, ACL_TYPE_DEFAULT, acl); in jfs_init_acl() 178 rc = jfs_set_acl(tid, inode, ACL_TYPE_ACCESS, in jfs_init_acl() 212 tid_t tid = txBegin(inode->i_sb, 0); in jfs_acl_chmod() local 214 rc = jfs_set_acl(tid, inode, ACL_TYPE_ACCESS, clone); in jfs_acl_chmod() 216 rc = txCommit(tid, 1, &inode, 0); in jfs_acl_chmod() 217 txEnd(tid); in jfs_acl_chmod()
|
D | jfs_xtree.c | 119 static int xtSplitUp(tid_t tid, 123 static int xtSplitPage(tid_t tid, struct inode *ip, struct xtsplit * split, 126 static int xtSplitRoot(tid_t tid, struct inode *ip, 130 static int xtDeleteUp(tid_t tid, struct inode *ip, struct metapage * fmp, 137 static int xtRelink(tid_t tid, struct inode *ip, xtpage_t * fp); 797 int xtInsert(tid_t tid, /* transaction id */ in xtInsert() argument 877 if ((rc = xtSplitUp(tid, ip, &split, &btstack))) { in xtInsert() 914 tlck = txLock(tid, ip, mp, tlckXTREE | tlckGROW); in xtInsert() 948 xtSplitUp(tid_t tid, in xtSplitUp() argument 1005 tlck = txLock(tid, ip, smp, tlckXTREE | tlckGROW); in xtSplitUp() [all …]
|
D | inode.c | 84 tid_t tid; in jfs_commit_inode() local 109 tid = txBegin(inode->i_sb, COMMIT_INODE); in jfs_commit_inode() 116 rc = txCommit(tid, 1, &inode, wait ? COMMIT_SYNC : 0); in jfs_commit_inode() 118 txEnd(tid); in jfs_commit_inode() 338 tid_t tid; in jfs_truncate_nolock() local 348 tid = txBegin(ip->i_sb, 0); in jfs_truncate_nolock() 358 newsize = xtTruncate(tid, ip, length, in jfs_truncate_nolock() 361 txEnd(tid); in jfs_truncate_nolock() 369 txCommit(tid, 1, &ip, 0); in jfs_truncate_nolock() 370 txEnd(tid); in jfs_truncate_nolock()
|
D | jfs_dtree.c | 151 static int dtSplitUp(tid_t tid, struct inode *ip, 154 static int dtSplitPage(tid_t tid, struct inode *ip, struct dtsplit * split, 157 static int dtExtendPage(tid_t tid, struct inode *ip, 160 static int dtSplitRoot(tid_t tid, struct inode *ip, 163 static int dtDeleteUp(tid_t tid, struct inode *ip, struct metapage * fmp, 166 static int dtRelink(tid_t tid, struct inode *ip, dtpage_t * p); 303 static inline void lock_index(tid_t tid, struct inode *ip, struct metapage * mp, in lock_index() argument 310 tlck = txLock(tid, ip, mp, tlckDATA); in lock_index() 333 static u32 add_index(tid_t tid, struct inode *ip, s64 bn, int slot) in add_index() argument 400 xtInitRoot(tid, ip); in add_index() [all …]
|
D | jfs_txnmgr.c | 218 TxLock[lid].tid = 0; in txLockFree() 501 void txEnd(tid_t tid) in txEnd() argument 503 struct tblock *tblk = tid_to_tblock(tid); in txEnd() 506 jfs_info("txEnd: tid = %d", tid); in txEnd() 526 jfs_info("txEnd called w/lazy tid: %d, tblk = 0x%p", tid, tblk); in txEnd() 535 jfs_info("txEnd: tid: %d, tblk = 0x%p", tid, tblk); in txEnd() 543 TxAnchor.freetid = tid; in txEnd() 591 struct tlock *txLock(tid_t tid, struct inode *ip, struct metapage * mp, in txLock() argument 621 jfs_info("txLock: tid:%d ip:0x%p mp:0x%p lid:%d", tid, ip, mp, lid); in txLock() 625 if ((xtid = tlck->tid) == tid) { in txLock() [all …]
|
D | jfs_dtree.h | 29 tid_t tid; member 254 extern void dtInitRoot(tid_t tid, struct inode *ip, u32 idotdot); 259 extern int dtInsert(tid_t tid, struct inode *ip, struct component_name * key, 262 extern int dtDelete(tid_t tid, struct inode *ip, struct component_name * key, 265 extern int dtModify(tid_t tid, struct inode *ip, struct component_name * key,
|
D | xattr.c | 624 static int ea_put(tid_t tid, struct inode *inode, struct ea_buffer *ea_buf, in ea_put() argument 663 txEA(tid, inode, &ji->ea, &ea_buf->new_ea); in ea_put() 671 txEA(tid, inode, &ji->ea, NULL); in ea_put() 783 int __jfs_setxattr(tid_t tid, struct inode *inode, const char *name, in __jfs_setxattr() argument 909 rc = ea_put(tid, inode, &ea_buf, new_size); in __jfs_setxattr() 928 tid_t tid; in jfs_setxattr() local 938 tid = txBegin(inode->i_sb, 0); in jfs_setxattr() 940 rc = __jfs_setxattr(tid, dentry->d_inode, name, value, value_len, in jfs_setxattr() 943 rc = txCommit(tid, 1, &inode, 0); in jfs_setxattr() 944 txEnd(tid); in jfs_setxattr() [all …]
|
D | resize.c | 79 int tid; in jfs_extendfs() local 388 tid = txBegin(sb, COMMIT_FORCE); in jfs_extendfs() 390 if ((rc = xtAppend(tid, ipbmap, 0, xoff, nblocks, &xlen, &xaddr, 0))) { in jfs_extendfs() 391 txEnd(tid); in jfs_extendfs() 399 rc = txCommit(tid, 1, &iplist[0], COMMIT_FORCE); in jfs_extendfs() 401 txEnd(tid); in jfs_extendfs()
|
D | jfs_txnmgr.h | 26 #define tid_to_tblock(tid) (&TxBlock[tid]) argument 99 tid_t tid; /* 2: transaction id holding lock */ member 274 tid_t tid; /* tid = index of tblock */ member
|
D | jfs_imap.c | 602 int diWrite(tid_t tid, struct inode *ip) in diWrite() argument 675 txLock(tid, ipimap, mp, tlckINODE | tlckENTRY)) == NULL) in diWrite() 878 tid_t tid; in diFree() local 1254 tid = txBegin(ipimap->i_sb, COMMIT_FORCE); in diFree() 1264 tlck = txLock(tid, ipimap, mp, tlckINODE | tlckFREE); in diFree() 1285 rc = txCommit(tid, 1, &iplist[0], COMMIT_FORCE); in diFree() 1287 txEnd(tid); in diFree() 2473 tid_t tid; in diNewIAG() local 2543 tid = txBegin(sb, COMMIT_FORCE); in diNewIAG() 2548 xtInsert(tid, ipimap, 0, blkno, xlen, &xaddr, 0))) { in diNewIAG() [all …]
|
D | jfs_acl.h | 29 static inline int jfs_init_acl(tid_t tid, struct inode *inode, in jfs_init_acl() argument
|
D | jfs_xattr.h | 67 static inline int jfs_init_security(tid_t tid, struct inode *inode, in jfs_init_security() argument
|
D | jfs_imap.h | 174 extern int diWrite(tid_t tid, struct inode *);
|
/fs/jbd/ |
D | journal.c | 453 int log_start_commit(journal_t *journal, tid_t tid) in log_start_commit() argument 458 ret = __log_start_commit(journal, tid); in log_start_commit() 476 tid_t tid; in journal_force_commit_nested() local 490 tid = transaction->t_tid; in journal_force_commit_nested() 492 log_wait_commit(journal, tid); in journal_force_commit_nested() 507 tid_t tid = journal->j_running_transaction->t_tid; in journal_start_commit() local 509 __log_start_commit(journal, tid); in journal_start_commit() 513 *ptid = tid; in journal_start_commit() 532 int log_wait_commit(journal_t *journal, tid_t tid) in log_wait_commit() argument 538 if (!tid_geq(journal->j_commit_request, tid)) { in log_wait_commit() [all …]
|
D | checkpoint.c | 145 tid_t tid = 0; in __log_wait_for_space() local 148 tid = journal->j_committing_transaction->t_tid; in __log_wait_for_space() 156 } else if (tid) { in __log_wait_for_space() 157 log_wait_commit(journal, tid); in __log_wait_for_space() 294 tid_t tid = t->t_tid; in __process_buffer() local 298 log_start_commit(journal, tid); in __process_buffer() 299 log_wait_commit(journal, tid); in __process_buffer()
|
D | transaction.c | 1467 tid_t tid = transaction->t_tid; in journal_stop() local 1481 err = log_wait_commit(journal, tid); in journal_stop() 1701 tid_t tid; in journal_wait_for_transaction_sync_data() local 1711 tid = transaction->t_tid; in journal_wait_for_transaction_sync_data() 1713 log_wait_commit(journal, tid); in journal_wait_for_transaction_sync_data()
|
/fs/xfs/ |
D | xfs_log_recover.h | 28 #define XLOG_RHASH(tid) \ argument 29 ((((__uint32_t)tid)>>XLOG_RHASH_SHIFT) & (XLOG_RHASH_SIZE-1))
|
D | xfs_log_recover.c | 1344 xlog_tid_t tid) in xlog_recover_find_tid() argument 1349 if (p->r_log_tid == tid) in xlog_recover_find_tid() 1483 xlog_tid_t tid, in xlog_recover_new_tid() argument 1489 trans->r_log_tid = tid; in xlog_recover_new_tid() 2894 xlog_tid_t tid; in xlog_recover_process_data() local 2917 tid = be32_to_cpu(ohead->oh_tid); in xlog_recover_process_data() 2918 hash = XLOG_RHASH(tid); in xlog_recover_process_data() 2919 trans = xlog_recover_find_tid(rhash[hash], tid); in xlog_recover_process_data() 2922 xlog_recover_new_tid(&rhash[hash], tid, in xlog_recover_process_data()
|
/fs/jbd2/ |
D | checkpoint.c | 146 tid_t tid = 0; in __jbd2_log_wait_for_space() local 149 tid = journal->j_committing_transaction->t_tid; in __jbd2_log_wait_for_space() 157 } else if (tid) { in __jbd2_log_wait_for_space() 158 jbd2_log_wait_commit(journal, tid); in __jbd2_log_wait_for_space() 294 tid_t tid = t->t_tid; in __process_buffer() local 299 jbd2_log_start_commit(journal, tid); in __process_buffer() 300 jbd2_log_wait_commit(journal, tid); in __process_buffer()
|
D | journal.c | 476 int jbd2_log_start_commit(journal_t *journal, tid_t tid) in jbd2_log_start_commit() argument 481 ret = __jbd2_log_start_commit(journal, tid); in jbd2_log_start_commit() 499 tid_t tid; in jbd2_journal_force_commit_nested() local 513 tid = transaction->t_tid; in jbd2_journal_force_commit_nested() 515 jbd2_log_wait_commit(journal, tid); in jbd2_journal_force_commit_nested() 530 tid_t tid = journal->j_running_transaction->t_tid; in jbd2_journal_start_commit() local 532 __jbd2_log_start_commit(journal, tid); in jbd2_journal_start_commit() 536 *ptid = tid; in jbd2_journal_start_commit() 555 int jbd2_log_wait_commit(journal_t *journal, tid_t tid) in jbd2_log_wait_commit() argument 561 if (!tid_geq(journal->j_commit_request, tid)) { in jbd2_log_wait_commit() [all …]
|
D | transaction.c | 1342 tid_t tid = transaction->t_tid; in jbd2_journal_stop() local 1356 err = jbd2_log_wait_commit(journal, tid); in jbd2_journal_stop() 1563 tid_t tid; in jbd2_journal_wait_for_transaction_sync_data() local 1573 tid = transaction->t_tid; in jbd2_journal_wait_for_transaction_sync_data() 1575 jbd2_log_wait_commit(journal, tid); in jbd2_journal_wait_for_transaction_sync_data()
|
/fs/proc/ |
D | base.c | 2985 unsigned tid; in proc_task_lookup() local 2991 tid = name_to_int(dentry); in proc_task_lookup() 2992 if (tid == ~0U) in proc_task_lookup() 2997 task = find_task_by_pid_ns(tid, ns); in proc_task_lookup() 3028 int tid, int nr, struct pid_namespace *ns) in first_tid() argument 3034 if (tid && (nr > 0)) { in first_tid() 3035 pos = find_task_by_pid_ns(tid, ns); in first_tid() 3085 struct task_struct *task, int tid) in proc_task_fill_cache() argument 3088 int len = snprintf(name, sizeof(name), "%d", tid); in proc_task_fill_cache() 3102 int tid; in proc_task_readdir() local [all …]
|
/fs/cifs/ |
D | misc.c | 313 buffer->Tid = treeCon->tid; in header_assemble() 561 if (tcon->tid != buf->Tid) in is_valid_oplock_break()
|