Home
last modified time | relevance | path

Searched refs:param_len (Results 1 – 25 of 31) sorted by relevance

12

/linux-6.1.9/net/nfc/hci/
Dcommand.c20 const u8 *param, size_t param_len, in nfc_hci_execute_cmd_async() argument
24 cmd, param_len); in nfc_hci_execute_cmd_async()
30 param, param_len, cb, cb_context, MAX_FWI); in nfc_hci_execute_cmd_async()
56 const u8 *param, size_t param_len, in nfc_hci_execute_cmd() argument
66 cmd, param_len); in nfc_hci_execute_cmd()
73 param, param_len, in nfc_hci_execute_cmd()
92 const u8 *param, size_t param_len) in nfc_hci_send_event() argument
103 param, param_len, NULL, NULL, 0); in nfc_hci_send_event()
113 const u8 *param, size_t param_len, struct sk_buff **skb) in nfc_hci_send_cmd() argument
121 return nfc_hci_execute_cmd(hdev, pipe, cmd, param, param_len, skb); in nfc_hci_send_cmd()
[all …]
/linux-6.1.9/include/net/nfc/
Dhci.h264 const u8 *param, size_t param_len);
266 const u8 *param, size_t param_len, struct sk_buff **skb);
268 const u8 *param, size_t param_len,
271 const u8 *param, size_t param_len);
Dnci_core.h306 const u8 *param, size_t param_len);
308 u8 cmd, const u8 *param, size_t param_len,
314 const u8 *param, size_t param_len);
/linux-6.1.9/net/nfc/nci/
Dhci.c207 const u8 *param, size_t param_len) in nci_hci_send_event() argument
216 param, param_len); in nci_hci_send_event()
221 const u8 *param, size_t param_len, in nci_hci_send_cmd() argument
241 data.data_len = param_len; in nci_hci_send_cmd()
553 const u8 *param, size_t param_len) in nci_hci_set_param() argument
571 tmp = kmalloc(1 + param_len, GFP_KERNEL); in nci_hci_set_param()
576 memcpy(tmp + 1, param, param_len); in nci_hci_set_param()
583 data.data_len = param_len + 1; in nci_hci_set_param()
/linux-6.1.9/net/bluetooth/
Dmgmt_util.h26 size_t param_len; member
38 size_t param_len; member
Dmgmt_util.c282 cmd->param_len = len; in mgmt_pending_new()
376 mesh_tx->param_len = len; in mgmt_mesh_add()
/linux-6.1.9/crypto/
Dtestmgr.h157 unsigned int param_len; member
664 .param_len = 21,
688 .param_len = 21,
712 .param_len = 21,
736 .param_len = 21,
761 .param_len = 21,
792 .param_len = 21,
818 .param_len = 21,
844 .param_len = 21,
870 .param_len = 21,
[all …]
/linux-6.1.9/net/sctp/
Dauth.c760 __u16 param_len; in sctp_auth_ep_add_chunkid() local
767 param_len = ntohs(p->param_hdr.length); in sctp_auth_ep_add_chunkid()
768 nchunks = param_len - sizeof(struct sctp_paramhdr); in sctp_auth_ep_add_chunkid()
773 p->param_hdr.length = htons(param_len + 1); in sctp_auth_ep_add_chunkid()
Dstream.c294 int param_len = 0; in sctp_send_reset_streams() local
301 param_len = str_nums * sizeof(__u16) + in sctp_send_reset_streams()
310 param_len += str_nums * sizeof(__u16) + in sctp_send_reset_streams()
314 if (param_len > SCTP_MAX_CHUNK_LEN - in sctp_send_reset_streams()
/linux-6.1.9/drivers/staging/rtl8723bs/os_dep/
Dioctl_cfg80211.c499 …int rtw_cfg80211_ap_set_encryption(struct net_device *dev, struct ieee_param *param, u32 param_len) in rtw_cfg80211_ap_set_encryption() argument
515 if (param_len != sizeof(struct ieee_param) + param->u.crypt.key_len) { in rtw_cfg80211_ap_set_encryption()
711 …ic int rtw_cfg80211_set_encryption(struct net_device *dev, struct ieee_param *param, u32 param_len) in rtw_cfg80211_set_encryption() argument
722 if (param_len < (u32) ((u8 *) param->u.crypt.key - (u8 *) param) + param->u.crypt.key_len) { in rtw_cfg80211_set_encryption()
857 u32 param_len; in cfg80211_rtw_add_key() local
863 param_len = sizeof(struct ieee_param) + params->key_len; in cfg80211_rtw_add_key()
864 param = rtw_malloc(param_len); in cfg80211_rtw_add_key()
868 memset(param, 0, param_len); in cfg80211_rtw_add_key()
916 ret = rtw_cfg80211_set_encryption(ndev, param, param_len); in cfg80211_rtw_add_key()
921 ret = rtw_cfg80211_ap_set_encryption(ndev, param, param_len); in cfg80211_rtw_add_key()
[all …]
Dioctl_linux.c46 static int wpa_set_encryption(struct net_device *dev, struct ieee_param *param, u32 param_len) in wpa_set_encryption() argument
58 if (param_len < (u32)((u8 *)param->u.crypt.key - (u8 *)param) + param->u.crypt.key_len) { in wpa_set_encryption()
523 static int rtw_set_encryption(struct net_device *dev, struct ieee_param *param, u32 param_len) in rtw_set_encryption() argument
542 if (param_len != sizeof(struct ieee_param) + param->u.crypt.key_len) { in rtw_set_encryption()
/linux-6.1.9/drivers/scsi/be2iscsi/
Dbe_cmds.c1539 ioctl->param.req.param_len = in beiscsi_set_host_data()
1543 ioctl->param.req.param_len = ALIGN(ioctl->param.req.param_len + 1, 4); in beiscsi_set_host_data()
1544 if (ioctl->param.req.param_len > BE_CMD_MAX_DRV_VERSION) in beiscsi_set_host_data()
1545 ioctl->param.req.param_len = BE_CMD_MAX_DRV_VERSION; in beiscsi_set_host_data()
1582 ioctl->param_len = sizeof(ioctl->param.req); in beiscsi_set_uer_feature()
Dbe_cmds.h741 u32 param_len; member
780 u32 param_len; member
/linux-6.1.9/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dbus.h49 int param_len; member
/linux-6.1.9/drivers/scsi/mpi3mr/
Dmpi3mr_os.c4467 u16 param_len, desc_len, trunc_param_len; in mpi3mr_check_return_unmap() local
4469 trunc_param_len = param_len = get_unaligned_be16(scmd->cmnd + 7); in mpi3mr_check_return_unmap()
4472 if ((param_len > 24) && ((param_len - 8) & 0xF)) { in mpi3mr_check_return_unmap()
4473 trunc_param_len -= (param_len - 8) & 0xF; in mpi3mr_check_return_unmap()
4477 param_len, trunc_param_len); in mpi3mr_check_return_unmap()
4484 if (!param_len) { in mpi3mr_check_return_unmap()
4494 if (param_len < 24) { in mpi3mr_check_return_unmap()
4497 __func__, param_len); in mpi3mr_check_return_unmap()
4505 if (param_len != scsi_bufflen(scmd)) { in mpi3mr_check_return_unmap()
4508 __func__, param_len, scsi_bufflen(scmd)); in mpi3mr_check_return_unmap()
[all …]
/linux-6.1.9/drivers/net/wireless/intersil/hostap/
Dhostap_ioctl.c3430 int param_len) in prism2_ioctl_set_encryption() argument
3440 if (param_len != in prism2_ioctl_set_encryption()
3565 int param_len) in prism2_ioctl_get_encryption() argument
3573 max_key_len = param_len - in prism2_ioctl_get_encryption()
3622 int param_len) in prism2_ioctl_get_rid() argument
3626 max_len = param_len - PRISM2_HOSTAPD_RID_HDR_LEN; in prism2_ioctl_get_rid()
3643 int param_len) in prism2_ioctl_set_rid() argument
3647 max_len = param_len - PRISM2_HOSTAPD_RID_HDR_LEN; in prism2_ioctl_set_rid()
3658 int param_len) in prism2_ioctl_set_assoc_ap_addr() argument
3700 int param_len) in prism2_ioctl_set_generic_element() argument
[all …]
/linux-6.1.9/drivers/staging/rtl8712/
Drtl871x_ioctl_linux.c367 u32 param_len) in wpa_set_encryption() argument
378 if (param_len != (u32)((u8 *) param->u.crypt.key - (u8 *)param) + in wpa_set_encryption()
1759 u32 param_len; in r871x_wx_set_enc_ext() local
1779 param_len = sizeof(struct ieee_param) + pext->key_len; in r871x_wx_set_enc_ext()
1780 param = kzalloc(param_len, GFP_ATOMIC); in r871x_wx_set_enc_ext()
1797 ret = wpa_set_encryption(dev, param, param_len); in r871x_wx_set_enc_ext()
/linux-6.1.9/drivers/net/wireless/
Drndis_wlan.c857 int value_len, info_len, param_len, ret, i; in rndis_set_config_parameter() local
868 param_len = strlen(param) * sizeof(__le16); in rndis_set_config_parameter()
869 info_len = sizeof(*infobuf) + param_len + value_len; in rndis_set_config_parameter()
892 infobuf->name_length = cpu_to_le32(param_len); in rndis_set_config_parameter()
894 infobuf->value_offs = cpu_to_le32(sizeof(*infobuf) + param_len); in rndis_set_config_parameter()
899 for (i = 0; i < param_len / sizeof(__le16); i++) in rndis_set_config_parameter()
903 unibuf = (void *)infobuf + sizeof(*infobuf) + param_len; in rndis_set_config_parameter()
907 dst_value = (void *)infobuf + sizeof(*infobuf) + param_len; in rndis_set_config_parameter()
/linux-6.1.9/Documentation/driver-api/nfc/
Dnfc-hci.rst230 const u8 *param, size_t param_len, struct sk_buff **skb)
260 const u8 *param, size_t param_len,
/linux-6.1.9/drivers/staging/r8188eu/os_dep/
Dioctl_linux.c363 static int wpa_set_encryption(struct net_device *dev, struct ieee_param *param, u32 param_len) in wpa_set_encryption() argument
376 if (param_len < (u32)((u8 *)param->u.crypt.key - (u8 *)param) + param->u.crypt.key_len) { in wpa_set_encryption()
1806 u32 param_len; in rtw_wx_set_enc_ext() local
1812 param_len = sizeof(struct ieee_param) + pext->key_len; in rtw_wx_set_enc_ext()
1813 param = kzalloc(param_len, GFP_KERNEL); in rtw_wx_set_enc_ext()
1861 ret = wpa_set_encryption(dev, param, param_len); in rtw_wx_set_enc_ext()
/linux-6.1.9/drivers/staging/rtl8192u/ieee80211/
Dieee80211_softmac.c2802 struct ieee_param *param, int param_len) in ieee80211_wpa_set_encryption() argument
2817 if (param_len != in ieee80211_wpa_set_encryption()
2820 printk("Len mismatch %d, %d\n", param_len, in ieee80211_wpa_set_encryption()
/linux-6.1.9/sound/soc/intel/atom/
Dsst-atom-controls.h514 u16 param_len; member
/linux-6.1.9/drivers/scsi/
Dscsi_debug.c2510 int param_len, res, mpage; in resp_mode_select() local
2518 param_len = mselect6 ? cmd[4] : get_unaligned_be16(cmd + 7); in resp_mode_select()
2519 if ((0 == pf) || sp || (param_len > SDEBUG_MAX_MSELECT_SZ)) { in resp_mode_select()
2523 res = fetch_to_dev_buffer(scp, arr, param_len); in resp_mode_select()
2526 else if (sdebug_verbose && (res < param_len)) in resp_mode_select()
2529 __func__, param_len, res); in resp_mode_select()
2546 if ((pg_len + off) > param_len) { in resp_mode_select()
/linux-6.1.9/drivers/scsi/elx/libefc_sli/
Dsli4.c3951 u32 param_len, void *parameter) in sli_cmd_common_set_features() argument
3965 cmd->param_len = cpu_to_le32(param_len); in sli_cmd_common_set_features()
3966 memcpy(cmd->params, parameter, param_len); in sli_cmd_common_set_features()
Dsli4.h3281 __le32 param_len; member
3964 u32 feature, u32 param_len, void *parameter);

12