Lines Matching refs:flush_tid
1237 u64 flush_tid, oldest_flush_tid, size, max_size; member
1271 arg->flush_tid, arg->oldest_flush_tid, arg->mseq, arg->follows, in encode_cap_msg()
1276 msg->hdr.tid = cpu_to_le64(arg->flush_tid); in encode_cap_msg()
1406 int flushing, u64 flush_tid, u64 oldest_flush_tid) in __prep_cap() argument
1441 arg->flush_tid = flush_tid; in __prep_cap()
1547 arg->flush_tid); in __send_cap()
1574 arg.flush_tid = capsnap->cap_flush.tid; in __send_flush_snap()
2029 u64 flush_tid, oldest_flush_tid; in ceph_check_caps() local
2250 flush_tid = __mark_caps_flushing(inode, session, false, in ceph_check_caps()
2257 flush_tid = 0; in ceph_check_caps()
2266 want, retain, flushing, flush_tid, oldest_flush_tid); in ceph_check_caps()
2300 u64 flush_tid = 0, oldest_flush_tid = 0; in try_flush_caps() local
2324 flush_tid = __mark_caps_flushing(inode, session, true, in try_flush_caps()
2330 flushing, flush_tid, oldest_flush_tid); in try_flush_caps()
2340 flush_tid = cf->tid; in try_flush_caps()
2346 *ptid = flush_tid; in try_flush_caps()
2353 static int caps_are_flushed(struct inode *inode, u64 flush_tid) in caps_are_flushed() argument
2363 if (cf->tid <= flush_tid) in caps_are_flushed()
2495 u64 flush_tid; in ceph_fsync() local
2510 dirty = try_flush_caps(inode, &flush_tid); in ceph_fsync()
2522 caps_are_flushed(inode, flush_tid)); in ceph_fsync()
2547 u64 flush_tid; in ceph_write_inode() local
2558 dirty = try_flush_caps(inode, &flush_tid); in ceph_write_inode()
2561 caps_are_flushed(inode, flush_tid)); in ceph_write_inode()
3824 static void handle_cap_flush_ack(struct inode *inode, u64 flush_tid, in handle_cap_flush_ack() argument
3844 if (cf->tid == flush_tid) in handle_cap_flush_ack()
3851 if (cf->tid <= flush_tid) { in handle_cap_flush_ack()
3982 static void handle_cap_flushsnap_ack(struct inode *inode, u64 flush_tid, in handle_cap_flushsnap_ack() argument
4000 if (iter->cap_flush.tid != flush_tid) { in handle_cap_flushsnap_ack()
4003 follows, flush_tid, in handle_cap_flushsnap_ack()