Home
last modified time | relevance | path

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

/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.c80 struct ubifs_branch *br; in create_default_filesystem() local
282 br = ubifs_idx_branch(c, idx, 0); in create_default_filesystem()
283 key_write_idx(c, &key, &br->key); in create_default_filesystem()
284 br->lnum = cpu_to_le32(main_first + DEFAULT_DATA_LEB); in create_default_filesystem()
285 br->len = cpu_to_le32(UBIFS_INO_NODE_SZ); in create_default_filesystem()
333 ubifs_copy_hash(c, hash, ubifs_branch_hash(c, br)); in create_default_filesystem()
Dubifs.h1662 struct ubifs_branch *br) in ubifs_branch_hash() argument
1664 return (void *)br + sizeof(*br) + c->key_len; in ubifs_branch_hash()
Ddebug.c541 const struct ubifs_branch *br; in ubifs_dump_node() local
543 br = ubifs_idx_branch(c, idx, i); in ubifs_dump_node()
544 key_read(c, &br->key, &key); in ubifs_dump_node()
546 i, le32_to_cpu(br->lnum), le32_to_cpu(br->offs), in ubifs_dump_node()
547 le32_to_cpu(br->len), in ubifs_dump_node()
/fs/ocfs2/dlm/
Ddlmrecovery.c2671 struct dlm_begin_reco br; in dlm_send_begin_reco_message() local
2685 memset(&br, 0, sizeof(br)); in dlm_send_begin_reco_message()
2686 br.node_idx = dlm->node_num; in dlm_send_begin_reco_message()
2687 br.dead_node = dead_node; in dlm_send_begin_reco_message()
2704 &br, sizeof(br), nodenum, &status); in dlm_send_begin_reco_message()
2759 struct dlm_begin_reco *br = (struct dlm_begin_reco *)msg->buf; in dlm_begin_reco_handler() local
2769 dlm->name, br->node_idx, br->dead_node, in dlm_begin_reco_handler()
2778 dlm->name, br->node_idx, br->dead_node, in dlm_begin_reco_handler()
2781 dlm_fire_domain_eviction_callbacks(dlm, br->dead_node); in dlm_begin_reco_handler()
2788 br->node_idx); in dlm_begin_reco_handler()
[all …]