Searched refs:ictx (Results 1 – 3 of 3) sorted by relevance
41 ntfs_index_context *ictx; in ntfs_index_ctx_get() local43 ictx = kmem_cache_alloc(ntfs_index_ctx_cache, GFP_NOFS); in ntfs_index_ctx_get()44 if (ictx) in ntfs_index_ctx_get()45 *ictx = (ntfs_index_context){ .idx_ni = idx_ni }; in ntfs_index_ctx_get()46 return ictx; in ntfs_index_ctx_get()57 void ntfs_index_ctx_put(ntfs_index_context *ictx) in ntfs_index_ctx_put() argument59 if (ictx->entry) { in ntfs_index_ctx_put()60 if (ictx->is_in_root) { in ntfs_index_ctx_put()61 if (ictx->actx) in ntfs_index_ctx_put()62 ntfs_attr_put_search_ctx(ictx->actx); in ntfs_index_ctx_put()[all …]
89 extern void ntfs_index_ctx_put(ntfs_index_context *ictx);92 ntfs_index_context *ictx);111 static inline void ntfs_index_entry_flush_dcache_page(ntfs_index_context *ictx) in ntfs_index_entry_flush_dcache_page() argument113 if (ictx->is_in_root) in ntfs_index_entry_flush_dcache_page()114 flush_dcache_mft_record_page(ictx->actx->ntfs_ino); in ntfs_index_entry_flush_dcache_page()116 flush_dcache_page(ictx->page); in ntfs_index_entry_flush_dcache_page()137 static inline void ntfs_index_entry_mark_dirty(ntfs_index_context *ictx) in ntfs_index_entry_mark_dirty() argument139 if (ictx->is_in_root) in ntfs_index_entry_mark_dirty()140 mark_mft_record_dirty(ictx->actx->ntfs_ino); in ntfs_index_entry_mark_dirty()142 mark_ntfs_record_dirty(ictx->page, in ntfs_index_entry_mark_dirty()[all …]
39 ntfs_index_context *ictx; in ntfs_mark_quotas_out_of_date() local52 ictx = ntfs_index_ctx_get(NTFS_I(vol->quota_q_ino)); in ntfs_mark_quotas_out_of_date()53 if (!ictx) { in ntfs_mark_quotas_out_of_date()57 err = ntfs_index_lookup(&qid, sizeof(qid), ictx); in ntfs_mark_quotas_out_of_date()67 if (ictx->data_len < offsetof(QUOTA_CONTROL_ENTRY, sid)) { in ntfs_mark_quotas_out_of_date()72 qce = (QUOTA_CONTROL_ENTRY*)ictx->data; in ntfs_mark_quotas_out_of_date()97 ntfs_index_entry_flush_dcache_page(ictx); in ntfs_mark_quotas_out_of_date()98 ntfs_index_entry_mark_dirty(ictx); in ntfs_mark_quotas_out_of_date()100 ntfs_index_ctx_put(ictx); in ntfs_mark_quotas_out_of_date()111 if (ictx) in ntfs_mark_quotas_out_of_date()[all …]