Lines Matching refs:ictx

27 	ntfs_index_context *ictx;  in ntfs_index_ctx_get()  local
29 ictx = kmem_cache_alloc(ntfs_index_ctx_cache, GFP_NOFS); in ntfs_index_ctx_get()
30 if (ictx) in ntfs_index_ctx_get()
31 *ictx = (ntfs_index_context){ .idx_ni = idx_ni }; in ntfs_index_ctx_get()
32 return ictx; in ntfs_index_ctx_get()
43 void ntfs_index_ctx_put(ntfs_index_context *ictx) in ntfs_index_ctx_put() argument
45 if (ictx->entry) { in ntfs_index_ctx_put()
46 if (ictx->is_in_root) { in ntfs_index_ctx_put()
47 if (ictx->actx) in ntfs_index_ctx_put()
48 ntfs_attr_put_search_ctx(ictx->actx); in ntfs_index_ctx_put()
49 if (ictx->base_ni) in ntfs_index_ctx_put()
50 unmap_mft_record(ictx->base_ni); in ntfs_index_ctx_put()
52 struct page *page = ictx->page; in ntfs_index_ctx_put()
60 kmem_cache_free(ntfs_index_ctx_cache, ictx); in ntfs_index_ctx_put()
106 ntfs_index_context *ictx) in ntfs_index_lookup() argument
109 ntfs_inode *idx_ni = ictx->idx_ni; in ntfs_index_lookup()
195 ictx->is_in_root = true; in ntfs_index_lookup()
196 ictx->ir = ir; in ntfs_index_lookup()
197 ictx->actx = actx; in ntfs_index_lookup()
198 ictx->base_ni = base_ni; in ntfs_index_lookup()
199 ictx->ia = NULL; in ntfs_index_lookup()
200 ictx->page = NULL; in ntfs_index_lookup()
202 ictx->entry = ie; in ntfs_index_lookup()
203 ictx->data = (u8*)ie + in ntfs_index_lookup()
205 ictx->data_len = le16_to_cpu(ie->data.vi.data_length); in ntfs_index_lookup()
365 ictx->is_in_root = false; in ntfs_index_lookup()
366 ictx->actx = NULL; in ntfs_index_lookup()
367 ictx->base_ni = NULL; in ntfs_index_lookup()
368 ictx->ia = ia; in ntfs_index_lookup()
369 ictx->page = page; in ntfs_index_lookup()