Lines Matching defs:ceph_inode_info

292 struct ceph_inode_info {  struct
293 struct ceph_vino i_vino; /* ceph ino + snap */
295 spinlock_t i_ceph_lock;
297 u64 i_version;
298 u64 i_inline_version;
299 u32 i_time_warp_seq;
301 unsigned i_ceph_flags;
302 atomic64_t i_release_count;
303 atomic64_t i_ordered_count;
304 atomic64_t i_complete_seq[2];
306 struct ceph_dir_layout i_dir_layout;
307 struct ceph_file_layout i_layout;
308 char *i_symlink;
311 struct timespec64 i_rctime;
312 u64 i_rbytes, i_rfiles, i_rsubdirs;
313 u64 i_files, i_subdirs;
316 u64 i_max_bytes, i_max_files;
318 struct rb_root i_fragtree;
319 int i_fragtree_nsplits;
320 struct mutex i_fragtree_mutex;
322 struct ceph_inode_xattrs_info i_xattrs;
326 struct rb_root i_caps; /* cap list */
327 struct ceph_cap *i_auth_cap; /* authoritative cap, if any */
328 unsigned i_dirty_caps, i_flushing_caps; /* mask of dirtied fields */
329 struct list_head i_dirty_item, i_flushing_item;
333 struct ceph_cap_flush *i_prealloc_cap_flush;
334 struct list_head i_cap_flush_list;
335 wait_queue_head_t i_cap_wq; /* threads waiting on a capability */
336 unsigned long i_hold_caps_min; /* jiffies */
337 unsigned long i_hold_caps_max; /* jiffies */
338 struct list_head i_cap_delay_list; /* for delayed cap release to mds */
339 struct ceph_cap_reservation i_cap_migration_resv;
340 struct list_head i_cap_snaps; /* snapped state pending flush to mds */
341 struct ceph_snap_context *i_head_snapc; /* set if wr_buffer_head > 0 or
343 unsigned i_snap_caps; /* cap bits for snapped files */
345 int i_nr_by_mode[CEPH_FILE_MODE_BITS]; /* open file counts */
347 struct mutex i_truncate_mutex;
348 u32 i_truncate_seq; /* last truncate to smaller size */
349 u64 i_truncate_size; /* and the size we last truncated down to */
350 int i_truncate_pending; /* still need to call vmtruncate */
352 u64 i_max_size; /* max file size authorized by mds */
353 u64 i_reported_size; /* (max_)size reported to or requested of mds */
354 u64 i_wanted_max_size; /* offset we'd like to write too */
355 u64 i_requested_max_size; /* max_size we've requested */
358 int i_pin_ref;
359 int i_rd_ref, i_rdcache_ref, i_wr_ref, i_wb_ref;
360 int i_wrbuffer_ref, i_wrbuffer_ref_head;
361 atomic_t i_filelock_ref;
362 atomic_t i_shared_gen; /* increment each time we get FILE_SHARED */
363 u32 i_rdcache_gen; /* incremented each time we get FILE_CACHE. */
387 static inline struct ceph_inode_info *ceph_inode(struct inode *inode) in ceph_inode() argument