Lines Matching refs:vfs_inode
495 dout("__cap_set_timeouts %p %lu\n", &ci->vfs_inode, in __cap_set_timeouts()
510 dout("__cap_delay_requeue %p flags 0x%lx at %lu\n", &ci->vfs_inode, in __cap_delay_requeue()
534 dout("__cap_delay_requeue_front %p\n", &ci->vfs_inode); in __cap_delay_requeue_front()
551 dout("__cap_delay_cancel %p\n", &ci->vfs_inode); in __cap_delay_cancel()
571 if (S_ISREG(ci->vfs_inode.i_mode) && in __check_cap_issue()
586 if (S_ISDIR(ci->vfs_inode.i_mode)) { in __check_cap_issue()
587 dout(" marking %p NOT complete\n", &ci->vfs_inode); in __check_cap_issue()
593 if (S_ISDIR(ci->vfs_inode.i_mode) && (had & CEPH_CAP_DIR_CREATE) && in __check_cap_issue()
795 "but STALE (gen %u vs %u)\n", &cap->ci->vfs_inode, in __cap_is_valid()
821 &ci->vfs_inode, cap, ceph_cap_string(cap->issued)); in __ceph_caps_issued()
868 dout("__touch_cap %p cap %p mds%d\n", &cap->ci->vfs_inode, cap, in __touch_cap()
873 &cap->ci->vfs_inode, cap, s->s_mds); in __touch_cap()
891 " (mask %s)\n", ceph_ino(&ci->vfs_inode), in __ceph_caps_issued_mask()
903 " (mask %s)\n", ceph_ino(&ci->vfs_inode), cap, in __ceph_caps_issued_mask()
915 " (mask %s)\n", ceph_ino(&ci->vfs_inode), in __ceph_caps_issued_mask()
943 struct ceph_fs_client *fsc = ceph_sb_to_client(ci->vfs_inode.i_sb); in __ceph_caps_issued_mask_metric()
974 struct inode *inode = &ci->vfs_inode; in ceph_caps_revoking()
993 (S_ISREG(ci->vfs_inode.i_mode) && in __ceph_caps_used()
994 ci->vfs_inode.i_data.nrpages)) in __ceph_caps_used()
1017 ceph_inode_to_client(&ci->vfs_inode)->mount_options; in __ceph_caps_file_wanted()
1021 if (S_ISDIR(ci->vfs_inode.i_mode)) { in __ceph_caps_file_wanted()
1074 if (S_ISDIR(ci->vfs_inode.i_mode)) { in __ceph_caps_wanted()
1129 ceph_put_snap_realm(ceph_sb_to_client(ci->vfs_inode.i_sb)->mdsc, in drop_inode_snap_realm()
1152 dout("__ceph_remove_cap %p from %p\n", cap, &ci->vfs_inode); in __ceph_remove_cap()
1154 mdsc = ceph_inode_to_client(&ci->vfs_inode)->mdsc; in __ceph_remove_cap()
1358 struct inode *inode = &ci->vfs_inode; in __prep_cap()
1455 struct inode *inode = &ci->vfs_inode; in __send_cap()
1543 struct inode *inode = &ci->vfs_inode; in __ceph_flush_snaps()
1636 struct inode *inode = &ci->vfs_inode; in ceph_flush_snaps()
1703 ceph_sb_to_client(ci->vfs_inode.i_sb)->mdsc; in __ceph_mark_dirty_caps()
1704 struct inode *inode = &ci->vfs_inode; in __ceph_mark_dirty_caps()
1717 dout("__mark_dirty_caps %p %s dirty %s -> %s\n", &ci->vfs_inode, in __ceph_mark_dirty_caps()
1733 &ci->vfs_inode, ci->i_head_snapc, ci->i_auth_cap); in __ceph_mark_dirty_caps()
1896 loff_t size = ci->vfs_inode.i_size; in __ceph_should_report_size()
1921 struct inode *inode = &ci->vfs_inode; in ceph_check_caps()
2493 struct inode *inode = &ci->vfs_inode; in __kick_flushing_caps()
2582 &ci->vfs_inode, cap, session->s_mds); in ceph_early_kick_flushing_caps()
2632 &ci->vfs_inode, cap, session->s_mds); in ceph_kick_flushing_caps()
2652 dout("%s %p flushing %s\n", __func__, &ci->vfs_inode, in ceph_kick_flushing_inode_caps()
2695 ihold(&ci->vfs_inode); in ceph_take_cap_refs()
2698 &ci->vfs_inode, ci->i_wb_ref-1, ci->i_wb_ref); in ceph_take_cap_refs()
3031 if (S_ISREG(ci->vfs_inode.i_mode) && in ceph_get_caps()
3065 if (S_ISREG(ci->vfs_inode.i_mode) && in ceph_get_caps()
3120 struct inode *inode = &ci->vfs_inode; in __ceph_put_cap_refs()
3206 struct inode *inode = &ci->vfs_inode; in ceph_put_wrbuffer_cap_refs()
3699 i_flushing_item)->vfs_inode); in handle_cap_flush_ack()
4347 inode = igrab(&ci->vfs_inode); in ceph_check_delayed_caps()
4376 inode = &ci->vfs_inode; in flush_dirty_session_caps()
4410 struct ceph_mds_client *mdsc = ceph_sb_to_mdsc(ci->vfs_inode.i_sb); in ceph_get_fmode()
4444 struct ceph_mds_client *mdsc = ceph_sb_to_mdsc(ci->vfs_inode.i_sb); in ceph_put_fmode()