Lines Matching full:flag
47 /* For flag in struct node_info */
64 unsigned char flag; /* for node information bits */ member
90 /* should not copy flag here */ in copy_node_info()
98 ne->ni.flag |= mask; in set_nat_flag()
100 ne->ni.flag &= ~mask; in set_nat_flag()
106 return ne->ni.flag & mask; in get_nat_flag()
256 unsigned flag = le32_to_cpu(rn->footer.flag); in ofs_of_node() local
257 return flag >> OFFSET_BIT_SHIFT; in ofs_of_node()
281 old_flag = le32_to_cpu(rn->footer.flag); in fill_node_footer()
286 /* should remain old flag bits such as COLD_BIT_SHIFT */ in fill_node_footer()
287 rn->footer.flag = cpu_to_le32((ofs << OFFSET_BIT_SHIFT) | in fill_node_footer()
397 return le32_to_cpu(rn->footer.flag) & (1 << type); in is_node()
407 unsigned int flag = le32_to_cpu(rn->footer.flag); in set_cold_node() local
410 flag &= ~(0x1 << COLD_BIT_SHIFT); in set_cold_node()
412 flag |= (0x1 << COLD_BIT_SHIFT); in set_cold_node()
413 rn->footer.flag = cpu_to_le32(flag); in set_cold_node()
419 unsigned int flag = le32_to_cpu(rn->footer.flag); in set_mark() local
421 flag |= (0x1 << type); in set_mark()
423 flag &= ~(0x1 << type); in set_mark()
424 rn->footer.flag = cpu_to_le32(flag); in set_mark()