Home
last modified time | relevance | path

Searched refs:ceph_inode (Results 1 – 20 of 20) sorted by relevance

/openbmc/linux/fs/ceph/
H A Dcache.h36 struct ceph_inode_info *ci = ceph_inode(inode); in ceph_fscache_resize()
49 fscache_unpin_writeback(wbc, ceph_fscache_cookie(ceph_inode(inode))); in ceph_fscache_unpin_writeback()
55 struct ceph_inode_info *ci = ceph_inode(mapping->host); in ceph_fscache_dirty_folio()
62 struct fscache_cookie *cookie = ceph_fscache_cookie(ceph_inode(rreq->inode)); in ceph_begin_cache_operation()
69 return fscache_cookie_enabled(ceph_fscache_cookie(ceph_inode(inode))); in ceph_is_cache_enabled()
74 struct ceph_inode_info *ci = ceph_inode(inode); in ceph_fscache_note_page_release()
H A Dcache.c17 struct ceph_inode_info *ci = ceph_inode(inode); in ceph_fscache_register_inode_cookie()
50 struct ceph_inode_info *ci = ceph_inode(inode); in ceph_fscache_use_cookie()
57 struct ceph_inode_info *ci = ceph_inode(inode); in ceph_fscache_unuse_cookie()
71 struct ceph_inode_info *ci = ceph_inode(inode); in ceph_fscache_update()
79 struct ceph_inode_info *ci = ceph_inode(inode); in ceph_fscache_invalidate()
H A Dio.c53 struct ceph_inode_info *ci = ceph_inode(inode); in ceph_start_io_read()
90 ceph_block_o_direct(ceph_inode(inode), inode); in ceph_start_io_write()
139 struct ceph_inode_info *ci = ceph_inode(inode); in ceph_start_io_direct()
H A Dquota.c34 if (ceph_vino_is_reserved(ceph_inode(inode)->i_vino)) in ceph_has_realms_with_quotas()
68 ci = ceph_inode(inode); in ceph_handle_quota()
226 realm = ceph_inode(inode)->i_snap_realm; in get_quota_realm()
253 ci = ceph_inode(in); in get_quota_realm()
336 realm = ceph_inode(inode)->i_snap_realm; in check_quota_exceeded()
360 ci = ceph_inode(in); in check_quota_exceeded()
460 loff_t size = ceph_inode(inode)->i_reported_size; in ceph_quota_is_max_bytes_approaching()
503 ci = ceph_inode(in); in ceph_quota_update_statfs()
H A Dioctl.c20 struct ceph_inode_info *ci = ceph_inode(file_inode(file)); in ceph_ioctl_get_layout()
71 struct ceph_inode_info *ci = ceph_inode(file_inode(file)); in ceph_ioctl_set_layout()
184 struct ceph_inode_info *ci = ceph_inode(inode); in ceph_ioctl_get_dataloc()
246 struct ceph_inode_info *ci = ceph_inode(inode); in ceph_ioctl_lazyio()
295 struct ceph_inode_info *ci = ceph_inode(inode); in ceph_set_encryption_policy()
H A Daddr.c94 ci = ceph_inode(inode); in ceph_dirty_folio()
144 ci = ceph_inode(inode); in ceph_invalidate_folio()
188 struct ceph_inode_info *ci = ceph_inode(inode); in ceph_netfs_expand_readahead()
232 struct ceph_inode_info *ci = ceph_inode(inode); in ceph_netfs_clamp_length()
298 struct ceph_inode_info *ci = ceph_inode(inode); in ceph_netfs_issue_op_inline()
349 struct ceph_inode_info *ci = ceph_inode(inode); in ceph_netfs_issue_read()
490 ceph_put_cap_refs(ceph_inode(inode), got); in ceph_init_request()
505 ceph_put_cap_refs(ceph_inode(rreq->inode), priv->caps); in ceph_netfs_free_request()
536 struct ceph_inode_info *ci = ceph_inode(inode); in ceph_fscache_write_to_cache()
569 struct ceph_inode_info *ci = ceph_inode(inode); in get_oldest_context()
[all …]
H A Dfile.c201 struct ceph_inode_info *ci = ceph_inode(inode); in ceph_init_file_info()
299 struct ceph_inode_info *ci = ceph_inode(inode); in ceph_renew_caps()
354 struct ceph_inode_info *ci = ceph_inode(inode); in ceph_open()
447 struct ceph_inode_info *cdst = ceph_inode(dst); in cache_file_layout()
448 struct ceph_inode_info *csrc = ceph_inode(src); in cache_file_layout()
470 struct ceph_inode_info *ci = ceph_inode(dir); in try_prep_async_create()
518 struct ceph_inode_info *ci = ceph_inode(dir); in restore_deleg_ino()
537 struct ceph_inode_info *ci = ceph_inode(inode); in wake_async_create_waiters()
623 struct ceph_inode_info *ci = ceph_inode(dir); in ceph_finish_async_create()
705 ceph_inode(inode)->i_ceph_flags = CEPH_I_ASYNC_CREATE; in ceph_finish_async_create()
[all …]
H A Dsuper.h486 ceph_inode(const struct inode *inode) in ceph_inode() function
512 return ceph_inode(inode)->i_vino; in ceph_vino()
538 #define ceph_vinop(i) ceph_inode(i)->i_vino.ino, ceph_inode(i)->i_vino.snap
542 return ceph_inode(inode)->i_vino.ino; in ceph_ino()
547 return ceph_inode(inode)->i_vino.snap; in ceph_snap()
575 struct ceph_inode_info *ci = ceph_inode(inode); in ceph_ino_compare()
715 __ceph_dir_clear_complete(ceph_inode(inode)); in ceph_dir_clear_complete()
720 __ceph_dir_clear_ordered(ceph_inode(inode)); in ceph_dir_clear_ordered()
725 bool ret = __ceph_dir_is_complete_ordered(ceph_inode(inode)); in ceph_dir_is_complete_ordered()
1109 unsigned long flags = READ_ONCE(ceph_inode(inode)->i_ceph_flags); in ceph_inode_is_shutdown()
H A Dinode.c47 struct ceph_inode_info *ci = ceph_inode(inode); in ceph_set_ino_cb()
167 struct ceph_inode_info *ci = ceph_inode(inode); in ceph_get_snapdir()
192 ci->i_btime = ceph_inode(parent)->i_btime; in ceph_get_snapdir()
197 struct ceph_inode_info *pci = ceph_inode(parent); in ceph_get_snapdir()
373 struct ceph_inode_info *ci = ceph_inode(inode); in ceph_fill_dirfrag()
457 struct ceph_inode_info *ci = ceph_inode(inode); in ceph_fill_fragtree()
664 struct ceph_inode_info *ci = ceph_inode(inode); in ceph_free_inode()
676 struct ceph_inode_info *ci = ceph_inode(inode); in ceph_evict_inode()
746 struct ceph_inode_info *ci = ceph_inode(inode); in ceph_fill_file_size()
817 struct ceph_inode_info *ci = ceph_inode(inode); in ceph_fill_file_time()
[all …]
H A Dlocks.c37 atomic_inc(&ceph_inode(inode)->i_filelock_ref); in ceph_fl_copy_lock()
57 ci = ceph_inode(inode); in ceph_fl_release_lock()
248 struct ceph_inode_info *ci = ceph_inode(inode); in ceph_lock()
314 struct ceph_inode_info *ci = ceph_inode(inode); in ceph_flock()
H A Dcrypto.c73 struct ceph_inode_info *ci = ceph_inode(inode); in ceph_crypt_get_context()
125 struct ceph_inode_info *ci = ceph_inode(inode); in ceph_crypt_empty_dir()
157 struct ceph_inode_info *ci = ceph_inode(inode); in ceph_fscrypt_prepare_context()
586 struct ceph_inode_info *ci = ceph_inode(inode); in ceph_fscrypt_decrypt_extents()
H A Dcaps.c639 struct ceph_inode_info *ci = ceph_inode(inode); in ceph_add_cap()
1091 struct ceph_inode_info *ci = ceph_inode(inode); in ceph_is_any_caps()
1881 struct ceph_inode_info *ci = ceph_inode(inode); in __mark_caps_flushing()
1928 struct ceph_inode_info *ci = ceph_inode(inode); in try_nonblocking_invalidate()
2240 struct ceph_inode_info *ci = ceph_inode(inode); in try_flush_caps()
2297 struct ceph_inode_info *ci = ceph_inode(inode); in caps_are_flushed()
2318 struct ceph_inode_info *ci = ceph_inode(inode); in flush_mdlog_and_wait_inode_unsafe_requests()
2433 struct ceph_inode_info *ci = ceph_inode(inode); in ceph_fsync()
2482 struct ceph_inode_info *ci = ceph_inode(inode); in ceph_write_inode()
2752 struct ceph_inode_info *ci = ceph_inode(inode); in try_get_cap_refs()
[all …]
H A Dmds_client.c444 struct ceph_inode_info *ci = ceph_inode(inode); in parse_reply_info_readdir()
1092 ceph_put_cap_refs(ceph_inode(req->r_inode), CEPH_CAP_PIN); in ceph_mdsc_release_request()
1096 ceph_put_cap_refs(ceph_inode(req->r_parent), CEPH_CAP_PIN); in ceph_mdsc_release_request()
1112 ceph_put_cap_refs(ceph_inode(req->r_old_dentry_dir), in ceph_mdsc_release_request()
1182 struct ceph_inode_info *ci = ceph_inode(dir); in __register_request()
1217 struct ceph_inode_info *ci = ceph_inode(req->r_unsafe_dir); in __unregister_request()
1224 struct ceph_inode_info *ci = ceph_inode(req->r_target_inode); in __unregister_request()
1350 ci = ceph_inode(inode); in __choose_mds()
1860 struct ceph_inode_info *ci = ceph_inode(inode); in remove_session_caps_cb()
1949 struct ceph_inode_info *ci = ceph_inode(inode); in wake_up_session_cb()
[all …]
H A Dxattr.c795 struct ceph_inode_info *ci = ceph_inode(inode); in __build_xattrs()
965 struct ceph_inode_info *ci = ceph_inode(inode); in __ceph_getxattr()
1056 struct ceph_inode_info *ci = ceph_inode(inode); in ceph_listxattr()
1098 struct ceph_inode_info *ci = ceph_inode(inode); in ceph_sync_setxattr()
1166 struct ceph_inode_info *ci = ceph_inode(inode); in __ceph_setxattr()
1349 ci = ceph_inode(in); in ceph_security_xattr_deadlock()
H A Ddir.c312 struct ceph_inode_info *ci = ceph_inode(inode); in ceph_readdir()
801 struct ceph_inode_info *ci = ceph_inode(dir); in ceph_lookup()
1254 struct ceph_inode_info *ci = ceph_inode(dir); in get_caps_for_async_unlink()
1812 ci = ceph_inode(dir); in __dir_lease_try_check()
1834 struct ceph_inode_info *ci = ceph_inode(dir); in dir_lease_is_valid()
2031 dir_ci = ceph_inode(d_inode(dentry->d_parent)); in ceph_d_prune()
2063 struct ceph_inode_info *ci = ceph_inode(inode); in ceph_read_dir()
2113 struct ceph_inode_info *dci = ceph_inode(dir); in ceph_dentry_hash()
H A Dacl.c22 struct ceph_inode_info *ci = ceph_inode(inode); in ceph_set_cached_acl()
H A Dmds_client.h609 struct ceph_inode_info *ci = ceph_inode(inode); in ceph_wait_on_async_create()
H A Dsnap.c966 struct ceph_inode_info *ci = ceph_inode(inode); in ceph_change_snap_realm()
1080 ci = ceph_inode(inode); in ceph_handle_snap()
H A Ddebugfs.c253 struct ceph_inode_info *ci = ceph_inode(inode); in caps_show_cb()
H A Dexport.c185 struct ceph_inode_info *ci = ceph_inode(inode); in __fh_to_dentry()