Home
last modified time | relevance | path

Searched defs:c (Results 1 – 25 of 289) sorted by relevance

12345678910>>...12

/fs/jffs2/
Dos-linux.h25 #define OFNI_BS_2SFFJ(c) ((struct super_block *)c->os_priv) argument
63 #define jffs2_is_readonly(c) (OFNI_BS_2SFFJ(c)->s_flags & SB_RDONLY) argument
70 #define jffs2_can_mark_obsolete(c) (0) argument
72 #define jffs2_can_mark_obsolete(c) (1) argument
75 #define jffs2_is_writebuffered(c) (0) argument
76 #define jffs2_cleanmarker_oob(c) (0) argument
77 #define jffs2_write_nand_cleanmarker(c,jeb) (-EIO) argument
79 #define jffs2_flash_write(c, ofs, len, retlen, buf) jffs2_flash_direct_write(c, ofs, len, retlen, b… argument
80 #define jffs2_flash_read(c, ofs, len, retlen, buf) (mtd_read((c)->mtd, ofs, len, retlen, buf)) argument
81 #define jffs2_flush_wbuf_pad(c) ({ do{} while(0); (void)(c), 0; }) argument
[all …]
Dwbuf.c48 static int jffs2_wbuf_pending_for_ino(struct jffs2_sb_info *c, uint32_t ino) in jffs2_wbuf_pending_for_ino()
69 static void jffs2_clear_wbuf_ino_list(struct jffs2_sb_info *c) in jffs2_clear_wbuf_ino_list()
85 static void jffs2_wbuf_dirties_inode(struct jffs2_sb_info *c, uint32_t ino) in jffs2_wbuf_dirties_inode()
108 static inline void jffs2_refile_wbuf_blocks(struct jffs2_sb_info *c) in jffs2_refile_wbuf_blocks()
141 static void jffs2_block_refile(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb, int allow_emp… in jffs2_block_refile()
182 static struct jffs2_raw_node_ref **jffs2_incore_replace_raw(struct jffs2_sb_info *c, in jffs2_incore_replace_raw()
230 static int jffs2_verify_write(struct jffs2_sb_info *c, unsigned char *buf, in jffs2_verify_write()
269 #define jffs2_verify_write(c,b,o) (0) argument
275 static void jffs2_wbuf_recover(struct jffs2_sb_info *c) in jffs2_wbuf_recover()
580 static int __jffs2_flush_wbuf(struct jffs2_sb_info *c, int pad) in __jffs2_flush_wbuf()
[all …]
Dnodelist.c26 void jffs2_add_fd_to_list(struct jffs2_sb_info *c, struct jffs2_full_dirent *new, struct jffs2_full… in jffs2_add_fd_to_list()
59 uint32_t jffs2_truncate_fragtree(struct jffs2_sb_info *c, struct rb_root *list, uint32_t size) in jffs2_truncate_fragtree()
101 static void jffs2_obsolete_node_frag(struct jffs2_sb_info *c, in jffs2_obsolete_node_frag()
169 static int no_overlapping_node(struct jffs2_sb_info *c, struct rb_root *root, in no_overlapping_node()
215 static int jffs2_add_frag_to_fragtree(struct jffs2_sb_info *c, struct rb_root *root, struct jffs2_n… in jffs2_add_frag_to_fragtree()
363 int jffs2_add_full_dnode_to_inode(struct jffs2_sb_info *c, struct jffs2_inode_info *f, struct jffs2… in jffs2_add_full_dnode_to_inode()
408 void jffs2_set_inocache_state(struct jffs2_sb_info *c, struct jffs2_inode_cache *ic, int state) in jffs2_set_inocache_state()
421 struct jffs2_inode_cache *jffs2_get_ino_cache(struct jffs2_sb_info *c, uint32_t ino) in jffs2_get_ino_cache()
436 void jffs2_add_ino_cache (struct jffs2_sb_info *c, struct jffs2_inode_cache *new) in jffs2_add_ino_cache()
457 void jffs2_del_ino_cache(struct jffs2_sb_info *c, struct jffs2_inode_cache *old) in jffs2_del_ino_cache()
[all …]
Dxattr.c71 static int is_xattr_datum_unchecked(struct jffs2_sb_info *c, struct jffs2_xattr_datum *xd) in is_xattr_datum_unchecked()
87 static void unload_xattr_datum(struct jffs2_sb_info *c, struct jffs2_xattr_datum *xd) in unload_xattr_datum()
102 static void reclaim_xattr_datum(struct jffs2_sb_info *c) in reclaim_xattr_datum()
132 static int do_verify_xattr_datum(struct jffs2_sb_info *c, struct jffs2_xattr_datum *xd) in do_verify_xattr_datum()
204 static int do_load_xattr_datum(struct jffs2_sb_info *c, struct jffs2_xattr_datum *xd) in do_load_xattr_datum()
263 static int load_xattr_datum(struct jffs2_sb_info *c, struct jffs2_xattr_datum *xd) in load_xattr_datum()
284 static int save_xattr_datum(struct jffs2_sb_info *c, struct jffs2_xattr_datum *xd) in save_xattr_datum()
336 static struct jffs2_xattr_datum *create_xattr_datum(struct jffs2_sb_info *c, in create_xattr_datum()
404 static void unrefer_xattr_datum(struct jffs2_sb_info *c, struct jffs2_xattr_datum *xd) in unrefer_xattr_datum()
444 static int verify_xattr_ref(struct jffs2_sb_info *c, struct jffs2_xattr_ref *ref) in verify_xattr_ref()
[all …]
/fs/ubifs/
Dkey.h90 static inline void ino_key_init(const struct ubifs_info *c, in ino_key_init()
103 static inline void ino_key_init_flash(const struct ubifs_info *c, void *k, in ino_key_init_flash()
119 static inline void lowest_ino_key(const struct ubifs_info *c, in lowest_ino_key()
132 static inline void highest_ino_key(const struct ubifs_info *c, in highest_ino_key()
146 static inline void dent_key_init(const struct ubifs_info *c, in dent_key_init()
165 static inline void dent_key_init_hash(const struct ubifs_info *c, in dent_key_init_hash()
181 static inline void dent_key_init_flash(const struct ubifs_info *c, void *k, in dent_key_init_flash()
201 static inline void lowest_dent_key(const struct ubifs_info *c, in lowest_dent_key()
215 static inline void xent_key_init(const struct ubifs_info *c, in xent_key_init()
233 static inline void xent_key_init_flash(const struct ubifs_info *c, void *k, in xent_key_init_flash()
[all …]
Dlpt_commit.c30 static struct ubifs_cnode *first_dirty_cnode(const struct ubifs_info *c, struct ubifs_nnode *nnode) in first_dirty_cnode()
61 static struct ubifs_cnode *next_dirty_cnode(const struct ubifs_info *c, struct ubifs_cnode *cnode) in next_dirty_cnode()
88 static int get_cnodes_to_commit(struct ubifs_info *c) in get_cnodes_to_commit()
129 static void upd_ltab(struct ubifs_info *c, int lnum, int free, int dirty) in upd_ltab()
149 static int alloc_lpt_leb(struct ubifs_info *c, int *lnum) in alloc_lpt_leb()
182 static int layout_cnodes(struct ubifs_info *c) in layout_cnodes()
333 static int realloc_lpt_leb(struct ubifs_info *c, int *lnum) in realloc_lpt_leb()
360 static int write_cnodes(struct ubifs_info *c) in write_cnodes()
552 static struct ubifs_pnode *next_pnode_to_dirty(struct ubifs_info *c, in next_pnode_to_dirty()
614 static void add_pnode_dirt(struct ubifs_info *c, struct ubifs_pnode *pnode) in add_pnode_dirt()
[all …]
Dbudget.c51 static void shrink_liability(struct ubifs_info *c, int nr_to_write) in shrink_liability()
66 static int run_gc(struct ubifs_info *c) in run_gc()
89 static long long get_liability(struct ubifs_info *c) in get_liability()
117 static int make_free_space(struct ubifs_info *c) in make_free_space()
163 int ubifs_calc_min_idx_lebs(struct ubifs_info *c) in ubifs_calc_min_idx_lebs()
194 long long ubifs_calc_available(const struct ubifs_info *c, int min_idx_lebs) in ubifs_calc_available()
257 static int can_use_rp(struct ubifs_info *c) in can_use_rp()
290 static int do_budget_space(struct ubifs_info *c) in do_budget_space()
358 static int calc_idx_growth(const struct ubifs_info *c, in calc_idx_growth()
374 static int calc_data_growth(const struct ubifs_info *c, in calc_data_growth()
[all …]
Dsuper.c69 static int validate_inode(struct ubifs_info *c, const struct inode *inode) in validate_inode()
108 struct ubifs_info *c = sb->s_fs_info; in ubifs_iget() local
295 struct ubifs_info *c = inode->i_sb->s_fs_info; in ubifs_write_inode() local
349 struct ubifs_info *c = inode->i_sb->s_fs_info; in ubifs_evict_inode() local
396 struct ubifs_info *c = inode->i_sb->s_fs_info; in ubifs_dirty_inode() local
408 struct ubifs_info *c = dentry->d_sb->s_fs_info; in ubifs_statfs() local
435 struct ubifs_info *c = root->d_sb->s_fs_info; in ubifs_show_options() local
466 struct ubifs_info *c = sb->s_fs_info; in ubifs_sync_fs() local
509 static int init_constants_early(struct ubifs_info *c) in init_constants_early()
659 static int bud_wbuf_callback(struct ubifs_info *c, int lnum, int free, int pad) in bud_wbuf_callback()
[all …]
Dmisc.h56 static inline void ubifs_wake_up_bgt(struct ubifs_info *c) in ubifs_wake_up_bgt()
101 static inline int ubifs_compr_present(struct ubifs_info *c, int compr_type) in ubifs_compr_present()
114 static inline const char *ubifs_compr_name(struct ubifs_info *c, int compr_type) in ubifs_compr_name()
161 static inline int ubifs_add_dirt(struct ubifs_info *c, int lnum, int dirty) in ubifs_add_dirt()
175 static inline int ubifs_return_leb(struct ubifs_info *c, int lnum) in ubifs_return_leb()
186 static inline int ubifs_idx_node_sz(const struct ubifs_info *c, int child_cnt) in ubifs_idx_node_sz()
199 struct ubifs_branch *ubifs_idx_branch(const struct ubifs_info *c, in ubifs_idx_branch()
212 static inline void *ubifs_idx_key(const struct ubifs_info *c, in ubifs_idx_key()
229 static inline int ubifs_tnc_lookup(struct ubifs_info *c, in ubifs_tnc_lookup()
242 static inline void ubifs_get_lprops(struct ubifs_info *c) in ubifs_get_lprops()
[all …]
Dlprops.c50 static void move_up_lpt_heap(struct ubifs_info *c, struct ubifs_lpt_heap *heap, in move_up_lpt_heap()
87 static void adjust_lpt_heap(struct ubifs_info *c, struct ubifs_lpt_heap *heap, in adjust_lpt_heap()
166 static int add_to_lpt_heap(struct ubifs_info *c, struct ubifs_lprops *lprops, in add_to_lpt_heap()
214 static void remove_from_lpt_heap(struct ubifs_info *c, in remove_from_lpt_heap()
243 static void lpt_heap_replace(struct ubifs_info *c, in lpt_heap_replace()
261 void ubifs_add_to_cat(struct ubifs_info *c, struct ubifs_lprops *lprops, in ubifs_add_to_cat()
304 static void ubifs_remove_from_cat(struct ubifs_info *c, in ubifs_remove_from_cat()
341 void ubifs_replace_cat(struct ubifs_info *c, struct ubifs_lprops *old_lprops, in ubifs_replace_cat()
373 void ubifs_ensure_cat(struct ubifs_info *c, struct ubifs_lprops *lprops) in ubifs_ensure_cat()
396 int ubifs_categorize_lprops(const struct ubifs_info *c, in ubifs_categorize_lprops()
[all …]
Dauth.c28 int __ubifs_node_calc_hash(const struct ubifs_info *c, const void *node, in __ubifs_node_calc_hash()
45 static int ubifs_hash_calc_hmac(const struct ubifs_info *c, const u8 *hash, in ubifs_hash_calc_hmac()
62 int ubifs_prepare_auth_node(struct ubifs_info *c, void *node, in ubifs_prepare_auth_node()
89 static struct shash_desc *ubifs_get_desc(const struct ubifs_info *c, in ubifs_get_desc()
120 struct shash_desc *__ubifs_hash_get_desc(const struct ubifs_info *c) in __ubifs_hash_get_desc()
136 void ubifs_bad_hash(const struct ubifs_info *c, const void *node, const u8 *hash, in ubifs_bad_hash()
162 int __ubifs_node_check_hash(const struct ubifs_info *c, const void *node, in __ubifs_node_check_hash()
190 int ubifs_sb_verify_signature(struct ubifs_info *c, in ubifs_sb_verify_signature()
255 int ubifs_init_authentication(struct ubifs_info *c) in ubifs_init_authentication()
365 void __ubifs_exit_authentication(struct ubifs_info *c) in __ubifs_exit_authentication()
[all …]
Dtnc.c47 static void do_insert_old_idx(struct ubifs_info *c, in do_insert_old_idx()
98 static int insert_old_idx(struct ubifs_info *c, int lnum, int offs) in insert_old_idx()
119 int insert_old_idx_znode(struct ubifs_info *c, struct ubifs_znode *znode) in insert_old_idx_znode()
141 static int ins_clr_old_idx_znode(struct ubifs_info *c, in ins_clr_old_idx_znode()
180 void destroy_old_idx(struct ubifs_info *c) in destroy_old_idx()
197 static struct ubifs_znode *copy_znode(struct ubifs_info *c, in copy_znode()
221 static int add_idx_dirt(struct ubifs_info *c, int lnum, int dirt) in add_idx_dirt()
236 static void replace_znode(struct ubifs_info *c, struct ubifs_znode *new_zn, in replace_znode()
270 static struct ubifs_znode *dirty_cow_znode(struct ubifs_info *c, in dirty_cow_znode()
343 static int lnc_add(struct ubifs_info *c, struct ubifs_zbranch *zbr, in lnc_add()
[all …]
Dio.c70 void ubifs_ro_mode(struct ubifs_info *c, int err) in ubifs_ro_mode()
87 int ubifs_leb_read(const struct ubifs_info *c, int lnum, void *buf, int offs, in ubifs_leb_read()
105 int ubifs_leb_write(struct ubifs_info *c, int lnum, const void *buf, int offs, in ubifs_leb_write()
126 int ubifs_leb_change(struct ubifs_info *c, int lnum, const void *buf, int len) in ubifs_leb_change()
146 int ubifs_leb_unmap(struct ubifs_info *c, int lnum) in ubifs_leb_unmap()
165 int ubifs_leb_map(struct ubifs_info *c, int lnum) in ubifs_leb_map()
184 int ubifs_is_mapped(const struct ubifs_info *c, int lnum) in ubifs_is_mapped()
244 int ubifs_check_node(const struct ubifs_info *c, const void *buf, int len, in ubifs_check_node()
328 void ubifs_pad(const struct ubifs_info *c, void *buf, int pad) in ubifs_pad()
358 static unsigned long long next_sqnum(struct ubifs_info *c) in next_sqnum()
[all …]
Dorphan.c53 int ubifs_add_orphan(struct ubifs_info *c, ino_t inum) in ubifs_add_orphan()
97 static struct ubifs_orphan *lookup_orphan(struct ubifs_info *c, ino_t inum) in lookup_orphan()
116 static void __orphan_drop(struct ubifs_info *c, struct ubifs_orphan *o) in __orphan_drop()
130 static void orphan_delete(struct ubifs_info *c, struct ubifs_orphan *orph) in orphan_delete()
156 void ubifs_delete_orphan(struct ubifs_info *c, ino_t inum) in ubifs_delete_orphan()
182 int ubifs_orphan_start_commit(struct ubifs_info *c) in ubifs_orphan_start_commit()
216 static int avail_orphs(struct ubifs_info *c) in avail_orphs()
236 static int tot_avail_orphs(struct ubifs_info *c) in tot_avail_orphs()
256 static int do_write_orph_node(struct ubifs_info *c, int len, int atomic) in do_write_orph_node()
287 static int write_orph_node(struct ubifs_info *c, int atomic) in write_orph_node()
[all …]
Dlpt.c46 static void do_calc_lpt_geom(struct ubifs_info *c) in do_calc_lpt_geom()
125 int ubifs_calc_lpt_geom(struct ubifs_info *c) in ubifs_calc_lpt_geom()
162 static int calc_dflt_lpt_geom(struct ubifs_info *c, int *main_lebs, in calc_dflt_lpt_geom()
222 static void pack_bits(const struct ubifs_info *c, uint8_t **addr, int *pos, uint32_t val, int nrbit… in pack_bits()
273 uint32_t ubifs_unpack_bits(const struct ubifs_info *c, uint8_t **addr, int *pos, int nrbits) in ubifs_unpack_bits()
340 void ubifs_pack_pnode(struct ubifs_info *c, void *buf, in ubifs_pack_pnode()
373 void ubifs_pack_nnode(struct ubifs_info *c, void *buf, in ubifs_pack_nnode()
405 void ubifs_pack_ltab(struct ubifs_info *c, void *buf, in ubifs_pack_ltab()
430 void ubifs_pack_lsave(struct ubifs_info *c, void *buf, int *lsave) in ubifs_pack_lsave()
452 void ubifs_add_lpt_dirt(struct ubifs_info *c, int lnum, int dirty) in ubifs_add_lpt_dirt()
[all …]
/fs/bcachefs/
Dsuper.c92 void bch2_print_str(struct bch_fs *c, const char *str) in bch2_print_str()
130 void __bch2_print(struct bch_fs *c, const char *fmt, ...) in __bch2_print()
195 struct bch_fs *c; in bch2_dev_to_fs() local
216 struct bch_fs *c; in __bch2_uuid_to_fs() local
229 struct bch_fs *c; in bch2_uuid_to_fs() local
257 static void __bch2_fs_read_only(struct bch_fs *c) in __bch2_fs_read_only()
307 struct bch_fs *c = container_of(writes, struct bch_fs, writes); in bch2_writes_disabled() local
314 void bch2_fs_read_only(struct bch_fs *c) in bch2_fs_read_only()
390 struct bch_fs *c = in bch2_fs_read_only_work() local
398 static void bch2_fs_read_only_async(struct bch_fs *c) in bch2_fs_read_only_async()
[all …]
Dsnapshot.h43 static inline const struct snapshot_t *snapshot_t(struct bch_fs *c, u32 id) in snapshot_t()
48 static inline u32 bch2_snapshot_tree(struct bch_fs *c, u32 id) in bch2_snapshot_tree()
58 static inline u32 __bch2_snapshot_parent_early(struct bch_fs *c, u32 id) in __bch2_snapshot_parent_early()
64 static inline u32 bch2_snapshot_parent_early(struct bch_fs *c, u32 id) in bch2_snapshot_parent_early()
73 static inline u32 __bch2_snapshot_parent(struct bch_fs *c, u32 id) in __bch2_snapshot_parent()
90 static inline u32 bch2_snapshot_parent(struct bch_fs *c, u32 id) in bch2_snapshot_parent()
99 static inline u32 bch2_snapshot_nth_parent(struct bch_fs *c, u32 id, u32 n) in bch2_snapshot_nth_parent()
111 static inline u32 bch2_snapshot_root(struct bch_fs *c, u32 id) in bch2_snapshot_root()
123 static inline u32 __bch2_snapshot_equiv(struct bch_fs *c, u32 id) in __bch2_snapshot_equiv()
129 static inline u32 bch2_snapshot_equiv(struct bch_fs *c, u32 id) in bch2_snapshot_equiv()
[all …]
Dsb-members.h70 static inline struct bch_dev *__bch2_next_dev_idx(struct bch_fs *c, unsigned idx, in __bch2_next_dev_idx()
85 static inline struct bch_dev *__bch2_next_dev(struct bch_fs *c, struct bch_dev *ca, in __bch2_next_dev()
124 static inline struct bch_dev *bch2_get_next_dev(struct bch_fs *c, struct bch_dev *ca) in bch2_get_next_dev()
145 static inline struct bch_dev *bch2_get_next_online_dev(struct bch_fs *c, in bch2_get_next_online_dev()
166 #define for_each_online_member(c, ca) \ argument
169 #define for_each_rw_member(c, ca) \ argument
172 #define for_each_readable_member(c, ca) \ argument
175 static inline bool bch2_dev_exists(const struct bch_fs *c, unsigned dev) in bch2_dev_exists()
185 static inline struct bch_dev *bch2_dev_have_ref(const struct bch_fs *c, unsigned dev) in bch2_dev_have_ref()
192 static inline struct bch_dev *bch2_dev_locked(struct bch_fs *c, unsigned dev) in bch2_dev_locked()
[all …]
Dtests.c13 static void delete_test_keys(struct bch_fs *c) in delete_test_keys()
32 static int test_delete(struct bch_fs *c, u64 nr) in test_delete()
73 static int test_delete_written(struct bch_fs *c, u64 nr) in test_delete_written()
108 static int test_iterate(struct bch_fs *c, u64 nr) in test_iterate()
162 static int test_iterate_extents(struct bch_fs *c, u64 nr) in test_iterate_extents()
219 static int test_iterate_slots(struct bch_fs *c, u64 nr) in test_iterate_slots()
278 static int test_iterate_slots_extents(struct bch_fs *c, u64 nr) in test_iterate_slots_extents()
343 static int test_peek_end(struct bch_fs *c, u64 nr) in test_peek_end()
363 static int test_peek_end_extents(struct bch_fs *c, u64 nr) in test_peek_end_extents()
387 static int insert_test_extent(struct bch_fs *c, in insert_test_extent()
[all …]
Dchardev.c27 static struct bch_dev *bch2_device_lookup(struct bch_fs *c, u64 dev, in bch2_device_lookup()
132 struct bch_fs *c; member
145 struct bch_fs *c = thr->c; in bch2_fsck_offline_thread_fn() local
279 static long bch2_ioctl_query_uuid(struct bch_fs *c, in bch2_ioctl_query_uuid()
308 static long bch2_ioctl_disk_add(struct bch_fs *c, struct bch_ioctl_disk arg) in bch2_ioctl_disk_add()
331 static long bch2_ioctl_disk_remove(struct bch_fs *c, struct bch_ioctl_disk arg) in bch2_ioctl_disk_remove()
352 static long bch2_ioctl_disk_online(struct bch_fs *c, struct bch_ioctl_disk arg) in bch2_ioctl_disk_online()
373 static long bch2_ioctl_disk_offline(struct bch_fs *c, struct bch_ioctl_disk arg) in bch2_ioctl_disk_offline()
397 static long bch2_ioctl_disk_set_state(struct bch_fs *c, in bch2_ioctl_disk_set_state()
429 struct bch_fs *c; member
[all …]
Dec.c111 int bch2_stripe_validate(struct bch_fs *c, struct bkey_s_c k, in bch2_stripe_validate()
137 void bch2_stripe_to_text(struct printbuf *out, struct bch_fs *c, in bch2_stripe_to_text()
198 struct bch_fs *c = trans->c; in __mark_stripe_bucket() local
285 struct bch_fs *c = trans->c; in mark_stripe_bucket() local
389 struct bch_fs *c = trans->c; in bch2_trigger_stripe() local
635 static void ec_validate_checksums(struct bch_fs *c, struct ec_stripe_buf *buf) in ec_validate_checksums()
699 static int ec_do_recov(struct bch_fs *c, struct ec_stripe_buf *buf) in ec_do_recov()
753 static void ec_block_io(struct bch_fs *c, struct ec_stripe_buf *buf, in ec_block_io()
844 struct bch_fs *c = trans->c; in bch2_ec_read_extent() local
919 static int __ec_stripe_mem_alloc(struct bch_fs *c, size_t idx, gfp_t gfp) in __ec_stripe_mem_alloc()
[all …]
Dbtree_gc.c72 static inline void __gc_pos_set(struct bch_fs *c, struct gc_pos new_pos) in __gc_pos_set()
81 static inline void gc_pos_set(struct bch_fs *c, struct gc_pos new_pos) in gc_pos_set()
111 static int set_node_min(struct bch_fs *c, struct btree *b, struct bpos new_min) in set_node_min()
147 static int set_node_max(struct bch_fs *c, struct btree *b, struct bpos new_max) in set_node_max()
198 struct bch_fs *c = trans->c; in btree_check_node_boundaries() local
273 struct bch_fs *c = trans->c; in btree_repair_node_end() local
311 struct bch_fs *c = trans->c; in bch2_btree_repair_topology_recurse() local
510 int bch2_check_topology(struct bch_fs *c) in bch2_check_topology()
581 struct bch_fs *c = trans->c; in bch2_gc_mark_key() local
656 struct bch_fs *c = trans->c; in bch2_gc_btree() local
[all …]
Dbtree_cache.h97 static inline size_t btree_max_u64s(const struct bch_fs *c) in btree_max_u64s()
102 static inline size_t btree_sectors(const struct bch_fs *c) in btree_sectors()
107 static inline unsigned btree_blocks(const struct bch_fs *c) in btree_blocks()
112 #define BTREE_SPLIT_THRESHOLD(c) (btree_max_u64s(c) * 2 / 3) argument
114 #define BTREE_FOREGROUND_MERGE_THRESHOLD(c) (btree_max_u64s(c) * 1 / 3) argument
115 #define BTREE_FOREGROUND_MERGE_HYSTERESIS(c) \ argument
119 static inline unsigned btree_id_nr_alive(struct bch_fs *c) in btree_id_nr_alive()
124 static inline struct btree_root *bch2_btree_id_root(struct bch_fs *c, unsigned id) in bch2_btree_id_root()
136 static inline struct btree *btree_node_root(struct bch_fs *c, struct btree *b) in btree_node_root()
Djournal_io.c20 void bch2_journal_pos_from_member_info_set(struct bch_fs *c) in bch2_journal_pos_from_member_info_set()
32 void bch2_journal_pos_from_member_info_resume(struct bch_fs *c) in bch2_journal_pos_from_member_info_resume()
48 void bch2_journal_ptrs_to_text(struct printbuf *out, struct bch_fs *c, in bch2_journal_ptrs_to_text()
59 static void bch2_journal_replay_to_text(struct printbuf *out, struct bch_fs *c, in bch2_journal_replay_to_text()
84 static bool jset_csum_good(struct bch_fs *c, struct jset *j, struct bch_csum *csum) in jset_csum_good()
95 static inline u32 journal_entry_radix_idx(struct bch_fs *c, u64 seq) in journal_entry_radix_idx()
100 static void __journal_replay_free(struct bch_fs *c, in __journal_replay_free()
112 static void journal_replay_free(struct bch_fs *c, struct journal_replay *i, bool blacklisted) in journal_replay_free()
137 static int journal_entry_add(struct bch_fs *c, struct bch_dev *ca, in journal_entry_add()
295 #define journal_entry_err(c, version, jset, entry, _err, msg, ...) \ argument
[all …]
/fs/smb/server/
Dcrypto_ctx.h39 #define CRYPTO_HMACMD5(c) ((c)->desc[CRYPTO_SHASH_HMACMD5]) argument
40 #define CRYPTO_HMACSHA256(c) ((c)->desc[CRYPTO_SHASH_HMACSHA256]) argument
41 #define CRYPTO_CMACAES(c) ((c)->desc[CRYPTO_SHASH_CMACAES]) argument
42 #define CRYPTO_SHA256(c) ((c)->desc[CRYPTO_SHASH_SHA256]) argument
43 #define CRYPTO_SHA512(c) ((c)->desc[CRYPTO_SHASH_SHA512]) argument
45 #define CRYPTO_HMACMD5_TFM(c) ((c)->desc[CRYPTO_SHASH_HMACMD5]->tfm) argument
46 #define CRYPTO_HMACSHA256_TFM(c)\ argument
48 #define CRYPTO_CMACAES_TFM(c) ((c)->desc[CRYPTO_SHASH_CMACAES]->tfm) argument
49 #define CRYPTO_SHA256_TFM(c) ((c)->desc[CRYPTO_SHASH_SHA256]->tfm) argument
50 #define CRYPTO_SHA512_TFM(c) ((c)->desc[CRYPTO_SHASH_SHA512]->tfm) argument
[all …]

12345678910>>...12