Lines Matching refs:mask
24 unsigned int mask; member
113 const char *e2p_feature2string(int compat, unsigned int mask) in e2p_feature2string() argument
122 (mask == f->mask)) in e2p_feature2string()
139 for (fnum = 0; mask >>= 1; fnum++); in e2p_feature2string()
144 int e2p_string2feature(char *string, int *compat_type, unsigned int *mask) in e2p_string2feature() argument
153 *mask = f->mask; in e2p_string2feature()
183 *mask = 1 << num; in e2p_string2feature()
187 const char *e2p_jrnl_feature2string(int compat, unsigned int mask) in e2p_jrnl_feature2string() argument
196 (mask == f->mask)) in e2p_jrnl_feature2string()
213 for (fnum = 0; mask >>= 1; fnum++); in e2p_jrnl_feature2string()
218 int e2p_jrnl_string2feature(char *string, int *compat_type, unsigned int *mask) in e2p_jrnl_string2feature() argument
227 *mask = f->mask; in e2p_jrnl_string2feature()
257 *mask = 1 << num; in e2p_jrnl_string2feature()
286 unsigned int mask; in e2p_edit_feature2() local
329 if (e2p_string2feature(cp, &compat_type, &mask)) { in e2p_edit_feature2()
335 !(clear_ok_array[compat_type] & mask)) { in e2p_edit_feature2()
341 *mask_err = mask; in e2p_edit_feature2()
344 compat_array[compat_type] &= ~mask; in e2p_edit_feature2()
346 if (ok_array && !(ok_array[compat_type] & mask)) { in e2p_edit_feature2()
351 *mask_err = mask; in e2p_edit_feature2()
354 compat_array[compat_type] |= mask; in e2p_edit_feature2()
370 unsigned int mask, mask2; in main() local
385 &mask); in main()
386 str = e2p_feature2string(compat, mask); in main()
389 &compat, &mask); in main()
390 str = e2p_jrnl_feature2string(compat, mask); in main()
394 compat, mask, f->string); in main()
399 (mask2 != mask)) { in main()