Home
last modified time | relevance | path

Searched refs:options (Results 1 – 25 of 1391) sorted by relevance

12345678910>>...56

/Linux-v4.19/drivers/video/fbdev/core/
Dfb_cmdline.c37 char *opt, *options = NULL; in fb_get_options() local
53 options = opt + name_len + 1; in fb_get_options()
57 if (!options && option && fb_mode_option) in fb_get_options()
58 options = kstrdup(fb_mode_option, GFP_KERNEL); in fb_get_options()
59 if (options && !strncmp(options, "off", 3)) in fb_get_options()
63 *option = options; in fb_get_options()
82 static int __init video_setup(char *options) in video_setup() argument
86 if (!options || !*options) in video_setup()
89 if (!global && !strncmp(options, "ofonly", 6)) { in video_setup()
94 if (!global && !strchr(options, ':')) { in video_setup()
[all …]
/Linux-v4.19/drivers/net/ppp/
Dppp_deflate.c39 static void *z_comp_alloc(unsigned char *options, int opt_len);
40 static void *z_decomp_alloc(unsigned char *options, int opt_len);
43 static int z_comp_init(void *state, unsigned char *options,
46 static int z_decomp_init(void *state, unsigned char *options,
88 static void *z_comp_alloc(unsigned char *options, int opt_len) in z_comp_alloc() argument
94 (options[0] != CI_DEFLATE && options[0] != CI_DEFLATE_DRAFT) || in z_comp_alloc()
95 options[1] != CILEN_DEFLATE || in z_comp_alloc()
96 DEFLATE_METHOD(options[2]) != DEFLATE_METHOD_VAL || in z_comp_alloc()
97 options[3] != DEFLATE_CHK_SEQUENCE) in z_comp_alloc()
99 w_size = DEFLATE_SIZE(options[2]); in z_comp_alloc()
[all …]
/Linux-v4.19/arch/mips/kernel/
Dcpu-probe.c131 c->options |= MIPS_CPU_NAN_LEGACY; in cpu_set_fpu_2008()
133 c->options |= MIPS_CPU_NAN_2008; in cpu_set_fpu_2008()
145 c->options |= MIPS_CPU_NAN_LEGACY; in cpu_set_fpu_2008()
150 c->options |= MIPS_CPU_NAN_LEGACY; in cpu_set_fpu_2008()
168 c->options &= ~(MIPS_CPU_NAN_2008 | MIPS_CPU_NAN_LEGACY); in cpu_set_nofpu_2008()
177 c->options |= MIPS_CPU_NAN_2008 | MIPS_CPU_NAN_LEGACY; in cpu_set_nofpu_2008()
179 c->options |= MIPS_CPU_NAN_LEGACY; in cpu_set_nofpu_2008()
184 c->options |= MIPS_CPU_NAN_LEGACY; in cpu_set_nofpu_2008()
188 c->options |= MIPS_CPU_NAN_2008; in cpu_set_nofpu_2008()
193 c->options |= MIPS_CPU_NAN_2008 | MIPS_CPU_NAN_LEGACY; in cpu_set_nofpu_2008()
[all …]
/Linux-v4.19/tools/lib/subcmd/
Dparse-options.c324 static int parse_short_opt(struct parse_opt_ctx_t *p, const struct option *options) in parse_short_opt() argument
327 for (; options->type != OPTION_END; options++) { in parse_short_opt()
328 if (options->short_name == *p->opt) { in parse_short_opt()
330 return get_value(p, options, OPT_SHORT); in parse_short_opt()
334 if (options->parent) { in parse_short_opt()
335 options = options->parent; in parse_short_opt()
343 const struct option *options) in parse_long_opt() argument
353 for (; options->type != OPTION_END; options++) { in parse_long_opt()
357 if (!options->long_name) in parse_long_opt()
360 rest = skip_prefix(arg, options->long_name); in parse_long_opt()
[all …]
/Linux-v4.19/arch/x86/boot/
Dearly_serial_console.c119 char optstr[64], *options; in parse_console_uart8250() local
130 options = optstr; in parse_console_uart8250()
132 if (!strncmp(options, "uart8250,io,", 12)) in parse_console_uart8250()
133 port = simple_strtoull(options + 12, &options, 0); in parse_console_uart8250()
134 else if (!strncmp(options, "uart,io,", 8)) in parse_console_uart8250()
135 port = simple_strtoull(options + 8, &options, 0); in parse_console_uart8250()
139 if (options && (options[0] == ',')) in parse_console_uart8250()
140 baud = simple_strtoull(options + 1, &options, 0); in parse_console_uart8250()
/Linux-v4.19/net/netfilter/
Dnf_synproxy_core.c41 opts->options = 0; in synproxy_parse_options()
63 opts->options |= XT_SYNPROXY_OPT_MSS; in synproxy_parse_options()
71 opts->options |= XT_SYNPROXY_OPT_WSCALE; in synproxy_parse_options()
78 opts->options |= XT_SYNPROXY_OPT_TIMESTAMP; in synproxy_parse_options()
83 opts->options |= XT_SYNPROXY_OPT_SACK_PERM; in synproxy_parse_options()
99 if (opts->options & XT_SYNPROXY_OPT_MSS) in synproxy_options_size()
101 if (opts->options & XT_SYNPROXY_OPT_TIMESTAMP) in synproxy_options_size()
103 else if (opts->options & XT_SYNPROXY_OPT_SACK_PERM) in synproxy_options_size()
105 if (opts->options & XT_SYNPROXY_OPT_WSCALE) in synproxy_options_size()
116 u8 options = opts->options; in synproxy_build_options() local
[all …]
Dxt_connlabel.c29 bool invert = info->options & XT_CONNLABEL_OP_INVERT; in connlabel_mt()
42 if (info->options & XT_CONNLABEL_OP_SET) { in connlabel_mt()
54 const int options = XT_CONNLABEL_OP_INVERT | in connlabel_mt_check() local
59 if (info->options & ~options) { in connlabel_mt_check()
61 info->options); in connlabel_mt_check()
/Linux-v4.19/include/linux/netfilter/
Dnf_conntrack_h323_types.h9 int options; /* No use */ member
14 int options; /* No use */ member
76 int options; /* No use */ member
98 int options; /* No use */ member
103 int options; /* No use */ member
154 } options; member
180 } options; member
205 } options; member
226 } options; member
236 } options; member
[all …]
/Linux-v4.19/drivers/crypto/caam/
Ddesc_constr.h60 static inline void init_desc(u32 * const desc, u32 options) in init_desc() argument
62 *desc = cpu_to_caam32((options | HDR_ONE) + 1); in init_desc()
65 static inline void init_sh_desc(u32 * const desc, u32 options) in init_sh_desc() argument
68 init_desc(desc, CMD_SHARED_DESC_HDR | options); in init_sh_desc()
71 static inline void init_sh_desc_pdb(u32 * const desc, u32 options, in init_sh_desc_pdb() argument
77 options); in init_sh_desc_pdb()
80 static inline void init_job_desc(u32 * const desc, u32 options) in init_job_desc() argument
82 init_desc(desc, CMD_DESC_HDR | options); in init_job_desc()
85 static inline void init_job_desc_pdb(u32 * const desc, u32 options, in init_job_desc_pdb() argument
90 init_job_desc(desc, (((pdb_len + 1) << HDR_START_IDX_SHIFT)) | options); in init_job_desc_pdb()
[all …]
Dpdb.h136 u32 options; member
204 u32 options; member
236 u8 options; member
254 u8 options; member
275 u8 options; member
287 u8 options; member
309 u8 options; member
322 u8 options; member
345 u8 options; member
353 u8 options; member
[all …]
/Linux-v4.19/drivers/pcmcia/
Dvrc4171_card.c635 static int vrc4171_card_setup(char *options) in vrc4171_card_setup() argument
637 if (options == NULL || *options == '\0') in vrc4171_card_setup()
640 if (strncmp(options, "irq:", 4) == 0) { in vrc4171_card_setup()
642 options += 4; in vrc4171_card_setup()
643 irq = simple_strtoul(options, &options, 0); in vrc4171_card_setup()
647 if (*options != ',') in vrc4171_card_setup()
649 options++; in vrc4171_card_setup()
652 if (strncmp(options, "slota:", 6) == 0) { in vrc4171_card_setup()
653 options += 6; in vrc4171_card_setup()
654 if (*options != '\0') { in vrc4171_card_setup()
[all …]
/Linux-v4.19/drivers/tty/serial/
Dearlycon.c81 &port->mapbase, device->options); in earlycon_init()
85 port->iobase, device->options); in earlycon_init()
88 static int __init parse_options(struct earlycon_device *device, char *options) in parse_options() argument
94 if (uart_parse_earlycon(options, &port->iotype, &addr, &options)) in parse_options()
117 if (options) { in parse_options()
118 device->baud = simple_strtoul(options, NULL, 0); in parse_options()
119 length = min(strcspn(options, " ") + 1, in parse_options()
120 (size_t)(sizeof(device->options))); in parse_options()
121 strlcpy(device->options, options, length); in parse_options()
233 const char *options) in of_setup_earlycon() argument
[all …]
/Linux-v4.19/drivers/media/usb/hdpvr/
Dhdpvr-control.c112 dev->usbc_buf[0] = dev->options.bitrate; in hdpvr_set_bitrate()
113 dev->usbc_buf[2] = dev->options.peak_bitrate; in hdpvr_set_bitrate()
161 hdpvr_config_call(dev, CTRL_VIDEO_STD_TYPE, dev->options.video_std); in hdpvr_set_options()
164 dev->options.video_input+1); in hdpvr_set_options()
166 hdpvr_set_audio(dev, dev->options.audio_input+1, in hdpvr_set_options()
167 dev->options.audio_codec); in hdpvr_set_options()
171 dev->options.bitrate_mode); in hdpvr_set_options()
172 hdpvr_config_call(dev, CTRL_GOP_MODE_VALUE, dev->options.gop_mode); in hdpvr_set_options()
174 hdpvr_config_call(dev, CTRL_BRIGHTNESS, dev->options.brightness); in hdpvr_set_options()
175 hdpvr_config_call(dev, CTRL_CONTRAST, dev->options.contrast); in hdpvr_set_options()
[all …]
/Linux-v4.19/arch/um/drivers/
Dpcap_kern.c56 char *remain, *host_if = NULL, *options[2] = { NULL, NULL }; in pcap_setup() local
66 &options[0], &options[1], mac_out, NULL); in pcap_setup()
76 for (i = 0; i < ARRAY_SIZE(options); i++) { in pcap_setup()
77 if (options[i] == NULL) in pcap_setup()
79 if (!strcmp(options[i], "promisc")) in pcap_setup()
81 else if (!strcmp(options[i], "nopromisc")) in pcap_setup()
83 else if (!strcmp(options[i], "optimize")) in pcap_setup()
85 else if (!strcmp(options[i], "nooptimize")) in pcap_setup()
89 options[i]); in pcap_setup()
/Linux-v4.19/Documentation/sphinx/
Dkernel_include.py98 encoding = self.options.get(
101 tab_width = self.options.get(
116 startline = self.options.get('start-line', None)
117 endline = self.options.get('end-line', None)
129 after_text = self.options.get('start-after', None)
137 before_text = self.options.get('end-before', None)
148 if 'literal' in self.options:
155 classes=self.options.get('class', []))
158 if 'number-lines' in self.options:
160 startline = int(self.options['number-lines'] or 1)
[all …]
Dkerneldoc.py66 tab_width = self.options.get('tab-width', self.state.document.settings.tab_width)
69 if 'export' in self.options:
71 export_file_patterns = str(self.options.get('export')).split()
72 elif 'internal' in self.options:
74 export_file_patterns = str(self.options.get('internal')).split()
75 elif 'doc' in self.options:
76 cmd += ['-function', str(self.options.get('doc'))]
77 elif 'functions' in self.options:
78 functions = self.options.get('functions').split()
/Linux-v4.19/drivers/s390/net/
Dqeth_l2_sys.c28 card->options.sbp.supported_funcs) in qeth_bridge_port_role_state_show()
30 &card->options.sbp.role, &state); in qeth_bridge_port_role_state_show()
44 switch (card->options.sbp.role) { in qeth_bridge_port_role_state_show()
56 card->options.sbp.role, state); in qeth_bridge_port_role_state_show()
97 else if (card->options.sbp.reflect_promisc) in qeth_bridge_port_role_store()
103 card->options.sbp.role = role; in qeth_bridge_port_role_store()
105 card->options.sbp.role = role; in qeth_bridge_port_role_store()
141 enabled = card->options.sbp.hostnotification; in qeth_bridgeport_hostnotification_show()
167 card->options.sbp.hostnotification = enable; in qeth_bridgeport_hostnotification_store()
169 card->options.sbp.hostnotification = enable; in qeth_bridgeport_hostnotification_store()
[all …]
/Linux-v4.19/drivers/mtd/nand/raw/
Dnand_bbt.c114 if (td->options & NAND_BBT_NO_OOB) in check_pattern()
151 if (!(td->options & NAND_BBT_NO_OOB)) in add_marker_len()
155 if (td->options & NAND_BBT_VERSION) in add_marker_len()
178 int bits = td->options & NAND_BBT_NRBITS_MSK; in read_bbt()
269 if (td->options & NAND_BBT_PERCHIP) { in read_abs_bbt()
297 if (td->options & NAND_BBT_VERSION) in scan_read_data()
347 if (td->options & NAND_BBT_NO_OOB) in scan_read()
373 if (!(td->options & NAND_BBT_NO_OOB)) in bbt_get_ver_offs()
394 if (td->options & NAND_BBT_VERSION) { in read_abs_bbts()
403 if (md && (md->options & NAND_BBT_VERSION)) { in read_abs_bbts()
[all …]
/Linux-v4.19/fs/afs/
Dmntpt.c79 char *devname, *options; in afs_mntpt_do_automount() local
92 options = (char *) get_zeroed_page(GFP_KERNEL); in afs_mntpt_do_automount()
93 if (!options) in afs_mntpt_do_automount()
147 memcpy(options, "cell=", 5); in afs_mntpt_do_automount()
148 strcpy(options + 5, as->cell->name); in afs_mntpt_do_automount()
150 strcat(options, ",rwpath"); in afs_mntpt_do_automount()
154 _debug("--- attempting mount %s -o %s ---", devname, options); in afs_mntpt_do_automount()
155 mnt = vfs_submount(mntpt, &afs_fs_type, devname, options); in afs_mntpt_do_automount()
159 free_page((unsigned long) options); in afs_mntpt_do_automount()
166 free_page((unsigned long) options); in afs_mntpt_do_automount()
/Linux-v4.19/tools/perf/trace/beauty/
Dwaitid_options.c8 int printed = 0, options = arg->val; in syscall_arg__scnprintf_waitid_options() local
11 if (options & W##n) { \ in syscall_arg__scnprintf_waitid_options()
13 options &= ~W##n; \ in syscall_arg__scnprintf_waitid_options()
21 if (options) in syscall_arg__scnprintf_waitid_options()
22 printed += scnprintf(bf + printed, size - printed, "%s%#x", printed ? "|" : "", options); in syscall_arg__scnprintf_waitid_options()
/Linux-v4.19/fs/
Dcompat.c98 void *options; in COMPAT_SYSCALL_DEFINE5() local
112 options = copy_mount_options(data); in COMPAT_SYSCALL_DEFINE5()
113 retval = PTR_ERR(options); in COMPAT_SYSCALL_DEFINE5()
114 if (IS_ERR(options)) in COMPAT_SYSCALL_DEFINE5()
117 if (kernel_type && options) { in COMPAT_SYSCALL_DEFINE5()
120 if (do_nfs4_super_data_conv(options)) in COMPAT_SYSCALL_DEFINE5()
125 retval = do_mount(kernel_dev, dir_name, kernel_type, flags, options); in COMPAT_SYSCALL_DEFINE5()
128 kfree(options); in COMPAT_SYSCALL_DEFINE5()
/Linux-v4.19/Documentation/filesystems/
D00-INDEX8 - info and mount options for the Acorn Advanced Disc Filing System.
12 - info and mount options for the Amiga Fast File System.
55 - info, usage, mount options, design about EXOFS.
57 - info, mount options and specifications for the Ext2 filesystem.
59 - info, mount options and specifications for the Ext3 filesystem.
61 - info, mount options and specifications for the Ext4 filesystem.
63 - info and mount options for the F2FS filesystem.
69 - info on the Filesystem in User SpacE including mount options.
81 - info and mount options for the OS/2 HPFS.
85 - info and mount options for the ISO 9660 (CDROM) filesystem.
[all …]
/Linux-v4.19/tools/testing/selftests/bpf/
Dtest_sockmap.c620 static int run_options(struct sockmap_options *options, int cg_fd, int test) in run_options() argument
655 err = sockmap_init_sockets(options->verbose); in run_options()
817 options->drop_expected = true; in run_options()
820 err = forever_ping_pong(options->rate, options); in run_options()
822 options->base = false; in run_options()
823 options->sendpage = false; in run_options()
824 err = sendmsg_test(options); in run_options()
826 options->base = false; in run_options()
827 options->sendpage = true; in run_options()
828 err = sendmsg_test(options); in run_options()
[all …]
/Linux-v4.19/drivers/media/pci/ivtv/
Divtv-driver.c515 if (itv->options.tuner == -1) in ivtv_process_eeprom()
516 itv->options.tuner = tv.tuner_type; in ivtv_process_eeprom()
517 if (itv->options.radio == -1) in ivtv_process_eeprom()
518 itv->options.radio = (tv.has_radio != 0); in ivtv_process_eeprom()
520 if (itv->options.newi2c == -1 && tv.has_ir) { in ivtv_process_eeprom()
521 itv->options.newi2c = (tv.has_ir & 4) ? 1 : 0; in ivtv_process_eeprom()
522 if (itv->options.newi2c) { in ivtv_process_eeprom()
647 itv->options.kilobytes[IVTV_ENC_STREAM_TYPE_MPG] = enc_mpg_buffers * 1024; in ivtv_process_options()
648 itv->options.kilobytes[IVTV_ENC_STREAM_TYPE_YUV] = enc_yuv_buffers * 1024; in ivtv_process_options()
649 itv->options.kilobytes[IVTV_ENC_STREAM_TYPE_VBI] = enc_vbi_buffers * 1024; in ivtv_process_options()
[all …]
/Linux-v4.19/net/ipv4/
Dgre_demux.c68 __be32 *options; in gre_parse_header() local
87 options = (__be32 *)(greh + 1); in gre_parse_header()
96 options++; in gre_parse_header()
100 tpi->key = *options; in gre_parse_header()
101 options++; in gre_parse_header()
106 tpi->seq = *options; in gre_parse_header()
107 options++; in gre_parse_header()
117 if ((*(u8 *)options & 0xF0) != 0x40) in gre_parse_header()

12345678910>>...56