Lines Matching refs:flush_tid
1204 u64 flush_tid, oldest_flush_tid, size, max_size; member
1238 arg->flush_tid, arg->oldest_flush_tid, arg->mseq, arg->follows, in encode_cap_msg()
1243 msg->hdr.tid = cpu_to_le64(arg->flush_tid); in encode_cap_msg()
1344 int flushing, u64 flush_tid, u64 oldest_flush_tid) in __prep_cap() argument
1378 arg->flush_tid = flush_tid; in __prep_cap()
1450 arg->flush_tid); in __send_cap()
1480 arg.flush_tid = capsnap->cap_flush.tid; in __send_flush_snap()
1907 u64 flush_tid, oldest_flush_tid; in ceph_check_caps() local
2123 flush_tid = __mark_caps_flushing(inode, session, false, in ceph_check_caps()
2130 flush_tid = 0; in ceph_check_caps()
2139 want, retain, flushing, flush_tid, oldest_flush_tid); in ceph_check_caps()
2173 u64 flush_tid = 0, oldest_flush_tid = 0; in try_flush_caps() local
2197 flush_tid = __mark_caps_flushing(inode, session, true, in try_flush_caps()
2203 flushing, flush_tid, oldest_flush_tid); in try_flush_caps()
2213 flush_tid = cf->tid; in try_flush_caps()
2219 *ptid = flush_tid; in try_flush_caps()
2226 static int caps_are_flushed(struct inode *inode, u64 flush_tid) in caps_are_flushed() argument
2236 if (cf->tid <= flush_tid) in caps_are_flushed()
2365 u64 flush_tid; in ceph_fsync() local
2379 dirty = try_flush_caps(inode, &flush_tid); in ceph_fsync()
2391 caps_are_flushed(inode, flush_tid)); in ceph_fsync()
2414 u64 flush_tid; in ceph_write_inode() local
2425 dirty = try_flush_caps(inode, &flush_tid); in ceph_write_inode()
2428 caps_are_flushed(inode, flush_tid)); in ceph_write_inode()
3617 static void handle_cap_flush_ack(struct inode *inode, u64 flush_tid, in handle_cap_flush_ack() argument
3636 if (cf->tid == flush_tid) in handle_cap_flush_ack()
3643 if (cf->tid <= flush_tid) { in handle_cap_flush_ack()
3769 static void handle_cap_flushsnap_ack(struct inode *inode, u64 flush_tid, in handle_cap_flushsnap_ack() argument
3786 if (iter->cap_flush.tid != flush_tid) { in handle_cap_flushsnap_ack()
3789 flush_tid, iter->cap_flush.tid); in handle_cap_flushsnap_ack()