Lines Matching refs:mask
21 unsigned int mask; member
41 const char *e2p_mntopt2string(unsigned int mask) in e2p_mntopt2string() argument
48 if (mask == f->mask) in e2p_mntopt2string()
51 for (fnum = 0; mask >>= 1; fnum++); in e2p_mntopt2string()
56 int e2p_string2mntopt(char *string, unsigned int *mask) in e2p_string2mntopt() argument
64 *mask = f->mask; in e2p_string2mntopt()
78 *mask = 1 << num; in e2p_string2mntopt()
105 unsigned int mask; in e2p_edit_mntopts() local
130 if (e2p_string2mntopt(cp, &mask)) { in e2p_edit_mntopts()
134 if (ok && !(ok & mask)) { in e2p_edit_mntopts()
138 if (mask & EXT3_DEFM_JMODE) in e2p_edit_mntopts()
141 *mntopts &= ~mask; in e2p_edit_mntopts()
143 *mntopts |= mask; in e2p_edit_mntopts()