Searched refs:opt_mask (Results 1 – 5 of 5) sorted by relevance
207 static int pucan_set_options(struct peak_canfd_priv *priv, u16 opt_mask) in pucan_set_options() argument213 cmd->options = cpu_to_le16(opt_mask); in pucan_set_options()218 static int pucan_clr_options(struct peak_canfd_priv *priv, u16 opt_mask) in pucan_clr_options() argument224 cmd->options = cpu_to_le16(opt_mask); in pucan_clr_options()
73 int opt_mask = 0; in rnbd_clt_parse_map_options() local91 opt_mask |= token; in rnbd_clt_parse_map_options()210 if ((opt_mask & rnbd_opt_mandatory[i])) { in rnbd_clt_parse_map_options()
179 static uint64_t opt_mask[MAX_BIT_FILTERS]; variable 462 if ((flags & opt_mask[i]) == 0) in bit_mask_ok() 465 if ((flags & opt_mask[i]) != opt_bits[i]) in bit_mask_ok() 1165 opt_mask[nr_bit_filters] = mask; in add_bits_filter()
413 unsigned long long opt_mask; /* Bits changed */ member424 ctx->opt_mask |= BIT(flag); in ctx_set_opt()431 ctx->opt_mask |= BIT(flag); in ctx_clear_opt()1444 ctx->opt_mask &= ~BIT(F2FS_MOUNT_COMPRESS_CACHE); in f2fs_check_compression()1512 (ctx->opt_mask & BIT(F2FS_MOUNT_DISCARD)) && in f2fs_check_opt_consistency()1519 (ctx->opt_mask & BIT(F2FS_MOUNT_DISCARD)) && in f2fs_check_opt_consistency()1523 ctx->opt_mask &= ~BIT(F2FS_MOUNT_DISCARD); in f2fs_check_opt_consistency()1527 (ctx->opt_mask & BIT(F2FS_MOUNT_READ_EXTENT_CACHE)) && in f2fs_check_opt_consistency()1534 (ctx->opt_mask & BIT(F2FS_MOUNT_RESERVE_ROOT)) && in f2fs_check_opt_consistency()1539 ctx->opt_mask &= ~BIT(F2FS_MOUNT_RESERVE_ROOT); in f2fs_check_opt_consistency()[all …]
3384 int opt_mask = 0; in srp_parse_options() local3399 opt_mask |= token; in srp_parse_options()3537 if (!(opt_mask & SRP_OPT_MAX_CMD_PER_LUN)) in srp_parse_options()3717 if ((opt_mask & srp_opt_mandatory[i]) == srp_opt_mandatory[i]) { in srp_parse_options()3726 && (opt_mask & SRP_OPT_MAX_CMD_PER_LUN)) in srp_parse_options()