Home
last modified time | relevance | path

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

/third_party/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 int write_dquots(dict_t *dict, struct quota_handle *qh) in write_dquots()
73 dict_t *dict; in quota_write_inode()
151 dict_t *dict; in quota_init_context()
167 err = quota_get_mem(sizeof(dict_t), &dict); in quota_init_context()
184 dict_t *dict; in quota_release_context()
205 static struct dquot *get_dq(dict_t *dict, __u32 key) in get_dq()
231 dict_t *dict; in quota_data_add()
253 dict_t *dict; in quota_data_sub()
274 dict_t *dict; enum quota_type qtype; in quota_data_inodes()
312 dict_t *quota_dict;
[all …]
Dquotaio.h69 struct dict_t *quota_dict[MAXQUOTAS];
71 struct dict_t linked_inode_dict;