/linux/drivers/video/ |
H A D | cmdline.c | 35 const char *options = NULL; in __video_get_option_string() local 52 options = opt + name_len + 1; in __video_get_option_string() 56 /* No match, return global options */ in __video_get_option_string() 57 if (!options) in __video_get_option_string() 58 options = video_option; in __video_get_option_string() 60 return options; in __video_get_option_string() 66 * line (video=<name>:<options>) 68 * Looks up the video= options for the given name. Names are connector 74 * The string of video options for the given name, or NULL if no video 84 bool __video_get_options(const char *name, const char **options, bool is_of) in __video_get_options() argument [all …]
|
/linux/security/keys/trusted-keys/ |
H A D | trusted_tpm2.c | 32 struct trusted_key_options *options, in tpm2_key_encode() argument 57 if (options->blobauth_len == 0) { in tpm2_key_encode() 80 work = asn1_encode_integer(work, end_work, options->keyhandle); in tpm2_key_encode() 110 struct trusted_key_options *options, in tpm2_key_decode() argument 132 options->keyhandle = ctx.parent; in tpm2_key_decode() 236 * @options: authentication values and other options 242 struct trusted_key_options *options) in tpm2_seal_trusted() argument 253 if (options->hash == tpm2_hash_map[i].crypto_id) { in tpm2_seal_trusted() 262 if (!options->keyhandle) in tpm2_seal_trusted() 286 tpm_buf_append_name(chip, &buf, options->keyhandle, NULL); in tpm2_seal_trusted() [all …]
|
/linux/drivers/net/ppp/ |
H A D | ppp_deflate.c | 36 static void *z_comp_alloc(unsigned char *options, int opt_len); 37 static void *z_decomp_alloc(unsigned char *options, int opt_len); 40 static int z_comp_init(void *state, unsigned char *options, 43 static int z_decomp_init(void *state, unsigned char *options, 73 * @options: pointer to CCP option data 74 * @opt_len: length of the CCP option at @options. 76 * The @options pointer points to the a buffer containing the 85 static void *z_comp_alloc(unsigned char *options, int opt_len) in z_comp_alloc() argument 91 (options[0] != CI_DEFLATE && options[0] != CI_DEFLATE_DRAFT) || in z_comp_alloc() 92 options[1] != CILEN_DEFLATE || in z_comp_alloc() [all …]
|
/linux/tools/include/nolibc/sys/ |
H A D | wait.h | 19 * pid_t wait4(pid_t pid, int *status, int options, struct rusage *rusage); 20 * pid_t waitpid(pid_t pid, int *status, int options); 21 * int waitid(idtype_t idtype, id_t id, siginfo_t *infop, int options); 25 pid_t sys_wait4(pid_t pid, int *status, int options, struct rusage *rusage) in sys_wait4() argument 28 return my_syscall4(__NR_wait4, pid, status, options, rusage); in sys_wait4() 30 return __nolibc_enosys(__func__, pid, status, options, rusage); in sys_wait4() 35 pid_t wait4(pid_t pid, int *status, int options, struct rusage *rusage) in wait4() argument 37 return __sysret(sys_wait4(pid, status, options, rusage)); in wait4() 41 int sys_waitid(int which, pid_t pid, siginfo_t *infop, int options, struct rusage *rusage) in sys_waitid() argument 43 return my_syscall5(__NR_waitid, which, pid, infop, options, rusage); in sys_waitid() [all …]
|
/linux/drivers/crypto/caam/ |
H A D | desc_constr.h | 104 static inline void init_desc(u32 * const desc, u32 options) in init_desc() argument 106 *desc = cpu_to_caam32((options | HDR_ONE) + 1); in init_desc() 109 static inline void init_sh_desc(u32 * const desc, u32 options) in init_sh_desc() argument 112 init_desc(desc, CMD_SHARED_DESC_HDR | options); in init_sh_desc() 115 static inline void init_sh_desc_pdb(u32 * const desc, u32 options, in init_sh_desc_pdb() argument 121 options); in init_sh_desc_pdb() 124 static inline void init_job_desc(u32 * const desc, u32 options) in init_job_desc() argument 126 init_desc(desc, CMD_DESC_HDR | options); in init_job_desc() 129 static inline void init_job_desc_pdb(u32 * const desc, u32 options, in init_job_desc_pdb() argument 134 init_job_desc(desc, (((pdb_len + 1) << HDR_START_IDX_SHIFT)) | options); in init_job_desc_pdb() [all …]
|
H A D | pdb.h | 14 * PDB- IPSec ESP Header Modification Options 20 * Options Byte IP version (IPvsn) field: 47 * PDB - IPSec ESP Encap/Decap Options 94 * @ccm_opt: CCM algorithm options - MSB-LSB description: 121 * @options: MSB-LSB description 122 * hmo (header manipulation options) - 4b 136 u32 options; member 171 * @ccm_opt: CCM algorithm options - MSB-LSB description: 194 * @options: MSB-LSB description 195 * hmo (header manipulation options) - 4b [all …]
|
/linux/arch/mips/kernel/ |
H A D | cpu-probe.c | 70 cpu_data[0].options &= ~MIPS_CPU_HTW; in htw_disable() 147 c->options |= MIPS_CPU_MT_PER_TC_PERF_COUNTERS; in cpu_set_mt_per_tc_perf() 375 c->options |= MIPS_CPU_MM_FULL; in mm_config() 393 c->options |= MIPS_CPU_MM_SYSAD; in mm_config() 395 c->options |= MIPS_CPU_MM_FULL; in mm_config() 413 c->options |= MIPS_CPU_TLB; in decode_config0() 415 c->options |= MIPS_CPU_TLB | MIPS_CPU_FTLB; in decode_config0() 468 c->options |= MIPS_CPU_PERF; in decode_config1() 470 c->options |= MIPS_CPU_WATCH; in decode_config1() 474 c->options |= MIPS_CPU_EJTAG; in decode_config1() [all …]
|
H A D | fpu-probe.c | 116 c->options |= MIPS_CPU_MAC_2008_ONLY; in cpu_set_fpu_2008() 120 c->options |= MIPS_CPU_NAN_LEGACY; in cpu_set_fpu_2008() 122 c->options |= MIPS_CPU_NAN_2008; in cpu_set_fpu_2008() 134 c->options |= MIPS_CPU_NAN_LEGACY; in cpu_set_fpu_2008() 139 c->options |= MIPS_CPU_NAN_LEGACY; in cpu_set_fpu_2008() 157 c->options &= ~(MIPS_CPU_NAN_2008 | MIPS_CPU_NAN_LEGACY); in cpu_set_nofpu_2008() 168 c->options |= MIPS_CPU_NAN_2008 | MIPS_CPU_NAN_LEGACY; in cpu_set_nofpu_2008() 170 c->options |= MIPS_CPU_NAN_LEGACY; in cpu_set_nofpu_2008() 175 c->options |= MIPS_CPU_NAN_LEGACY; in cpu_set_nofpu_2008() 179 c->options |= MIPS_CPU_NAN_2008; in cpu_set_nofpu_2008() [all …]
|
/linux/drivers/comedi/drivers/ |
H A D | dt2815.c | 19 * Configuration options: 36 * [6] - Analog output 1 range configuration (same options) 37 * [7] - Analog output 2 range configuration (same options) 38 * [8] - Analog output 3 range configuration (same options) 39 * [9] - Analog output 4 range configuration (same options) 40 * [10] - Analog output 5 range configuration (same options) 41 * [11] - Analog output 6 range configuration (same options) 42 * [12] - Analog output 7 range configuration (same options) 116 * options[0] Board base address 117 * options[1] IRQ (not applicable) [all …]
|
/linux/tools/testing/selftests/ftrace/test.d/dynevent/ |
H A D | add_remove_eprobe.tc | 14 OPTIONS="file=+0(\$filename):ustring" 15 echo "e:$EPROBE $SYSTEM/$EVENT $OPTIONS" >> dynamic_events 43 echo "e:$EPROBE $SYSTEM/$EVENT $OPTIONS" >> dynamic_events 51 echo "e:$EPROBE $SYSTEM/$EVENT $OPTIONS" >> dynamic_events 59 echo "e:$EPROBE $SYSTEM/$EVENT $OPTIONS" >> dynamic_events 66 # With just event name and system/event and options 67 echo "e:$EPROBE $SYSTEM/$EVENT $OPTIONS" >> dynamic_events 70 echo "-:$EPROBE $SYSTEM/$EVENT $OPTIONS" >> dynamic_events 74 # With group name and system/event and options 75 echo "e:$EPROBE $SYSTEM/$EVENT $OPTIONS" >> dynamic_events [all …]
|
/linux/tools/lib/subcmd/ |
H A D | parse-options.c | 11 #include "parse-options.h" 345 static int parse_short_opt(struct parse_opt_ctx_t *p, const struct option *options) in parse_short_opt() argument 348 for (; options->type != OPTION_END; options++) { in parse_short_opt() 349 if (options->short_name == *p->opt) { in parse_short_opt() 351 return get_value(p, options, OPT_SHORT); in parse_short_opt() 355 if (options->parent) { in parse_short_opt() 356 options = options->parent; in parse_short_opt() 364 const struct option *options) in parse_long_opt() argument 374 for (; options->type != OPTION_END; options++) { in parse_long_opt() 378 if (!options->long_name) in parse_long_opt() [all …]
|
/linux/drivers/media/usb/hdpvr/ |
H A D | hdpvr-control.c | 108 dev->usbc_buf[0] = dev->options.bitrate; in hdpvr_set_bitrate() 109 dev->usbc_buf[2] = dev->options.peak_bitrate; in hdpvr_set_bitrate() 157 hdpvr_config_call(dev, CTRL_VIDEO_STD_TYPE, dev->options.video_std); in hdpvr_set_options() 160 dev->options.video_input+1); in hdpvr_set_options() 162 hdpvr_set_audio(dev, dev->options.audio_input+1, in hdpvr_set_options() 163 dev->options.audio_codec); in hdpvr_set_options() 167 dev->options.bitrate_mode); in hdpvr_set_options() 168 hdpvr_config_call(dev, CTRL_GOP_MODE_VALUE, dev->options.gop_mode); in hdpvr_set_options() 170 hdpvr_config_call(dev, CTRL_BRIGHTNESS, dev->options.brightness); in hdpvr_set_options() 171 hdpvr_config_call(dev, CTRL_CONTRAST, dev->options.contrast); in hdpvr_set_options() [all …]
|
/linux/Documentation/trace/ |
H A D | boottime-trace.rst | 19 Options in the Boot Config 22 Here is the list of available options list for boot time tracing in 23 boot config file [1]_. All options are under "ftrace." or "kernel." 24 prefix. See kernel parameters for the options which starts 30 Ftrace Global Options 33 Ftrace global options have "kernel." prefix in boot config, which means 34 these options are passed as a part of kernel legacy command line. 56 Ftrace Per-instance Options 59 These options can be used for each instance including global ftrace node. 61 ftrace.[instance.INSTANCE.]options = OPT1[, OPT2[...]] [all …]
|
/linux/arch/x86/boot/ |
H A D | early_serial_console.c | 119 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/scripts/ |
H A D | coccicheck | 35 # heuristics done in this file as Coccinelle accepts the last options when 36 # options conflict. 77 OPTIONS="$COCCIINCLUDE $1" 83 OPTIONS="--dir $srcroot $COCCIINCLUDE" 98 OPTIONS="--patch $srctree $OPTIONS" 108 OPTIONS="$OPTIONS --jobs $NPROC --chunksize 1" 189 OPTIONS="$OPTIONS $SPFLAGS" 194 OPT=`grep "Options:" $COCCI | cut -d':' -f2` 244 $FLAGS --cocci-file $COCCI $OPT $OPTIONS || \ 246 $FLAGS --cocci-file $COCCI $OPT $OPTIONS --no-show-diff || \ [all …]
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/ |
H A D | tc_tun_geneve.c | 118 ip_tunnel_info_opts_get(geneveh->options, tun_info); in mlx5e_gen_ip_tunnel_header_geneve() 184 "Matching on GENEVE options is not supported"); in mlx5e_tc_tun_parse_geneve_options() 186 "Matching on GENEVE options is not supported\n"); in mlx5e_tc_tun_parse_geneve_options() 190 /* make sure that we're talking about GENEVE options */ in mlx5e_tc_tun_parse_geneve_options() 194 "Matching on GENEVE options: option type is not GENEVE"); in mlx5e_tc_tun_parse_geneve_options() 196 "Matching on GENEVE options: option type is not GENEVE\n"); in mlx5e_tc_tun_parse_geneve_options() 203 NL_SET_ERR_MSG_MOD(extack, "Matching on GENEVE options len is not supported"); in mlx5e_tc_tun_parse_geneve_options() 205 "Matching on GENEVE options len is not supported\n"); in mlx5e_tc_tun_parse_geneve_options() 211 * len of all the options, including the headers, also multiples of 4 in mlx5e_tc_tun_parse_geneve_options() 217 "Matching on GENEVE options: unsupported options len"); in mlx5e_tc_tun_parse_geneve_options() [all …]
|
/linux/net/6lowpan/ |
H A D | Kconfig | 28 tristate "Destination Options Header Support" 31 6LoWPAN IPv6 Destination Options Header compression according to 41 tristate "Hop-by-Hop Options Header Support" 44 6LoWPAN IPv6 Hop-by-Hop Options Header compression according to 72 tristate "GHC Hop-by-Hop Options Header Support" 88 tristate "GHC Destination Options Header Support" 94 tristate "GHC Fragmentation Options Header Support" 100 tristate "GHC Routing Options Header Support"
|
/linux/include/linux/netfilter/ |
H A D | nf_conntrack_h323_types.h | 11 int options; /* No use */ member 16 int options; /* No use */ member 78 int options; /* No use */ member 100 int options; /* No use */ member 105 int options; /* No use */ member 156 } options; member 182 } options; member 207 } options; member 228 } options; member 238 } options; member [all …]
|
/linux/drivers/video/fbdev/core/ |
H A D | fb_cmdline.c | 28 * (video=<name>:<options>) 38 const char *options = NULL; in fb_get_options() local 45 enabled = __video_get_options(name, &options, is_of); in fb_get_options() 47 if (options) { in fb_get_options() 48 if (!strncmp(options, "off", 3)) in fb_get_options() 53 if (options) in fb_get_options() 54 *option = kstrdup(options, GFP_KERNEL); in fb_get_options()
|
/linux/tools/testing/selftests/bpf/ |
H A D | test_bpftool_synctypes.py | 308 Parse the list of common options in main.h (options that apply to all 309 commands), which looks to the lists of options in other source files 312 "OPTIONS := { {-j|--json} [{-p|--pretty}] | {-d|--debug}" 314 Return a set containing all options, such as: 318 start_marker = re.compile(f'"OPTIONS :=') 334 Parse the list of common options in substitutions.rst (options that 337 Return a set containing all options, such as: 426 return self.get_rst_list('OPTIONS') 492 options. Also check that bpftool is in sync with the UAPI BPF header. 535 …f'Comparing {MapFileExtractor.filename} (do_help() OPTIONS) and {ManMapExtractor.filename} (OPTION… [all …]
|
/linux/Documentation/sphinx/ |
H A D | kerneldoc.py | 131 self.tab_width = self.options.get('tab-width', 135 if 'functions' in self.options: 136 self.options['identifiers'] = self.options.get('functions') 139 if 'export' in self.options: 142 export_file_patterns = str(self.options.get('export')).split() 143 elif 'internal' in self.options: 146 export_file_patterns = str(self.options.get('internal')).split() 147 elif 'doc' in self.options: 148 func = str(self.options.get('doc')) 151 elif 'identifiers' in self.options: [all …]
|
/linux/drivers/s390/net/ |
H A D | qeth_l2_sys.c | 26 card->options.sbp.supported_funcs) in qeth_bridge_port_role_state_show() 28 &card->options.sbp.role, &state); in qeth_bridge_port_role_state_show() 42 switch (card->options.sbp.role) { in qeth_bridge_port_role_state_show() 54 card->options.sbp.role, state); in qeth_bridge_port_role_state_show() 95 else if (card->options.sbp.reflect_promisc) in qeth_bridge_port_role_store() 101 card->options.sbp.role = role; in qeth_bridge_port_role_store() 103 card->options.sbp.role = role; in qeth_bridge_port_role_store() 137 enabled = card->options.sbp.hostnotification; in qeth_bridgeport_hostnotification_show() 162 card->options.sbp.hostnotification = enable; in qeth_bridgeport_hostnotification_store() 164 card->options.sbp.hostnotification = enable; in qeth_bridgeport_hostnotification_store() [all …]
|
/linux/drivers/mtd/nand/raw/ |
H A D | nand_bbt.c | 11 * depending on the options in the BBT descriptor(s). If no flash based BBT 109 if (td->options & NAND_BBT_NO_OOB) in check_pattern() 146 if (!(td->options & NAND_BBT_NO_OOB)) in add_marker_len() 150 if (td->options & NAND_BBT_VERSION) in add_marker_len() 173 int bits = td->options & NAND_BBT_NRBITS_MSK; in read_bbt() 266 if (td->options & NAND_BBT_PERCHIP) { in read_abs_bbt() 295 if (td->options & NAND_BBT_VERSION) in scan_read_data() 346 if (td->options & NAND_BBT_NO_OOB) in scan_read() 374 if (!(td->options & NAND_BBT_NO_OOB)) in bbt_get_ver_offs() 395 if (td->options & NAND_BBT_VERSION) { in read_abs_bbts() [all …]
|
/linux/net/netfilter/ |
H A D | nf_synproxy_core.c | 41 opts->options = 0; in synproxy_parse_options() 65 opts->options |= NF_SYNPROXY_OPT_MSS; in synproxy_parse_options() 73 opts->options |= NF_SYNPROXY_OPT_WSCALE; in synproxy_parse_options() 80 opts->options |= NF_SYNPROXY_OPT_TIMESTAMP; in synproxy_parse_options() 85 opts->options |= NF_SYNPROXY_OPT_SACK_PERM; in synproxy_parse_options() 102 if (opts->options & NF_SYNPROXY_OPT_MSS) in synproxy_options_size() 104 if (opts->options & NF_SYNPROXY_OPT_TIMESTAMP) in synproxy_options_size() 106 else if (opts->options & NF_SYNPROXY_OPT_SACK_PERM) in synproxy_options_size() 108 if (opts->options & NF_SYNPROXY_OPT_WSCALE) in synproxy_options_size() 118 u8 options = opts->options; in synproxy_build_options() local [all …]
|
/linux/net/dns_resolver/ |
H A D | dns_query.c | 56 * @options: Request options (or NULL if no options) 65 * the options need to be appropriate for the query type requested. If no 76 const char *options, char **_result, time64_t *_expiry, in dns_query() argument 87 type, (int)namelen, (int)namelen, name, namelen, options); in dns_query() 120 if (!options) in dns_query() 121 options = ""; in dns_query() 122 kdebug("call request_key(,%s,%s)", desc, options); in dns_query() 128 rkey = request_key_net(&key_type_dns_resolver, desc, net, options); in dns_query()
|