Searched refs:NIDS_PER_BLOCK (Results 1 – 5 of 5) sorted by relevance
309 if (ofs == 3 || ofs == 4 + NIDS_PER_BLOCK || in IS_DNODE()310 ofs == 5 + 2 * NIDS_PER_BLOCK) in IS_DNODE()312 if (ofs >= 6 + 2 * NIDS_PER_BLOCK) { in IS_DNODE()313 ofs -= 6 + 2 * NIDS_PER_BLOCK; in IS_DNODE()314 if (!((long int)ofs % (NIDS_PER_BLOCK + 1))) in IS_DNODE()
413 const long dptrs_per_blk = NIDS_PER_BLOCK; in get_node_path()414 const long indirect_blks = ADDRS_PER_BLOCK * NIDS_PER_BLOCK; in get_node_path()415 const long dindirect_blks = indirect_blks * NIDS_PER_BLOCK; in get_node_path()659 return NIDS_PER_BLOCK + 1; in truncate_nodes()671 for (i = ofs; i < NIDS_PER_BLOCK; i++, freed++) { in truncate_nodes()682 child_nofs = nofs + ofs * (NIDS_PER_BLOCK + 1) + 1; in truncate_nodes()683 for (i = ofs; i < NIDS_PER_BLOCK; i++) { in truncate_nodes()686 child_nofs += NIDS_PER_BLOCK + 1; in truncate_nodes()691 if (ret == (NIDS_PER_BLOCK + 1)) { in truncate_nodes()745 for (i = offset[idx + 1]; i < NIDS_PER_BLOCK; i++) { in truncate_partial_nodes()[all …]
489 unsigned int indirect_blks = 2 * NIDS_PER_BLOCK + 4; in start_bidx_of_node()498 int dec = (node_ofs - 4) / (NIDS_PER_BLOCK + 1); in start_bidx_of_node()501 int dec = (node_ofs - indirect_blks - 3) / (NIDS_PER_BLOCK + 1); in start_bidx_of_node()
910 leaf_count *= NIDS_PER_BLOCK; in max_file_size()914 leaf_count *= NIDS_PER_BLOCK; in max_file_size()
174 #define NIDS_PER_BLOCK 1018 /* Node IDs in an Indirect Block */ macro231 __le32 nid[NIDS_PER_BLOCK]; /* array of data block address */