/linux/crypto/ |
H A D | dh.c | 55 static int dh_set_params(struct dh_ctx *ctx, struct dh *params) in dh_set_params() argument 57 if (dh_check_params_length(params->p_size << 3)) in dh_set_params() 60 ctx->p = mpi_read_raw_data(params->p, params->p_size); in dh_set_params() 64 ctx->g = mpi_read_raw_data(params->g, params->g_size); in dh_set_params() 75 struct dh params; in dh_set_secret() local 80 if (crypto_dh_decode_key(buf, len, ¶ms) < 0) in dh_set_secret() 83 if (dh_set_params(ctx, ¶ms) < 0) in dh_set_secret() 86 ctx->xa = mpi_read_raw_data(params.key, params.key_size); in dh_set_secret() 463 struct dh params = {}; in dh_safe_prime_set_secret() local 469 err = __crypto_dh_decode_key(buffer, len, ¶ms); in dh_safe_prime_set_secret() [all …]
|
/linux/Documentation/sound/designs/ |
H A D | jack-controls.rst | 26 Each jack will have a kcontrol list, so that we can create a kcontrol 36 adding two params: 39 if true, create a kcontrol and add it to the jack list. 41 Don't create a input device for phantom jacks. 43 HDA jacks can set phantom_jack to true in order to create a phantom 44 jack and set initial_kctl to true to create an initial kcontrol with
|
/linux/net/ieee802154/6lowpan/ |
H A D | core.c | 60 .create = lowpan_header_create, 134 struct rtnl_newlink_params *params, in lowpan_newlink() argument 137 struct nlattr **tb = params->tb; in lowpan_newlink() 147 if (params->link_net && !net_eq(params->link_net, dev_net(ldev))) in lowpan_newlink()
|
/linux/net/mac802154/ |
H A D | iface.c | 33 struct ieee802154_llsec_params params; in mac802154_wpan_update_llsec() local 36 params.pan_id = wpan_dev->pan_id; in mac802154_wpan_update_llsec() 39 params.hwaddr = wpan_dev->extended_addr; in mac802154_wpan_update_llsec() 42 rc = ops->llsec->set_params(dev, ¶ms, changed); in mac802154_wpan_update_llsec() 326 struct ieee802154_llsec_params params; in mac802154_set_header_security() local 329 mac802154_llsec_get_params(&sdata->sec, ¶ms); in mac802154_set_header_security() 331 if (!params.enabled && cb->secen_override && cb->secen) in mac802154_set_header_security() 333 if (!params.enabled || in mac802154_set_header_security() 335 !params.out_level) in mac802154_set_header_security() 340 level = cb->seclevel_override ? cb->seclevel : params.out_level; in mac802154_set_header_security() [all …]
|
/linux/fs/vboxsf/ |
H A D | dir.c | 15 struct shfl_createparms params = {}; in vboxsf_dir_open() local 23 params.handle = SHFL_HANDLE_NIL; in vboxsf_dir_open() 24 params.create_flags = SHFL_CF_DIRECTORY | SHFL_CF_ACT_OPEN_IF_EXISTS | in vboxsf_dir_open() 27 err = vboxsf_create_at_dentry(file_dentry(file), ¶ms); in vboxsf_dir_open() 31 if (params.result != SHFL_FILE_EXISTS) { in vboxsf_dir_open() 36 err = vboxsf_dir_read_all(sbi, sf_d, params.handle); in vboxsf_dir_open() 40 vboxsf_close(sbi->root, params.handle); in vboxsf_dir_open() 45 vboxsf_close(sbi->root, params.handle); in vboxsf_dir_open() 262 struct shfl_createparms params = {}; in vboxsf_dir_create() local 265 params.handle = SHFL_HANDLE_NIL; in vboxsf_dir_create() [all …]
|
/linux/include/net/ |
H A D | cfg802154.h | 100 struct ieee802154_llsec_params *params); 103 const struct ieee802154_llsec_params *params, 465 int (*create)(struct sk_buff *skb, struct net_device *dev, member 525 return wpan_dev->header_ops->create(skb, dev, daddr, saddr, len); in wpan_dev_hard_header()
|
/linux/drivers/net/ethernet/intel/ice/ |
H A D | ice_lib.h | 39 void ice_vsi_cfg_sw_lldp(struct ice_vsi *vsi, bool tx, bool create); 53 ice_vsi_setup(struct ice_pf *pf, struct ice_vsi_cfg_params *params);
|
H A D | ice_lib.c | 2075 void ice_vsi_cfg_sw_lldp(struct ice_vsi *vsi, bool tx, bool create) in ice_vsi_cfg_sw_lldp() argument 2084 eth_fltr = create ? ice_fltr_add_eth : ice_fltr_remove_eth; in ice_vsi_cfg_sw_lldp() 2093 if (!status || !create) in ice_vsi_cfg_sw_lldp() 2101 status = ice_lldp_fltr_add_remove(&pf->hw, vsi, create); in ice_vsi_cfg_sw_lldp() 2110 create ? "add" : "remove", tx ? "Tx" : "Rx", in ice_vsi_cfg_sw_lldp() 2537 ice_vsi_setup(struct ice_pf *pf, struct ice_vsi_cfg_params *params) in ice_vsi_setup() argument 2546 if (WARN_ON(!(params->flags & ICE_VSI_FLAG_INIT)) || in ice_vsi_setup() 2547 WARN_ON(!params->port_info)) in ice_vsi_setup() 2556 vsi->params = *params; in ice_vsi_setup()
|
/linux/drivers/acpi/acpica/ |
H A D | acparser.h | 167 char *path, u16 opcode, u32 create); 182 union acpi_operand_object **params,
|
/linux/drivers/net/ethernet/chelsio/cxgb/ |
H A D | subr.c | 634 (mac->adapter->params.nports < 2))) in t1_link_start() 996 if (t1_tp_reset(adapter->tp, &adapter->params.tp, bi->clock_core)) in t1_init_hw_modules() 999 err = t1_sge_configure(adapter->sge, &adapter->params.sge); in t1_init_hw_modules() 1072 adapter->params.brd_info = bi; in t1_init_sw_modules() 1073 adapter->params.nports = bi->port_number; in t1_init_sw_modules() 1074 adapter->params.stats_update_period = bi->gmac->stats_update_period; in t1_init_sw_modules() 1076 adapter->sge = t1_sge_create(adapter, &adapter->params.sge); in t1_init_sw_modules() 1089 adapter->tp = t1_tp_create(adapter, &adapter->params.tp); in t1_init_sw_modules() 1108 adapter->port[i].phy = bi->gphy->create(adapter->port[i].dev, in t1_init_sw_modules() 1116 adapter->port[i].mac = mac = bi->gmac->create(adapter, i); in t1_init_sw_modules() [all …]
|
/linux/Documentation/admin-guide/gpio/ |
H A D | gpio-mockup.rst | 14 The GPIO Testing Driver (gpio-mockup) provides a way to create simulated GPIO 19 Creating simulated chips using module params
|
/linux/drivers/net/ |
H A D | macvlan.c | 609 .create = macvlan_hard_header, 1445 struct rtnl_newlink_params *params, in macvlan_common_newlink() argument 1448 struct net *link_net = rtnl_newlink_link_net(params); in macvlan_common_newlink() 1450 struct nlattr **data = params->data; in macvlan_common_newlink() 1451 struct nlattr **tb = params->tb; in macvlan_common_newlink() 1454 bool create = false; in macvlan_common_newlink() local 1487 create = true; in macvlan_common_newlink() 1564 if (create && macvlan_port_get_rtnl(lowerdev)) { in macvlan_common_newlink() 1573 struct rtnl_newlink_params *params, in macvlan_newlink() argument 1576 return macvlan_common_newlink(dev, params, extack); in macvlan_newlink()
|
/linux/net/9p/ |
H A D | trans_fd.c | 771 static int parse_opts(char *params, struct p9_fd_opts *opts) in parse_opts() argument 783 if (!params) in parse_opts() 786 tmp_options = kstrdup(params, GFP_KERNEL); in parse_opts() 1111 .create = p9_fd_create_tcp, 1125 .create = p9_fd_create_unix, 1139 .create = p9_fd_create,
|
H A D | trans_rdma.c | 174 static int parse_opts(char *params, struct p9_rdma_opts *opts) in parse_opts() argument 187 if (!params) in parse_opts() 190 tmp_options = kstrdup(params, GFP_KERNEL); in parse_opts() 753 .create = rdma_create_trans,
|
/linux/net/ipv6/ |
H A D | ip6_vti.c | 251 int create) in vti6_locate() argument 264 if (create) in vti6_locate() 270 if (!create) in vti6_locate() 1001 struct rtnl_newlink_params *params, in vti6_newlink() argument 1004 struct nlattr **data = params->data; in vti6_newlink() 1008 net = params->link_net ? : dev_net(dev); in vti6_newlink()
|
H A D | ip6_gre.c | 316 const struct __ip6_tnl_parm *parms, int create) in ip6gre_tunnel_locate() argument 324 if (t && create) in ip6gre_tunnel_locate() 326 if (t || !create) in ip6gre_tunnel_locate() 1399 .create = ip6gre_header, 1968 struct rtnl_newlink_params *params, in ip6gre_newlink() argument 1971 struct net *net = params->link_net ? : dev_net(dev); in ip6gre_newlink() 1973 struct nlattr **data = params->data; in ip6gre_newlink() 1974 struct nlattr **tb = params->tb; in ip6gre_newlink() 2206 struct rtnl_newlink_params *params, in ip6erspan_newlink() argument 2209 struct net *net = params->link_net ? : dev_net(dev); in ip6erspan_newlink() [all …]
|
H A D | sit.c | 231 int create) in ipip6_tunnel_locate() argument 247 if (create) in ipip6_tunnel_locate() 253 if (!create) in ipip6_tunnel_locate() 1554 struct rtnl_newlink_params *params, in ipip6_newlink() argument 1557 struct nlattr **data = params->data; in ipip6_newlink() 1558 struct nlattr **tb = params->tb; in ipip6_newlink() 1567 net = params->link_net ? : dev_net(dev); in ipip6_newlink()
|
/linux/net/mctp/test/ |
H A D | route-test.c | 22 const struct mctp_frag_test *params; in mctp_test_fragment() local 31 params = test->param_value; in mctp_test_fragment() 32 mtu = params->mtu; in mctp_test_fragment() 33 msgsize = params->msgsize; in mctp_test_fragment() 53 KUNIT_EXPECT_EQ(test, n, params->n_frags); in mctp_test_fragment() 132 const struct mctp_rx_input_test *params; in mctp_test_rx_input() local 138 params = test->param_value; in mctp_test_rx_input() 147 skb = mctp_test_create_skb(¶ms->hdr, 1); in mctp_test_rx_input() 154 KUNIT_EXPECT_EQ(test, !!tpq.pkts.qlen, params->input); in mctp_test_rx_input() 234 const struct mctp_route_input_sk_test *params; in mctp_test_route_input_sk() local [all …]
|
/linux/Documentation/admin-guide/acpi/ |
H A D | initrd_table_override.rst | 89 find kernel | cpio -H newc --create > /boot/instrumented_initrd 91 # reboot with increased acpi debug level, e.g. boot params:
|
/linux/Documentation/trace/ |
H A D | histogram-design.rst | 35 can do with histograms - create one with a single key on a single 59 What this does is create a histogram on the sched_waking event using 901 Finally, we create a hist trigger on the sched_switch event that 1100 First, we create the wakeup_latency synthetic event:: 1324 follow the same ordering as the synthetic event params. To address 1326 maps the trace action params to the var_ref_vals[] values. Below is a 1330 | action_data | event params var_ref_vals[] 1356 and onchange(), also make use of and internally create hidden 1452 the 4 params to the save() function have resulted in 4 field variables 1545 save action variables (save() params): [all …]
|
H A D | events.rst | 635 There are a couple ways to create a new synthetic event from a kernel 639 In this method, the name of the event to create and an array defining 642 call. For example, to create a new "schedtest" synthetic event:: 684 allows events to be created dynamically and without the need to create 695 synth_event_gen_cmd_array_start(), the user should create and 698 For example, to create a new "schedtest" synthetic event with two 950 To create a kprobe or kretprobe trace event from kernel code, the 954 To create a kprobe event, an empty or partially empty kprobe event 959 should create and initialize a dynevent_cmd object using 962 For example, to create a new "schedtest" kprobe event with two fields:: [all …]
|
/linux/sound/soc/intel/avs/ |
H A D | path.c | 85 static bool avs_test_hw_params(struct snd_pcm_hw_params *params, in avs_test_hw_params() argument 88 return (params_rate(params) == fmt->sampling_freq && in avs_test_hw_params() 89 params_channels(params) == fmt->num_channels && in avs_test_hw_params() 90 params_physical_width(params) == fmt->bit_depth && in avs_test_hw_params() 91 snd_pcm_hw_params_bits(params) == fmt->valid_bit_depth); in avs_test_hw_params() 753 int (*create)(struct avs_dev *adev, struct avs_path_module *mod); member 780 return avs_module_create[i].create(adev, mod); in avs_path_module_type_create()
|
/linux/drivers/net/ipvlan/ |
H A D | ipvlan_main.c | 388 .create = ipvlan_hard_header, 536 int ipvlan_link_new(struct net_device *dev, struct rtnl_newlink_params *params, in ipvlan_link_new() argument 539 struct net *link_net = rtnl_newlink_link_net(params); in ipvlan_link_new() 541 struct nlattr **data = params->data; in ipvlan_link_new() 542 struct nlattr **tb = params->tb; in ipvlan_link_new()
|
/linux/drivers/net/wireless/ath/ath12k/ |
H A D | mac.c | 1187 struct ath12k_wmi_vdev_up_params params = {}; in ath12k_monitor_vdev_up() local 1190 params.vdev_id = vdev_id; in ath12k_monitor_vdev_up() 1191 params.bssid = ar->mac_addr; in ath12k_monitor_vdev_up() 1192 ret = ath12k_wmi_vdev_up(ar, ¶ms); in ath12k_monitor_vdev_up() 1209 struct ath12k_wmi_vdev_up_params params = {}; in ath12k_mac_monitor_vdev_start() local 1250 params.vdev_id = vdev_id; in ath12k_mac_monitor_vdev_start() 1251 params.bssid = ar->mac_addr; in ath12k_mac_monitor_vdev_start() 1252 ret = ath12k_wmi_vdev_up(ar, ¶ms); in ath12k_mac_monitor_vdev_start() 1751 struct ath12k_wmi_vdev_up_params params = {}; in ath12k_control_beaconing() local 1780 params.vdev_id = arvif->vdev_id; in ath12k_control_beaconing() [all …]
|
/linux/Documentation/networking/device_drivers/hamradio/ |
H A D | z8530drv.rst | 263 device scc0 # the device for the following params 323 This will create a network interface with the IP number 44.128.20.107 326 axattach. The purpose of axattach (like slattach) is to create a KISS 590 can be computed as follows to create restricted groups:
|