Searched refs:opt_id (Results 1 – 3 of 3) sorted by relevance
/linux-6.12.1/net/bridge/ |
D | br.c | 313 int opt_id; in br_boolopt_multi_toggle() local 315 for_each_set_bit(opt_id, &bitmap, BR_BOOLOPT_MAX) { in br_boolopt_multi_toggle() 316 bool on = !!(bm->optval & BIT(opt_id)); in br_boolopt_multi_toggle() 318 err = br_boolopt_toggle(br, opt_id, on, extack); in br_boolopt_multi_toggle() 321 opt_id, br_boolopt_get(br, opt_id), on, err); in br_boolopt_multi_toggle() 333 int opt_id; in br_boolopt_multi_get() local 335 for (opt_id = 0; opt_id < BR_BOOLOPT_MAX; opt_id++) in br_boolopt_multi_get() 336 optval |= (br_boolopt_get(br, opt_id) << opt_id); in br_boolopt_multi_get()
|
/linux-6.12.1/fs/bcachefs/ |
D | xattr.c | 497 int opt_id, inode_opt_id, ret; in bch2_xattr_bcachefs_set() local 499 opt_id = bch2_opt_lookup(name); in bch2_xattr_bcachefs_set() 500 if (opt_id < 0) in bch2_xattr_bcachefs_set() 503 opt = bch2_opt_table + opt_id; in bch2_xattr_bcachefs_set() 505 inode_opt_id = opt_to_inode_opt(opt_id); in bch2_xattr_bcachefs_set() 526 ret = bch2_opt_check_may_set(c, opt_id, v); in bch2_xattr_bcachefs_set() 570 (opt_id == Opt_background_target || in bch2_xattr_bcachefs_set() 571 opt_id == Opt_background_compression || in bch2_xattr_bcachefs_set() 572 (opt_id == Opt_compression && !inode_opt_get(c, &inode->ei_inode, background_compression)))) in bch2_xattr_bcachefs_set()
|
D | super-io.c | 357 enum bch_opt_id opt_id; in bch2_sb_validate() local 431 for (opt_id = 0; opt_id < bch2_opts_nr; opt_id++) { in bch2_sb_validate() 432 const struct bch_option *opt = bch2_opt_table + opt_id; in bch2_sb_validate() 435 u64 v = bch2_opt_from_sb(sb, opt_id); in bch2_sb_validate()
|