Home
last modified time | relevance | path

Searched +defs:val +defs:opts (Results 1 – 25 of 92) sorted by relevance

1234

/linux-6.14.4/drivers/nvme/host/
Dfabrics.c172 int nvmf_reg_read32(struct nvme_ctrl *ctrl, u32 off, u32 *val) in nvmf_reg_read32()
217 int nvmf_reg_read64(struct nvme_ctrl *ctrl, u32 off, u64 *val) in nvmf_reg_read64()
262 int nvmf_reg_write32(struct nvme_ctrl *ctrl, u32 off, u32 val) in nvmf_reg_write32()
645 struct nvmf_ctrl_options *opts) in nvmf_lookup_transport()
713 static int nvmf_parse_options(struct nvmf_ctrl_options *opts, in nvmf_parse_options()
1095 void nvmf_set_io_queues(struct nvmf_ctrl_options *opts, u32 nr_io_queues, in nvmf_set_io_queues()
1131 struct nvmf_ctrl_options *opts = ctrl->opts; in nvmf_map_queues() local
1171 static int nvmf_check_required_opts(struct nvmf_ctrl_options *opts, in nvmf_check_required_opts()
1192 struct nvmf_ctrl_options *opts) in nvmf_ip_options_match()
1234 static int nvmf_check_allowed_opts(struct nvmf_ctrl_options *opts, in nvmf_check_allowed_opts()
[all …]
/linux-6.14.4/fs/bcachefs/
Dopts.c99 static void prt_str_opt_boundscheck(struct printbuf *out, const char * const opts[], in prt_str_opt_boundscheck()
122 static int bch2_opt_fix_errors_parse(struct bch_fs *c, const char *val, u64 *res, in bch2_opt_fix_errors_parse()
186 bool bch2_opt_defined_by_id(const struct bch_opts *opts, enum bch_opt_id id) in bch2_opt_defined_by_id()
199 u64 bch2_opt_get_by_id(const struct bch_opts *opts, enum bch_opt_id id) in bch2_opt_get_by_id()
212 void bch2_opt_set_by_id(struct bch_opts *opts, enum bch_opt_id id, u64 v) in bch2_opt_set_by_id()
330 const char *val, u64 *res, in bch2_opt_parse()
453 struct bch_opts opts, in bch2_opts_to_text()
511 int bch2_parse_one_mount_opt(struct bch_fs *c, struct bch_opts *opts, in bch2_parse_one_mount_opt()
513 const char *name, const char *val) in bch2_parse_one_mount_opt()
580 int bch2_parse_mount_opts(struct bch_fs *c, struct bch_opts *opts, in bch2_parse_mount_opts()
[all …]
/linux-6.14.4/tools/lib/subcmd/
Dparse-options.c225 const char *val = *(const char **)opt->value; in get_value() local
696 static void print_option_help(const struct option *opts, int full) in print_option_help()
807 static struct option *options__order(const struct option *opts) in options__order()
882 const struct option *opts, int full, in usage_with_options_internal()
928 const struct option *opts) in usage_with_options()
935 const struct option *opts, const char *fmt, ...) in usage_with_options_msg()
952 const struct option *opts, in parse_options_usage()
1017 find_option(struct option *opts, int shortopt, const char *longopt) in find_option()
1028 void set_option_flag(struct option *opts, int shortopt, const char *longopt, in set_option_flag()
1038 void set_option_nobuild(struct option *opts, int shortopt, in set_option_nobuild()
/linux-6.14.4/drivers/usb/gadget/function/
Df_uac1.c406 u32 val = 0; in uac_cs_attr_sample_rate() local
491 struct f_uac1_opts *opts = g_audio_to_uac1_opts(audio); in in_rq_cur() local
542 struct f_uac1_opts *opts = g_audio_to_uac1_opts(audio); in in_rq_min() local
589 struct f_uac1_opts *opts = g_audio_to_uac1_opts(audio); in in_rq_max() local
636 struct f_uac1_opts *opts = g_audio_to_uac1_opts(audio); in in_rq_res() local
683 struct f_uac1_opts *opts = g_audio_to_uac1_opts(audio); in out_rq_cur_complete() local
737 struct f_uac1_opts *opts = g_audio_to_uac1_opts(audio); in out_rq_cur() local
850 u32 val = 0; in audio_get_endpoint_req() local
1053 uac1_ac_header_descriptor *build_ac_header_desc(struct f_uac1_opts *opts) in build_ac_header_desc()
1084 static void setup_descriptor(struct f_uac1_opts *opts) in setup_descriptor()
[all …]
Df_midi2.c2109 static ssize_t f_midi2_opts_uint_show(struct f_midi2_opts *opts, in f_midi2_opts_uint_show()
2110 u32 val, const char *format, char *page) in f_midi2_opts_uint_show()
2120 static ssize_t f_midi2_opts_uint_store(struct f_midi2_opts *opts, in f_midi2_opts_uint_store()
2125 u32 val; in f_midi2_opts_uint_store() local
2150 static ssize_t f_midi2_opts_bool_store(struct f_midi2_opts *opts, in f_midi2_opts_bool_store()
2154 bool val; in f_midi2_opts_bool_store() local
2174 static ssize_t f_midi2_opts_str_show(struct f_midi2_opts *opts, in f_midi2_opts_str_show()
2186 static ssize_t f_midi2_opts_str_store(struct f_midi2_opts *opts, in f_midi2_opts_str_store()
2273 struct f_midi2_block_opts *opts = to_f_midi2_block_opts(item); in f_midi2_block_opts_name_show() local
2281 struct f_midi2_block_opts *opts = to_f_midi2_block_opts(item); in f_midi2_block_opts_name_store() local
[all …]
Df_ncm.c480 static inline void put_ncm(__le16 **p, unsigned size, unsigned val) in put_ncm()
955 const struct ndp_parser_opts *opts = ncm->parser_opts; in package_for_tx() local
1017 const struct ndp_parser_opts *opts = ncm->parser_opts; in ncm_wrap_ntb() local
1180 const struct ndp_parser_opts *opts = ncm->parser_opts; in ncm_unwrap_ntb() local
1608 struct f_ncm_opts *opts = to_f_ncm_opts(item); in ncm_opts_max_segment_size_show() local
1621 struct f_ncm_opts *opts = to_f_ncm_opts(item); in ncm_opts_max_segment_size_store() local
1666 struct f_ncm_opts *opts; in ncm_free_inst() local
1679 struct f_ncm_opts *opts; in ncm_alloc_inst() local
1719 struct f_ncm_opts *opts; in ncm_free() local
1755 struct f_ncm_opts *opts; in ncm_alloc() local
Df_uac2.c790 static void setup_headers(struct f_uac2_opts *opts, in setup_headers()
892 static void setup_descriptor(struct f_uac2_opts *opts) in setup_descriptor()
977 struct f_uac2_opts *opts = g_audio_to_uac2_opts(agdev); in afunc_validate_opts() local
1528 struct f_uac2_opts *opts = g_audio_to_uac2_opts(agdev); in in_rq_cur() local
1605 struct f_uac2_opts *opts = g_audio_to_uac2_opts(agdev); in in_rq_range() local
1708 u32 val; in uac2_cs_control_sam_freq() local
1727 struct f_uac2_opts *opts = g_audio_to_uac2_opts(agdev); in out_rq_cur_complete() local
1776 struct f_uac2_opts *opts = g_audio_to_uac2_opts(agdev); in out_rq_cur() local
1872 struct f_uac2_opts *opts = to_f_uac2_opts(item); in f_uac2_attr_release() local
2182 struct f_uac2_opts *opts; in afunc_free_inst() local
[all …]
Du_uac1_legacy.c29 static int snd_interval_refine_set(struct snd_interval *i, unsigned int val) in snd_interval_refine_set()
40 snd_pcm_hw_param_t var, unsigned int val, in _snd_pcm_hw_param_set()
200 struct f_uac1_legacy_opts *opts; in gaudio_open_snd_dev() local
/linux-6.14.4/tools/testing/selftests/bpf/prog_tests/
Dtoken.c40 static inline int sys_fsconfig(int fs_fd, unsigned cmd, const char *key, const void *val, int aux) in sys_fsconfig()
115 static int materialize_bpffs_fd(int fs_fd, struct bpffs_opts *opts) in materialize_bpffs_fd()
285 static void child(int sock_fd, struct bpffs_opts *opts, child_callback_fn callback) in child()
973 struct bpffs_opts opts = { in test_token() local
981 struct bpffs_opts opts = { in test_token() local
988 struct bpffs_opts opts = { in test_token() local
997 struct bpffs_opts opts = { in test_token() local
1005 struct bpffs_opts opts = { in test_token() local
1014 struct bpffs_opts opts = { in test_token() local
1025 struct bpffs_opts opts = { in test_token() local
[all …]
Dbpf_iter.c48 static void do_dummy_read_opts(struct bpf_program *prog, struct bpf_iter_attach_opts *opts) in do_dummy_read_opts()
213 static void test_task_common_nocheck(struct bpf_iter_attach_opts *opts, in test_task_common_nocheck()
243 static void test_task_common(struct bpf_iter_attach_opts *opts, int num_unknown, int num_known) in test_task_common()
781 __u64 val, expected_val = 0; in test_bpf_hash_map() local
882 void *val; in test_bpf_percpu_hash_map() local
953 __u64 val, expected_val = 0, res_first_val, first_val = 0; in test_bpf_array_map() local
1059 void *val; in test_bpf_percpu_array_map() local
1132 __u32 val = 42; in test_bpf_sk_storage_delete() local
1198 int err, map_fd, val = -1; in test_bpf_sk_storage_get() local
1259 __u32 val, expected_val = 0; in test_bpf_sk_storage_map() local
[all …]
/linux-6.14.4/tools/testing/selftests/bpf/map_tests/
Dmap_percpu_stats.c91 static __u8 val[8 << 10]; /* enough for 1024 CPUs */ in delete_all_elements() local
168 struct upsert_opts *opts = arg; in patch_map_thread() local
170 int val; in patch_map_thread() local
199 static void upsert_elements(struct upsert_opts *opts) in upsert_elements()
294 struct upsert_opts opts = { in __test() local
464 struct bpf_map_create_opts opts = { .sz = sizeof(opts) }; in map_percpu_stats_map_value_size() local
/linux-6.14.4/tools/perf/arch/arm64/util/
Darm-spe.c90 u64 val; in arm_spe_save_cpu_header() local
171 arm_spe_snapshot_resolve_auxtrace_defaults(struct record_opts *opts, in arm_spe_snapshot_resolve_auxtrace_defaults()
277 static int arm_spe_setup_aux_buffer(struct record_opts *opts) in arm_spe_setup_aux_buffer()
341 struct record_opts *opts) in arm_spe_setup_tracking_event()
373 struct record_opts *opts) in arm_spe_recording_options()
418 struct record_opts *opts, in arm_spe_parse_snapshot_options()
/linux-6.14.4/drivers/phy/cadence/
Dcdns-dphy-rx.c122 u32 val; in cdns_dphy_rx_wait_for_bit() local
169 union phy_configure_opts *opts) in cdns_dphy_rx_configure()
216 int submode, union phy_configure_opts *opts) in cdns_dphy_rx_validate()
/linux-6.14.4/tools/perf/util/
Dbpf_off_cpu.c80 u8 val = 1; in off_cpu_start() local
132 struct record_opts *opts) in off_cpu_prepare()
219 u8 val = 1; in off_cpu_prepare() local
230 u8 val = 1; in off_cpu_prepare() local
248 u8 val = 1; in off_cpu_prepare() local
260 u8 val = 1; in off_cpu_prepare() local
303 u64 sample_type, val, sid = 0; in off_cpu_write() local
/linux-6.14.4/tools/testing/selftests/bpf/progs/
Dxdp_flowtable.c69 struct bpf_flowtable_opts___local opts = {}; in xdp_flowtable_do_lookup() local
77 __u32 *val, key = 0; in xdp_flowtable_do_lookup() local
/linux-6.14.4/drivers/crypto/caam/
Dqi.c182 struct qm_mcc_initfq opts; in create_caam_req_fq() local
621 struct qm_mcc_initfq opts; in alloc_rsp_fq_cpu() local
667 struct qm_mcc_initcgr opts; in init_cgr() local
668 const u64 val = (u64)cpumask_weight(qman_affine_cpus()) * in init_cgr() local
/linux-6.14.4/tools/perf/arch/arm/util/
Dcs-etm.c92 __u64 val; in cs_etm_validate_context_id() local
152 __u64 val; in cs_etm_validate_timestamp() local
241 struct record_opts *opts, in cs_etm_parse_snapshot_options()
307 struct record_opts *opts) in cs_etm_recording_options()
574 static int cs_etm_get_ro(struct perf_pmu *pmu, struct perf_cpu cpu, const char *path, __u64 *val) in cs_etm_get_ro()
596 int val = 0; in cs_etm_get_ro_signed() local
/linux-6.14.4/drivers/phy/freescale/
Dphy-fsl-imx8qm-lvds-phy.c84 u32 val = 0; in mixel_lvds_phy_power_on() local
167 union phy_configure_opts *opts) in mixel_lvds_phy_configure()
222 int submode, union phy_configure_opts *opts) in mixel_lvds_phy_validate()
/linux-6.14.4/tools/testing/selftests/net/tcp_ao/lib/
Drepair.c167 struct tcp_repair_opt opts[4]; in __test_sock_restore() local
236 int val = TCP_REPAIR_ON; in test_enable_repair() local
244 int val = TCP_REPAIR_OFF_NO_WP; in test_disable_repair() local
/linux-6.14.4/kernel/bpf/
Dinode.c735 struct bpf_mount_opts *opts = root->d_sb->s_fs_info; in bpf_show_options() local
819 struct bpf_mount_opts *opts = fc->s_fs_info; in bpf_parse_param() local
884 int val; in bpf_parse_param() local
1013 struct bpf_mount_opts *opts = sb->s_fs_info; in bpf_fill_super() local
1058 struct bpf_mount_opts *opts; in bpf_init_fs_context() local
1081 struct bpf_mount_opts *opts = sb->s_fs_info; in bpf_kill_super() local
/linux-6.14.4/net/ipv4/
Dtcp_output.c57 u64 val = tcp_clock_ns(); in tcp_mstamp_refresh() local
464 struct tcp_out_options *opts) in mptcp_options_write()
490 struct tcp_out_options *opts, in bpf_skops_hdr_opt_len()
553 struct tcp_out_options *opts) in bpf_skops_write_hdr_opt()
597 struct tcp_out_options *opts, in bpf_skops_hdr_opt_len()
606 struct tcp_out_options *opts) in bpf_skops_write_hdr_opt()
613 struct tcp_out_options *opts, in process_tcp_ao_options()
664 struct tcp_out_options *opts, in tcp_options_write()
766 struct tcp_out_options *opts, in smc_set_option()
783 struct tcp_out_options *opts, in smc_set_option_cond()
[all …]
/linux-6.14.4/tools/perf/
Dbuiltin-record.c154 struct record_opts opts; member
519 struct record_opts *opts = (struct record_opts *)opt->value; in record__aio_parse() local
566 struct record_opts *opts = (struct record_opts *)opt->value; in record__mmap_flush_parse() local
600 struct record_opts *opts = opt->value; in record__parse_comp_level() local
952 struct record_opts *opts = &rec->opts; in record__config_tracking_events() local
1301 struct record_opts *opts = &rec->opts; in record__mmap_evlist() local
1367 struct record_opts *opts = &rec->opts; in record__open() local
2029 struct record_opts *opts = &rec->opts; in record__synthesize() local
2155 struct record_opts *opts = &rec->opts; in record__setup_sb_evlist() local
2363 struct record_opts *opts = &rec->opts; in __cmd_record() local
[all …]
/linux-6.14.4/tools/testing/selftests/bpf/benchs/
Dbench_local_storage.c25 static const struct argp_option opts[] = { variable
101 int i, key, val; in prepopulate_hashmap() local
/linux-6.14.4/drivers/phy/mediatek/
Dphy-mtk-dp.c109 static int mtk_dp_phy_configure(struct phy *phy, union phy_configure_opts *opts) in mtk_dp_phy_configure()
112 u32 val; in mtk_dp_phy_configure() local
/linux-6.14.4/drivers/media/platform/rockchip/rkisp1/
Drkisp1-csi.c116 u32 val; in rkisp1_csi_enable() local
126 u32 val; in rkisp1_csi_disable() local
154 union phy_configure_opts opts; in rkisp1_csi_start() local
197 u32 val, status; in rkisp1_csi_isr() local

1234