| H A D | index.c | 205 static int bmp_buf_get(struct ntfs_index *indx, struct ntfs_inode *ni, in bmp_buf_get() 216 const struct INDEX_NAMES *in = &s_index_names[indx->type]; in bmp_buf_get() 247 bh = ntfs_bread_run(sbi, &indx->bitmap_run, off); in bmp_buf_get() 315 static int indx_mark_used(struct ntfs_index *indx, struct ntfs_inode *ni, in indx_mark_used() 321 err = bmp_buf_get(indx, ni, bit, &bbuf); in indx_mark_used() 335 static int indx_mark_free(struct ntfs_index *indx, struct ntfs_inode *ni, in indx_mark_free() 341 err = bmp_buf_get(indx, ni, bit, &bbuf); in indx_mark_free() 360 struct ntfs_index *indx, size_t from, in scan_nres_bitmap() 367 struct runs_tree *run = &indx->bitmap_run; in scan_nres_bitmap() 368 struct rw_semaphore *lock = &indx in scan_nres_bitmap() 204 bmp_buf_get(struct ntfs_index * indx,struct ntfs_inode * ni,size_t bit,struct bmp_buf * bbuf) bmp_buf_get() argument 314 indx_mark_used(struct ntfs_index * indx,struct ntfs_inode * ni,size_t bit) indx_mark_used() argument 334 indx_mark_free(struct ntfs_index * indx,struct ntfs_inode * ni,size_t bit) indx_mark_free() argument 359 scan_nres_bitmap(struct ntfs_inode * ni,struct ATTRIB * bitmap,struct ntfs_index * indx,size_t from,bool (* fn)(const ulong * buf,u32 bit,u32 bits,size_t * ret),size_t * ret) scan_nres_bitmap() argument 472 indx_find_free(struct ntfs_index * indx,struct ntfs_inode * ni,size_t * bit,struct ATTRIB ** bitmap) indx_find_free() argument 520 indx_used_bit(struct ntfs_index * indx,struct ntfs_inode * ni,size_t * bit) indx_used_bit() argument 750 hdr_find_e(const struct ntfs_index * indx,const struct INDEX_HDR * hdr,const void * key,size_t key_len,const void * ctx,int * diff,NTFS_CMP_FUNC cmp) hdr_find_e() argument 836 hdr_insert_de(const struct ntfs_index * indx,struct INDEX_HDR * hdr,const struct NTFS_DE * de,struct NTFS_DE * before,const void * ctx,NTFS_CMP_FUNC cmp) hdr_insert_de() argument 903 indx_clear(struct ntfs_index * indx) indx_clear() argument 909 indx_init(struct ntfs_index * indx,struct ntfs_sb_info * sbi,const struct ATTRIB * attr,enum index_mutex_classed type) indx_init() argument 962 indx_new(struct ntfs_index * indx,struct ntfs_inode * ni,CLST vbn,const __le64 * sub_vbn) indx_new() argument 1025 indx_get_root(struct ntfs_index * indx,struct ntfs_inode * ni,struct ATTRIB ** attr,struct mft_inode ** mi) indx_get_root() argument 1053 indx_write(struct ntfs_index * indx,struct ntfs_inode * ni,struct indx_node * node,int sync) indx_write() argument 1068 indx_read_ra(struct ntfs_index * indx,struct ntfs_inode * ni,CLST vbn,struct indx_node ** node,struct file_ra_state * ra) indx_read_ra() argument 1169 indx_find(struct ntfs_index * indx,struct ntfs_inode * ni,const struct INDEX_ROOT * root,const void * key,size_t key_len,const void * ctx,int * diff,struct NTFS_DE ** entry,struct ntfs_fnd * fnd) indx_find() argument 1244 indx_find_sort(struct ntfs_index * indx,struct ntfs_inode * ni,const struct INDEX_ROOT * root,struct NTFS_DE ** entry,struct ntfs_fnd * fnd) indx_find_sort() argument 1355 indx_find_raw(struct ntfs_index * indx,struct ntfs_inode * ni,const struct INDEX_ROOT * root,struct NTFS_DE ** entry,size_t * off,struct ntfs_fnd * fnd) indx_find_raw() argument 1474 indx_create_allocate(struct ntfs_index * indx,struct ntfs_inode * ni,CLST * vbn) indx_create_allocate() argument 1532 indx_add_allocate(struct ntfs_index * indx,struct ntfs_inode * ni,CLST * vbn) indx_add_allocate() argument 1628 indx_insert_into_root(struct ntfs_index * indx,struct ntfs_inode * ni,const struct NTFS_DE * new_de,struct NTFS_DE * root_de,const void * ctx,struct ntfs_fnd * fnd,bool undo,NTFS_CMP_FUNC cmp) indx_insert_into_root() argument 1857 indx_insert_into_buffer(struct ntfs_index * indx,struct ntfs_inode * ni,struct INDEX_ROOT * root,const struct NTFS_DE * new_de,const void * ctx,int level,struct ntfs_fnd * fnd,NTFS_CMP_FUNC cmp) indx_insert_into_buffer() argument 2023 indx_insert_entry(struct ntfs_index * indx,struct ntfs_inode * ni,const struct NTFS_DE * new_de,const void * ctx,struct ntfs_fnd * fnd,bool undo) indx_insert_entry() argument 2097 indx_find_buffer(struct ntfs_index * indx,struct ntfs_inode * ni,const struct INDEX_ROOT * root,__le64 vbn,struct indx_node * n,int depth) indx_find_buffer() argument 2152 indx_shrink(struct ntfs_index * indx,struct ntfs_inode * ni,size_t bit) indx_shrink() argument 2216 indx_free_children(struct ntfs_index * indx,struct ntfs_inode * ni,const struct NTFS_DE * e,bool trim) indx_free_children() argument 2266 indx_get_entry_to_replace(struct ntfs_index * indx,struct ntfs_inode * ni,const struct NTFS_DE * de_next,struct NTFS_DE ** de_to_replace,struct ntfs_fnd * fnd) indx_get_entry_to_replace() argument 2369 indx_delete_entry(struct ntfs_index * indx,struct ntfs_inode * ni,const void * key,u32 key_len,const void * ctx) indx_delete_entry() argument 2774 struct ntfs_index *indx = &ni->dir; indx_update_dup() local [all...] |