/kernel/linux/linux-5.10/drivers/video/fbdev/core/ |
D | fb_cmdline.c | 37 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() 79 static int __init video_setup(char *options) in video_setup() argument 81 if (!options || !*options) in video_setup() 84 if (!strncmp(options, "ofonly", 6)) { in video_setup() 89 if (strchr(options, ':')) { in video_setup() [all …]
|
/kernel/linux/linux-5.10/security/keys/trusted-keys/ |
D | trusted_tpm2.c | 64 struct trusted_key_options *options) in tpm2_seal_trusted() argument 73 if (options->hash == tpm2_hash_map[i].crypto_id) { in tpm2_seal_trusted() 92 tpm_buf_append_u32(&buf, options->keyhandle); in tpm2_seal_trusted() 96 options->keyauth /* hmac */, in tpm2_seal_trusted() 100 tpm_buf_append_u16(&buf, 4 + options->blobauth_len + payload->key_len + 1); in tpm2_seal_trusted() 102 tpm_buf_append_u16(&buf, options->blobauth_len); in tpm2_seal_trusted() 103 if (options->blobauth_len) in tpm2_seal_trusted() 104 tpm_buf_append(&buf, options->blobauth, options->blobauth_len); in tpm2_seal_trusted() 111 tpm_buf_append_u16(&buf, 14 + options->policydigest_len); in tpm2_seal_trusted() 116 if (options->policydigest_len) { in tpm2_seal_trusted() [all …]
|
/kernel/linux/linux-5.10/drivers/net/ppp/ |
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, 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() 93 DEFLATE_METHOD(options[2]) != DEFLATE_METHOD_VAL || in z_comp_alloc() 94 options[3] != DEFLATE_CHK_SEQUENCE) in z_comp_alloc() 96 w_size = DEFLATE_SIZE(options[2]); in z_comp_alloc() [all …]
|
D | bsd_comp.c | 169 static void *bsd_alloc(unsigned char *options, int opt_len, int decomp); 170 static void *bsd_comp_alloc (unsigned char *options, int opt_len); 171 static void *bsd_decomp_alloc (unsigned char *options, int opt_len); 173 static int bsd_init (void *db, unsigned char *options, 175 static int bsd_comp_init (void *state, unsigned char *options, 177 static int bsd_decomp_init (void *state, unsigned char *options, 352 static void *bsd_alloc (unsigned char *options, int opt_len, int decomp) in bsd_alloc() argument 358 if (opt_len != 3 || options[0] != CI_BSD_COMPRESS || options[1] != 3 in bsd_alloc() 359 || BSD_VERSION(options[2]) != BSD_CURRENT_VERSION) in bsd_alloc() 364 bits = BSD_NBITS(options[2]); in bsd_alloc() [all …]
|
/kernel/linux/linux-5.10/tools/lib/subcmd/ |
D | parse-options.c | 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() 381 rest = skip_prefix(arg, options->long_name); in parse_long_opt() [all …]
|
/kernel/linux/linux-5.10/arch/mips/kernel/ |
D | cpu-probe.c | 69 cpu_data[0].options &= ~MIPS_CPU_HTW; in htw_disable() 146 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 …]
|
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() 167 c->options |= MIPS_CPU_NAN_2008 | MIPS_CPU_NAN_LEGACY; in cpu_set_nofpu_2008() 169 c->options |= MIPS_CPU_NAN_LEGACY; in cpu_set_nofpu_2008() 174 c->options |= MIPS_CPU_NAN_LEGACY; in cpu_set_nofpu_2008() 178 c->options |= MIPS_CPU_NAN_2008; in cpu_set_nofpu_2008() [all …]
|
D | cpu-r3k-probe.c | 95 c->options = MIPS_CPU_TLB | MIPS_CPU_3K_CACHE | in cpu_probe() 98 c->options |= MIPS_CPU_FPU; in cpu_probe() 114 c->options = MIPS_CPU_TLB | MIPS_CPU_3K_CACHE | in cpu_probe() 117 c->options |= MIPS_CPU_FPU; in cpu_probe() 121 c->options = MIPS_CPU_TLB | MIPS_CPU_TX39_CACHE; in cpu_probe() 155 c->options &= ~MIPS_CPU_FPU; in cpu_probe() 157 if (c->options & MIPS_CPU_FPU) in cpu_probe() 169 if (c->options & MIPS_CPU_FPU) in cpu_report()
|
/kernel/linux/linux-5.10/arch/x86/boot/ |
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()
|
/kernel/linux/linux-5.10/drivers/crypto/caam/ |
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 …]
|
D | pdb.h | 136 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 …]
|
/kernel/linux/linux-5.10/include/linux/netfilter/ |
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 …]
|
/kernel/linux/linux-5.10/drivers/pcmcia/ |
D | vrc4171_card.c | 622 static int vrc4171_card_setup(char *options) in vrc4171_card_setup() argument 624 if (options == NULL || *options == '\0') in vrc4171_card_setup() 627 if (strncmp(options, "irq:", 4) == 0) { in vrc4171_card_setup() 629 options += 4; in vrc4171_card_setup() 630 irq = simple_strtoul(options, &options, 0); in vrc4171_card_setup() 634 if (*options != ',') in vrc4171_card_setup() 636 options++; in vrc4171_card_setup() 639 if (strncmp(options, "slota:", 6) == 0) { in vrc4171_card_setup() 640 options += 6; in vrc4171_card_setup() 641 if (*options != '\0') { in vrc4171_card_setup() [all …]
|
/kernel/linux/linux-5.10/drivers/tty/serial/ |
D | earlycon.c | 86 &port->mapbase, device->options); in earlycon_print_info() 90 port->iobase, device->options); in earlycon_print_info() 93 static int __init parse_options(struct earlycon_device *device, char *options) in parse_options() argument 99 if (uart_parse_earlycon(options, &port->iotype, &addr, &options)) in parse_options() 122 if (options) { in parse_options() 123 device->baud = simple_strtoul(options, NULL, 0); in parse_options() 124 length = min(strcspn(options, " ") + 1, in parse_options() 125 (size_t)(sizeof(device->options))); in parse_options() 126 strlcpy(device->options, options, length); in parse_options() 250 const char *options) in of_setup_earlycon() argument [all …]
|
/kernel/linux/linux-5.10/drivers/media/usb/hdpvr/ |
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 …]
|
/kernel/linux/linux-5.10/arch/um/drivers/ |
D | pcap_kern.c | 56 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()
|
/kernel/linux/linux-5.10/Documentation/sphinx/ |
D | kerneldoc.py | 85 tab_width = self.options.get('tab-width', self.state.document.settings.tab_width) 88 if 'functions' in self.options: 89 self.options['identifiers'] = self.options.get('functions') 92 if 'export' in self.options: 94 export_file_patterns = str(self.options.get('export')).split() 95 elif 'internal' in self.options: 97 export_file_patterns = str(self.options.get('internal')).split() 98 elif 'doc' in self.options: 99 cmd += ['-function', str(self.options.get('doc'))] 100 elif 'identifiers' in self.options: [all …]
|
D | kernel_include.py | 98 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 …]
|
/kernel/linux/linux-5.10/drivers/mtd/nand/raw/ |
D | nand_bbt.c | 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() 404 if (md && (md->options & NAND_BBT_VERSION)) { in read_abs_bbts() [all …]
|
/kernel/linux/linux-5.10/tools/lib/traceevent/ |
D | event-plugin.c | 26 struct tep_plugin_option *options; member 115 for (op = reg->options; op->name; op++) { in tep_plugin_list_options() 220 struct tep_plugin_option *options) in tep_plugin_add_options() argument 228 reg->options = options; in tep_plugin_add_options() 231 while (options->name) { in tep_plugin_add_options() 232 update_option(name, options); in tep_plugin_add_options() 233 options++; in tep_plugin_add_options() 242 void tep_plugin_remove_options(struct tep_plugin_option *options) in tep_plugin_remove_options() argument 248 if ((*last)->options == options) { in tep_plugin_remove_options() 281 for (op = reg->options; op->name; op++) { in find_registered_option() [all …]
|
/kernel/linux/linux-5.10/tools/perf/trace/beauty/ |
D | waitid_options.c | 10 int printed = 0, options = arg->val; in syscall_arg__scnprintf_waitid_options() local 13 if (options & W##n) { \ in syscall_arg__scnprintf_waitid_options() 15 options &= ~W##n; \ in syscall_arg__scnprintf_waitid_options() 23 if (options) in syscall_arg__scnprintf_waitid_options() 24 printed += scnprintf(bf + printed, size - printed, "%s%#x", printed ? "|" : "", options); in syscall_arg__scnprintf_waitid_options()
|
/kernel/linux/linux-5.10/drivers/s390/net/ |
D | qeth_l2_main.c | 397 if (card->options.sbp.reflect_promisc_primary) in qeth_l2_promisc_to_bridge() 407 card->options.sbp.role = role; in qeth_l2_promisc_to_bridge() 423 if (card->options.sbp.reflect_promisc) in qeth_l2_set_promisc_mode() 958 QETH_CARD_HEX(card, 2, &card->options.sbp.supported_funcs, in qeth_l2_trace_features() 959 sizeof(card->options.sbp.supported_funcs)); in qeth_l2_trace_features() 962 QETH_CARD_HEX(card, 2, &card->options.vnicc.sup_chars, in qeth_l2_trace_features() 963 sizeof(card->options.vnicc.sup_chars)); in qeth_l2_trace_features() 968 if (!card->options.sbp.reflect_promisc && in qeth_l2_setup_bridgeport_attrs() 969 card->options.sbp.role != QETH_SBP_ROLE_NONE) { in qeth_l2_setup_bridgeport_attrs() 971 qeth_bridgeport_setrole(card, card->options.sbp.role); in qeth_l2_setup_bridgeport_attrs() [all …]
|
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 …]
|
/kernel/linux/linux-5.10/drivers/media/pci/ivtv/ |
D | ivtv-driver.c | 514 if (itv->options.tuner == -1) in ivtv_process_eeprom() 515 itv->options.tuner = tv.tuner_type; in ivtv_process_eeprom() 516 if (itv->options.radio == -1) in ivtv_process_eeprom() 517 itv->options.radio = (tv.has_radio != 0); in ivtv_process_eeprom() 519 if (itv->options.newi2c == -1 && tv.has_ir) { in ivtv_process_eeprom() 520 itv->options.newi2c = (tv.has_ir & 4) ? 1 : 0; in ivtv_process_eeprom() 521 if (itv->options.newi2c) { in ivtv_process_eeprom() 646 itv->options.kilobytes[IVTV_ENC_STREAM_TYPE_MPG] = enc_mpg_buffers * 1024; in ivtv_process_options() 647 itv->options.kilobytes[IVTV_ENC_STREAM_TYPE_YUV] = enc_yuv_buffers * 1024; in ivtv_process_options() 648 itv->options.kilobytes[IVTV_ENC_STREAM_TYPE_VBI] = enc_vbi_buffers * 1024; in ivtv_process_options() [all …]
|
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/ |
D | test_sockmap.c | 909 static int run_options(struct sockmap_options *options, int cg_fd, int test) in run_options() argument 968 err = sockmap_init_sockets(options->verbose); in run_options() 1214 options->drop_expected = true; in run_options() 1217 err = forever_ping_pong(options->rate, options); in run_options() 1219 options->base = false; in run_options() 1220 options->sendpage = false; in run_options() 1221 err = sendmsg_test(options); in run_options() 1223 options->base = false; in run_options() 1224 options->sendpage = true; in run_options() 1225 err = sendmsg_test(options); in run_options() [all …]
|