Home
last modified time | relevance | path

Searched refs:opt_id (Results 1 – 2 of 2) sorted by relevance

/linux/fs/bcachefs/
H A Dxattr.c497 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()
H A Dsuper-io.c374 enum bch_opt_id opt_id; in bch2_sb_validate() local
474 for (opt_id = 0; opt_id < bch2_opts_nr; opt_id++) { in bch2_sb_validate()
475 const struct bch_option *opt = bch2_opt_table + opt_id; in bch2_sb_validate()
478 u64 v = bch2_opt_from_sb(sb, opt_id); in bch2_sb_validate()