Home
last modified time | relevance | path

Searched refs:br (Results 1 – 9 of 9) sorted by relevance

/fs/xfs/scrub/
Dbitmap.c104 struct xfs_bitmap_range *br; in xfs_bitmap_disunion() local
131 br = list_entry(lp, struct xfs_bitmap_range, list); in xfs_bitmap_disunion()
137 while (sub_br->start + sub_br->len <= br->start) { in xfs_bitmap_disunion()
142 if (sub_br->start >= br->start + br->len) { in xfs_bitmap_disunion()
150 if (sub_br->start < br->start) { in xfs_bitmap_disunion()
151 sub_len -= br->start - sub_br->start; in xfs_bitmap_disunion()
152 sub_start = br->start; in xfs_bitmap_disunion()
154 if (sub_len > br->len) in xfs_bitmap_disunion()
155 sub_len = br->len; in xfs_bitmap_disunion()
158 if (sub_start == br->start) in xfs_bitmap_disunion()
[all …]
Dagheader_repair.c485 struct xfs_bitmap_range *br; in xrep_agfl_collect_blocks() local
531 for_each_xfs_bitmap_extent(br, n, agfl_extents) { in xrep_agfl_collect_blocks()
532 *flcount += br->len; in xrep_agfl_collect_blocks()
581 struct xfs_bitmap_range *br; in xrep_agfl_init_header() local
606 for_each_xfs_bitmap_extent(br, n, agfl_extents) { in xrep_agfl_init_header()
607 agbno = XFS_FSB_TO_AGBNO(mp, br->start); in xrep_agfl_init_header()
609 trace_xrep_agfl_insert(mp, sc->sa.agno, agbno, br->len); in xrep_agfl_init_header()
611 while (br->len > 0 && fl_off < flcount) { in xrep_agfl_init_header()
620 br->start++; in xrep_agfl_init_header()
621 br->len--; in xrep_agfl_init_header()
[all …]
/fs/ubifs/
Dcommit.c584 struct ubifs_branch *br; in dbg_check_old_index() local
638 br = ubifs_idx_branch(c, idx, child_cnt - 1); in dbg_check_old_index()
639 key_read(c, &br->key, &u_key); in dbg_check_old_index()
684 br = ubifs_idx_branch(c, idx, iip); in dbg_check_old_index()
685 lnum = le32_to_cpu(br->lnum); in dbg_check_old_index()
686 offs = le32_to_cpu(br->offs); in dbg_check_old_index()
687 len = le32_to_cpu(br->len); in dbg_check_old_index()
688 key_read(c, &br->key, &lower_key); in dbg_check_old_index()
690 br = ubifs_idx_branch(c, idx, iip + 1); in dbg_check_old_index()
691 key_read(c, &br->key, &upper_key); in dbg_check_old_index()
Dtnc_commit.c37 struct ubifs_branch *br = ubifs_idx_branch(c, idx, i); in make_idx_node() local
40 key_write_idx(c, &zbr->key, &br->key); in make_idx_node()
41 br->lnum = cpu_to_le32(zbr->lnum); in make_idx_node()
42 br->offs = cpu_to_le32(zbr->offs); in make_idx_node()
43 br->len = cpu_to_le32(zbr->len); in make_idx_node()
44 ubifs_copy_hash(c, zbr->hash, ubifs_branch_hash(c, br)); in make_idx_node()
870 struct ubifs_branch *br = ubifs_idx_branch(c, idx, i); in write_index() local
873 key_write_idx(c, &zbr->key, &br->key); in write_index()
874 br->lnum = cpu_to_le32(zbr->lnum); in write_index()
875 br->offs = cpu_to_le32(zbr->offs); in write_index()
[all …]
Dtnc_misc.c307 struct ubifs_branch *br = ubifs_idx_branch(c, idx, i); in read_znode() local
310 key_read(c, &br->key, &zbr->key); in read_znode()
311 zbr->lnum = le32_to_cpu(br->lnum); in read_znode()
312 zbr->offs = le32_to_cpu(br->offs); in read_znode()
313 zbr->len = le32_to_cpu(br->len); in read_znode()
314 ubifs_copy_hash(c, ubifs_branch_hash(c, br), zbr->hash); in read_znode()
Dsb.c77 struct ubifs_branch *br; in create_default_filesystem() local
279 br = ubifs_idx_branch(c, idx, 0); in create_default_filesystem()
280 key_write_idx(c, &key, &br->key); in create_default_filesystem()
281 br->lnum = cpu_to_le32(main_first + DEFAULT_DATA_LEB); in create_default_filesystem()
282 br->len = cpu_to_le32(UBIFS_INO_NODE_SZ); in create_default_filesystem()
332 ubifs_copy_hash(c, hash, ubifs_branch_hash(c, br)); in create_default_filesystem()
Dubifs.h1625 struct ubifs_branch *br) in ubifs_branch_hash() argument
1627 return (void *)br + sizeof(*br) + c->key_len; in ubifs_branch_hash()
Ddebug.c505 const struct ubifs_branch *br; in ubifs_dump_node() local
507 br = ubifs_idx_branch(c, idx, i); in ubifs_dump_node()
508 key_read(c, &br->key, &key); in ubifs_dump_node()
510 i, le32_to_cpu(br->lnum), le32_to_cpu(br->offs), in ubifs_dump_node()
511 le32_to_cpu(br->len), in ubifs_dump_node()
/fs/ocfs2/dlm/
Ddlmrecovery.c2680 struct dlm_begin_reco br; in dlm_send_begin_reco_message() local
2694 memset(&br, 0, sizeof(br)); in dlm_send_begin_reco_message()
2695 br.node_idx = dlm->node_num; in dlm_send_begin_reco_message()
2696 br.dead_node = dead_node; in dlm_send_begin_reco_message()
2714 &br, sizeof(br), nodenum, &status); in dlm_send_begin_reco_message()
2769 struct dlm_begin_reco *br = (struct dlm_begin_reco *)msg->buf; in dlm_begin_reco_handler() local
2779 dlm->name, br->node_idx, br->dead_node, in dlm_begin_reco_handler()
2788 dlm->name, br->node_idx, br->dead_node, in dlm_begin_reco_handler()
2791 dlm_fire_domain_eviction_callbacks(dlm, br->dead_node); in dlm_begin_reco_handler()
2798 br->node_idx); in dlm_begin_reco_handler()
[all …]