Lines Matching refs:flag
55 unsigned char flag; /* for node information bits */ member
89 ne->ni.flag |= mask; in set_nat_flag()
91 ne->ni.flag &= ~mask; in set_nat_flag()
97 return ne->ni.flag & mask; in get_nat_flag()
251 unsigned flag = le32_to_cpu(rn->footer.flag); in ofs_of_node() local
252 return flag >> OFFSET_BIT_SHIFT; in ofs_of_node()
276 old_flag = le32_to_cpu(rn->footer.flag); in fill_node_footer()
282 rn->footer.flag = cpu_to_le32((ofs << OFFSET_BIT_SHIFT) | in fill_node_footer()
406 return le32_to_cpu(rn->footer.flag) & (1 << type); in is_node()
431 unsigned int flag = le32_to_cpu(rn->footer.flag); in set_cold_node() local
434 flag &= ~(0x1 << COLD_BIT_SHIFT); in set_cold_node()
436 flag |= (0x1 << COLD_BIT_SHIFT); in set_cold_node()
437 rn->footer.flag = cpu_to_le32(flag); in set_cold_node()
443 unsigned int flag = le32_to_cpu(rn->footer.flag); in set_mark() local
445 flag |= (0x1 << type); in set_mark()
447 flag &= ~(0x1 << type); in set_mark()
448 rn->footer.flag = cpu_to_le32(flag); in set_mark()