Home
last modified time | relevance | path

Searched refs:dict_t (Results 1 – 10 of 10) sorted by relevance

/external/e2fsprogs/lib/support/
Ddict.h63 typedef struct dict_t { struct
76 } dict_t; argument
78 typedef void (*dnode_process_t)(dict_t *, dnode_t *, void *);
82 dict_t *dict_dictptr;
89 extern dict_t *dict_create(dictcount_t, dict_comp_t);
90 extern void dict_set_allocator(dict_t *, dnode_alloc_t, dnode_free_t, void *);
91 extern void dict_destroy(dict_t *);
92 extern void dict_free_nodes(dict_t *);
93 extern void dict_free(dict_t *);
94 extern dict_t *dict_init(dict_t *, dictcount_t, dict_comp_t);
[all …]
Ddict.c144 static void free_nodes(dict_t *dict, dnode_t *node, dnode_t *nil) in free_nodes()
162 static int verify_bintree(dict_t *dict) in verify_bintree()
261 dict_t *dict_create(dictcount_t maxcount, dict_comp_t comp) in dict_create()
263 dict_t *new = malloc(sizeof *new); in dict_create()
286 void dict_set_allocator(dict_t *dict, dnode_alloc_t al, in dict_set_allocator()
303 void dict_destroy(dict_t *dict) in dict_destroy()
315 void dict_free_nodes(dict_t *dict) in dict_free_nodes()
328 void dict_free(dict_t *dict) in dict_free()
341 dict_t *dict_init(dict_t *dict, dictcount_t maxcount, dict_comp_t comp) in dict_init()
362 void dict_init_like(dict_t *dict, const dict_t *template) in dict_init_like()
[all …]
Dmkquota.c147 static void write_dquots(dict_t *dict, struct quota_handle *qh) in write_dquots()
167 dict_t *dict; in quota_write_inode()
295 dict_t *dict; in quota_init_context()
315 err = ext2fs_get_mem(sizeof(dict_t), &dict); in quota_init_context()
334 dict_t *dict; in quota_release_context()
362 static struct dquot *get_dq(dict_t *dict, __u32 key) in get_dq()
391 dict_t *dict; in quota_data_add()
420 dict_t *dict; in quota_data_sub()
447 dict_t *dict; in quota_data_inodes()
519 dict_t *quota_dict;
[all …]
Dquotaio.h63 struct dict_t;
67 struct dict_t *quota_dict[MAXQUOTAS];
/external/f2fs-tools/fsck/
Ddict.h63 typedef struct dict_t { struct
76 } dict_t; argument
78 typedef void (*dnode_process_t)(dict_t *, dnode_t *, void *);
82 dict_t *dict_dictptr;
89 extern dict_t *dict_create(dictcount_t, dict_comp_t);
90 extern void dict_set_allocator(dict_t *, dnode_alloc_t, dnode_free_t, void *);
91 extern void dict_destroy(dict_t *);
92 extern void dict_free_nodes(dict_t *);
93 extern void dict_free(dict_t *);
94 extern dict_t *dict_init(dict_t *, dictcount_t, dict_comp_t);
[all …]
Ddict.c136 static void free_nodes(dict_t *dict, dnode_t *node, dnode_t *nil) in free_nodes()
154 static int verify_bintree(dict_t *dict) in verify_bintree()
248 dict_t *dict_create(dictcount_t maxcount, dict_comp_t comp) in dict_create()
250 dict_t *new = malloc(sizeof *new); in dict_create()
272 void dict_set_allocator(dict_t *dict, dnode_alloc_t al, in dict_set_allocator()
288 void dict_destroy(dict_t *dict) in dict_destroy()
299 void dict_free_nodes(dict_t *dict) in dict_free_nodes()
312 void dict_free(dict_t *dict) in dict_free()
324 dict_t *dict_init(dict_t *dict, dictcount_t maxcount, dict_comp_t comp) in dict_init()
344 void dict_init_like(dict_t *dict, const dict_t *template) in dict_init_like()
[all …]
Dmkquota.c45 static void write_dquots(dict_t *dict, struct quota_handle *qh) in write_dquots()
69 dict_t *dict; in quota_write_inode()
147 dict_t *dict; in quota_init_context()
163 err = quota_get_mem(sizeof(dict_t), &dict); in quota_init_context()
180 dict_t *dict; in quota_release_context()
201 static struct dquot *get_dq(dict_t *dict, __u32 key) in get_dq()
227 dict_t *dict; in quota_data_add()
249 dict_t *dict; in quota_data_sub()
270 dict_t *dict; enum quota_type qtype; in quota_data_inodes()
308 dict_t *quota_dict;
[all …]
Dquotaio.h59 struct dict_t *quota_dict[MAXQUOTAS];
61 struct dict_t linked_inode_dict;
/external/e2fsprogs/e2fsck/
Dpass1b.c103 static dict_t clstr_dict, ino_dict;
Dpass2.c925 static dict_t de_dict; in check_dir_block()