/linux-master/arch/um/drivers/ |
H A D | fd.c | 22 static void *fd_init(char *str, int device, const struct chan_opts *opts) argument 46 .raw = opts->raw });
|
H A D | pty.c | 26 static void *pty_chan_init(char *str, int device, const struct chan_opts *opts) argument 34 *data = ((struct pty_chan) { .announce = opts->announce, 36 .raw = opts->raw });
|
/linux-master/tools/power/acpi/common/ |
H A D | getopt.c | 80 * opts - options info list 88 int acpi_getopt(int argc, char **argv, char *opts) argument 111 (opts_ptr = strchr(opts, current_char)) == NULL) {
|
/linux-master/drivers/usb/gadget/function/ |
H A D | f_tcm.c | 1320 struct f_tcm_opts *opts; local 1335 opts = container_of(tpg_instances[i].func_inst, struct f_tcm_opts, 1337 mutex_lock(&opts->dep_lock); 1338 if (!opts->ready) 1341 if (opts->has_dep) { 1342 if (!try_module_get(opts->dependent)) 1347 &opts->func_inst.group.cg_item); 1375 mutex_unlock(&opts->dep_lock); 1384 if (opts->has_dep) 1385 module_put(opts 1403 struct f_tcm_opts *opts; local 1948 struct f_tcm_opts *opts; local 2111 struct f_tcm_opts *opts = to_f_tcm_opts(item); local 2127 struct f_tcm_opts *opts; local 2145 struct f_tcm_opts *opts = container_of(f, struct f_tcm_opts, func_inst); local 2156 struct f_tcm_opts *opts = container_of(f, struct f_tcm_opts, func_inst); local 2168 struct f_tcm_opts *opts = container_of(f, struct f_tcm_opts, func_inst); local 2179 struct f_tcm_opts *opts = container_of(f, struct f_tcm_opts, func_inst); local 2187 struct f_tcm_opts *opts = container_of(f, struct f_tcm_opts, func_inst); local 2200 struct f_tcm_opts *opts; local [all...] |
H A D | f_mass_storage.c | 3032 struct fsg_opts *opts; local 3041 opts = fsg_opts_from_func_inst(f->fi); 3042 if (!opts->no_configfs) { 3163 struct fsg_lun_opts *opts = to_fsg_lun_opts(item); local 3164 struct fsg_opts *fsg_opts = to_fsg_opts(opts->group.cg_item.ci_parent); 3166 return fsg_show_file(opts->lun, &fsg_opts->common->filesem, page); 3172 struct fsg_lun_opts *opts = to_fsg_lun_opts(item); local 3173 struct fsg_opts *fsg_opts = to_fsg_opts(opts->group.cg_item.ci_parent); 3175 return fsg_store_file(opts->lun, &fsg_opts->common->filesem, page, len); 3188 struct fsg_lun_opts *opts local 3218 struct fsg_lun_opts *opts = to_fsg_lun_opts(item); local 3257 struct fsg_lun_opts *opts = to_fsg_lun_opts(item); local 3286 struct fsg_lun_opts *opts; local 3368 struct fsg_opts *opts = to_fsg_opts(item); local 3379 struct fsg_opts *opts = to_fsg_opts(item); local 3392 struct fsg_opts *opts = to_fsg_opts(item); local 3419 struct fsg_opts *opts = to_fsg_opts(item); local 3432 struct fsg_opts *opts = to_fsg_opts(item); local 3480 struct fsg_opts *opts; local 3489 struct fsg_opts *opts; local 3540 struct fsg_opts *opts; local 3554 struct fsg_opts *opts = fsg_opts_from_func_inst(fi); local [all...] |
H A D | u_uac1_legacy.c | 200 struct f_uac1_legacy_opts *opts; local 203 opts = container_of(card->func.fi, struct f_uac1_legacy_opts, 205 fn_play = opts->fn_play; 206 fn_cap = opts->fn_cap; 207 fn_cntl = opts->fn_cntl;
|
/linux-master/drivers/phy/cadence/ |
H A D | cdns-dphy-rx.c | 169 union phy_configure_opts *opts) 172 unsigned int reg, lanes = opts->mipi_dphy.lanes; 189 band_ctrl = cdns_dphy_rx_get_band_ctrl(opts->mipi_dphy.hs_clk_rate); 216 int submode, union phy_configure_opts *opts) 223 ret = cdns_dphy_rx_get_band_ctrl(opts->mipi_dphy.hs_clk_rate); 227 return phy_mipi_dphy_config_validate(&opts->mipi_dphy); 168 cdns_dphy_rx_configure(struct phy *phy, union phy_configure_opts *opts) argument 215 cdns_dphy_rx_validate(struct phy *phy, enum phy_mode mode, int submode, union phy_configure_opts *opts) argument
|
/linux-master/tools/testing/selftests/bpf/prog_tests/ |
H A D | bloom_filter_map.c | 11 LIBBPF_OPTS(bpf_map_create_opts, opts); 36 opts.map_flags = BPF_F_NO_PREALLOC; 37 fd = bpf_map_create(BPF_MAP_TYPE_BLOOM_FILTER, NULL, 0, sizeof(value), 100, &opts); 66 LIBBPF_OPTS(bpf_map_create_opts, opts); 71 opts.map_flags = BPF_F_ZERO_SEED | BPF_F_NUMA_NODE; 72 fd = bpf_map_create(BPF_MAP_TYPE_BLOOM_FILTER, NULL, 0, sizeof(value), 100, &opts);
|
H A D | kfunc_call.c | 153 LIBBPF_OPTS(bpf_object_open_opts, opts); 162 opts.kernel_log_buf = obj_log_buf; 163 opts.kernel_log_size = log_buf_sz; 164 opts.kernel_log_level = 1; 180 skel = kfunc_call_fail__open_opts(&opts);
|
/linux-master/fs/bcachefs/ |
H A D | compress.c | 28 BUG_ON(size > c->opts.encoded_extent_max); 70 BUG_ON(start.bi_size > c->opts.encoded_extent_max); 233 if (crc->uncompressed_size << 9 > c->opts.encoded_extent_max || 234 crc->compressed_size << 9 > c->opts.encoded_extent_max) { 242 if (!c->opts.no_data_io) 275 if (crc.uncompressed_size << 9 > c->opts.encoded_extent_max || 276 crc.compressed_size << 9 > c->opts.encoded_extent_max) 356 ZSTD_parameters params = zstd_get_params(level, c->opts.encoded_extent_max); 401 if (src->bi_iter.bi_size <= c->opts.block_size) 493 c->opts [all...] |
H A D | error.c | 15 switch (c->opts.errors) { 218 if (c->opts.ratelimit_errors && 236 if (c->opts.errors != BCH_ON_ERROR_continue || 248 } else if (c->opts.fix_errors == FSCK_FIX_exit) { 254 : c->opts.fix_errors; 277 (c->opts.nochanges && 291 (c->opts.fix_errors == FSCK_FIX_exit ||
|
H A D | chardev.c | 137 struct bch_opts opts; member in struct:fsck_thread 217 thr->opts = bch2_opts_empty(); 219 if (arg.opts) { 220 char *optstr = strndup_user((char __user *)(unsigned long) arg.opts, 1 << 16); 223 bch2_parse_mount_opts(NULL, &thr->opts, optstr); 230 opt_set(thr->opts, stdio, (u64)(unsigned long)&thr->thr.stdio); 233 opt_set(thr->opts, nostart, true); 237 thr->c = bch2_fs_open(devs.data, arg.nr_devs, thr->opts); 240 thr->c->opts.errors == BCH_ON_ERROR_panic) 241 thr->c->opts [all...] |
/linux-master/fs/befs/ |
H A D | linuxvfs.c | 689 parse_options(char *options, struct befs_mount_options *opts) argument 698 opts->uid = GLOBAL_ROOT_UID; 699 opts->gid = GLOBAL_ROOT_GID; 700 opts->use_uid = 0; 701 opts->use_gid = 0; 702 opts->iocharset = NULL; 703 opts->debug = 0; 727 opts->uid = uid; 728 opts->use_uid = 1; 741 opts 768 struct befs_mount_options *opts = &befs_sb->mount_opts; local [all...] |
/linux-master/net/9p/ |
H A D | trans_fd.c | 762 * @opts: fd transport-specific structure to parse options into 767 static int parse_opts(char *params, struct p9_fd_opts *opts) argument 774 opts->port = P9_PORT; 775 opts->rfd = ~0; 776 opts->wfd = ~0; 777 opts->privport = false; 806 opts->port = option; 809 opts->rfd = option; 812 opts->wfd = option; 815 opts 998 struct p9_fd_opts opts; local 1089 struct p9_fd_opts opts; local [all...] |
/linux-master/tools/testing/selftests/bpf/ |
H A D | testing_helpers.c | 264 LIBBPF_OPTS(bpf_prog_load_opts, opts); 270 opts.prog_flags = prog_flags[i]; 272 insns, insn_cnt, &opts); 286 LIBBPF_OPTS(bpf_object_open_opts, opts, 294 obj = bpf_object__open_file(file, &opts); 328 LIBBPF_OPTS(bpf_prog_load_opts, opts, 336 return bpf_prog_load(type, NULL, license, insns, insns_cnt, &opts);
|
H A D | test_verifier.c | 549 LIBBPF_OPTS(bpf_map_create_opts, opts); 552 opts.map_flags = (type == BPF_MAP_TYPE_HASH ? BPF_F_NO_PREALLOC : 0) | extra_flags; 553 fd = bpf_map_create(type, NULL, size_key, size_value, max_elem, &opts); 640 LIBBPF_OPTS(bpf_map_create_opts, opts); 652 opts.inner_map_fd = inner_map_fd; 654 sizeof(int), sizeof(int), 1, &opts); 756 LIBBPF_OPTS(bpf_btf_load_opts, opts, 774 btf_fd = bpf_btf_load(raw_btf, ptr - raw_btf, &opts); 805 LIBBPF_OPTS(bpf_map_create_opts, opts, 814 opts [all...] |
/linux-master/fs/fat/ |
H A D | namei_msdos.c | 20 unsigned char *res, struct fat_mount_options *opts) 23 * the resulting name, opts->name_check is either (r)elaxed, 24 * (n)ormal or (s)trict, opts->dotsOK allows dots at the 33 if (opts->dotsOK) { 48 if (opts->name_check != 'r' && strchr(bad_chars, c)) 50 if (opts->name_check == 's' && strchr(bad_if_strict, c)) 52 if (c >= 'A' && c <= 'Z' && opts->name_check == 's') 69 *walk = (!opts->nocase && c >= 'a' && c <= 'z') ? c - 32 : c; 73 if (opts->name_check == 's' && len && c != '.') { 87 if (opts 19 msdos_format_name(const unsigned char *name, int len, unsigned char *res, struct fat_mount_options *opts) argument [all...] |
/linux-master/drivers/nvme/host/ |
H A D | tcp.c | 221 return ctrl->opts->tls; 1616 if (nctrl->opts->keyring) 1617 keyring = key_serial(nctrl->opts->keyring); 1699 if (nctrl->opts->tos >= 0) 1700 ip_sock_set_tos(queue->sock->sk, nctrl->opts->tos); 1715 if (nctrl->opts->mask & NVMF_OPT_HOST_TRADDR) { 1726 if (nctrl->opts->mask & NVMF_OPT_HOST_IFACE) { 1727 char *iface = nctrl->opts->host_iface; 1740 queue->hdr_digest = nctrl->opts->hdr_digest; 1741 queue->data_digest = nctrl->opts 2187 struct nvmf_ctrl_options *opts = ctrl->opts; local 2667 nvme_tcp_existing_controller(struct nvmf_ctrl_options *opts) argument 2683 nvme_tcp_create_ctrl(struct device *dev, struct nvmf_ctrl_options *opts) argument [all...] |
/linux-master/drivers/usb/gadget/legacy/ |
H A D | g_ffs.c | 179 struct f_fs_opts *opts; local 212 opts = to_f_fs_opts(fi_ffs[i]); 214 ret = ffs_single_dev(opts->dev); 216 ret = ffs_name_dev(opts->dev, func_names[i]); 219 opts->dev->ffs_ready_callback = functionfs_ready_callback; 220 opts->dev->ffs_closed_callback = functionfs_closed_callback; 221 opts->dev->ffs_acquire_dev_callback = functionfs_acquire_dev; 222 opts->dev->ffs_release_dev_callback = functionfs_release_dev; 223 opts->no_configfs = true;
|
/linux-master/tools/bpf/bpftool/ |
H A D | map_perf_ring.c | 120 LIBBPF_OPTS(perf_buffer_raw_opts, opts); 186 opts.cpu_cnt = ctx.all_cpus ? 0 : 1; 187 opts.cpus = &ctx.cpu; 188 opts.map_keys = &ctx.idx; 190 print_bpf_output, &ctx, &opts);
|
/linux-master/tools/perf/tests/ |
H A D | perf-record.c | 46 struct record_opts opts = { local 87 err = evlist__create_maps(evlist, &opts.target); 99 err = evlist__prepare_workload(evlist, &opts.target, argv, false, NULL); 112 evlist__config(evlist, &opts, NULL); 148 err = evlist__mmap(evlist, opts.mmap_pages);
|
/linux-master/fs/dlm/ |
H A D | midcomms.c | 201 struct dlm_opts *opts; member in struct:dlm_mhandle 621 if (len < le16_to_cpu(p->opts.o_optlen)) 623 len -= le16_to_cpu(p->opts.o_optlen); 625 switch (p->opts.o_nextcmd) { 652 p->opts.o_nextcmd, nodeid); 730 log_print("opts msg too small: %u, will skip this message from node %d", 735 p = (union dlm_packet *)((unsigned char *)p->opts.o_opts + 736 le16_to_cpu(p->opts.o_optlen)); 956 static void dlm_fill_opts_header(struct dlm_opts *opts, uint16_t inner_len, argument 959 opts 982 struct dlm_opts *opts; local [all...] |
/linux-master/tools/testing/selftests/move_mount_set_group/ |
H A D | move_mount_set_group_test.c | 160 char *opts, *target; local 166 opts = get_field(target, 2); 167 if (!opts) 175 null_endofword(opts); 176 if (strstr(opts, "shared:"))
|
/linux-master/drivers/sbus/char/ |
H A D | display7seg.c | 172 struct device_node *opts; local 202 opts = of_find_node_by_path("/options"); 203 if (opts) 204 p->flipped = of_property_read_bool(opts, "d7s-flipped?"); 222 of_node_put(opts);
|
/linux-master/tools/perf/ |
H A D | builtin-top.c | 878 struct record_opts *opts = &top->record_opts; local 883 md = opts->overwrite ? &evlist->overwrite_mmap[idx] : &evlist->mmap[idx]; 937 * Using the per-event setting to replace the opts->overwrite if 948 struct record_opts *opts = &top->record_opts; local 985 if ((overwrite >= 0) && (opts->overwrite != overwrite)) 986 opts->overwrite = overwrite; 994 struct record_opts *opts = &top->record_opts; local 998 if (!opts->overwrite) 1007 opts->overwrite = false; 1017 struct record_opts *opts local 1239 struct record_opts *opts = &top->record_opts; local 1458 struct record_opts *opts = &top.record_opts; local [all...] |