Home
last modified time | relevance | path

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

/linux-3.4.99/net/irda/irlan/
Dirlan_common.c1003 __u8 param_len; in __irlan_insert_param() local
1012 param_len = strlen(param); in __irlan_insert_param()
1034 if (skb_tailroom(skb) < (param_len+value_len+3)) { in __irlan_insert_param()
1038 skb_put(skb, param_len+value_len+3); in __irlan_insert_param()
1041 frame[n++] = param_len; in __irlan_insert_param()
1044 memcpy(frame+n, param, param_len); n += param_len; in __irlan_insert_param()
1065 IRDA_ASSERT(n == (param_len+value_len+3), return 0;); in __irlan_insert_param()
1067 return param_len+value_len+3; in __irlan_insert_param()
/linux-3.4.99/net/sctp/
Dauth.c763 __u16 param_len; in sctp_auth_ep_add_chunkid() local
770 param_len = ntohs(p->param_hdr.length); in sctp_auth_ep_add_chunkid()
771 nchunks = param_len - sizeof(sctp_paramhdr_t); in sctp_auth_ep_add_chunkid()
776 p->param_hdr.length = htons(param_len + 1); in sctp_auth_ep_add_chunkid()
/linux-3.4.99/drivers/net/wireless/hostap/
Dhostap_ioctl.c3446 int param_len) in prism2_ioctl_set_encryption() argument
3456 if (param_len != in prism2_ioctl_set_encryption()
3583 int param_len) in prism2_ioctl_get_encryption() argument
3591 max_key_len = param_len - in prism2_ioctl_get_encryption()
3642 int param_len) in prism2_ioctl_get_rid() argument
3646 max_len = param_len - PRISM2_HOSTAPD_RID_HDR_LEN; in prism2_ioctl_get_rid()
3663 int param_len) in prism2_ioctl_set_rid() argument
3667 max_len = param_len - PRISM2_HOSTAPD_RID_HDR_LEN; in prism2_ioctl_set_rid()
3678 int param_len) in prism2_ioctl_set_assoc_ap_addr() argument
3720 int param_len) in prism2_ioctl_set_generic_element() argument
[all …]
/linux-3.4.99/drivers/staging/rtl8712/
Drtl871x_ioctl_linux.c397 u32 param_len) in wpa_set_encryption() argument
408 if (param_len != (u32)((u8 *) param->u.crypt.key - (u8 *)param) + in wpa_set_encryption()
1819 u32 param_len; in r871x_wx_set_enc_ext() local
1822 param_len = sizeof(struct ieee_param) + pext->key_len; in r871x_wx_set_enc_ext()
1823 param = (struct ieee_param *)_malloc(param_len); in r871x_wx_set_enc_ext()
1826 memset(param, 0, param_len); in r871x_wx_set_enc_ext()
1857 ret = wpa_set_encryption(dev, param, param_len); in r871x_wx_set_enc_ext()
/linux-3.4.99/drivers/staging/vt6655/
Dhostap.c471 int param_len) in hostap_set_encryption() argument
715 int param_len) in hostap_get_encryption() argument
/linux-3.4.99/drivers/staging/vt6656/
Dhostap.c466 int param_len) in hostap_set_encryption() argument
713 int param_len) in hostap_get_encryption() argument
/linux-3.4.99/drivers/net/wireless/
Drndis_wlan.c932 int value_len, info_len, param_len, ret, i; in rndis_set_config_parameter() local
943 param_len = strlen(param) * sizeof(__le16); in rndis_set_config_parameter()
944 info_len = sizeof(*infobuf) + param_len + value_len; in rndis_set_config_parameter()
967 infobuf->name_length = cpu_to_le32(param_len); in rndis_set_config_parameter()
969 infobuf->value_offs = cpu_to_le32(sizeof(*infobuf) + param_len); in rndis_set_config_parameter()
974 for (i = 0; i < param_len / sizeof(__le16); i++) in rndis_set_config_parameter()
978 unibuf = (void *)infobuf + sizeof(*infobuf) + param_len; in rndis_set_config_parameter()
982 dst_value = (void *)infobuf + sizeof(*infobuf) + param_len; in rndis_set_config_parameter()
/linux-3.4.99/drivers/scsi/
Dscsi_debug.c1501 int param_len, res, errsts, mpage; in resp_mode_select() local
1510 param_len = mselect6 ? cmd[4] : ((cmd[7] << 8) + cmd[8]); in resp_mode_select()
1511 if ((0 == pf) || sp || (param_len > SDEBUG_MAX_MSELECT_SZ)) { in resp_mode_select()
1516 res = fetch_to_dev_buffer(scp, arr, param_len); in resp_mode_select()
1519 else if ((res < param_len) && in resp_mode_select()
1522 " IO sent=%d bytes\n", param_len, res); in resp_mode_select()
1541 if ((pg_len + off) > param_len) { in resp_mode_select()
/linux-3.4.99/drivers/staging/rtl8187se/ieee80211/
Dieee80211_softmac.c2790 struct ieee_param *param, int param_len) in ieee80211_wpa_set_encryption() argument
2804 if (param_len != in ieee80211_wpa_set_encryption()
2807 printk("Len mismatch %d, %d\n", param_len, in ieee80211_wpa_set_encryption()
/linux-3.4.99/drivers/staging/rtl8192u/ieee80211/
Dieee80211_softmac.c2951 struct ieee_param *param, int param_len) in ieee80211_wpa_set_encryption() argument
2965 if (param_len != in ieee80211_wpa_set_encryption()
2968 printk("Len mismatch %d, %d\n", param_len, in ieee80211_wpa_set_encryption()
/linux-3.4.99/drivers/staging/rtl8192e/
Drtllib_softmac.c3343 struct ieee_param *param, int param_len, in rtllib_wpa_set_encryption() argument
3357 if (param_len != in rtllib_wpa_set_encryption()
3360 printk(KERN_INFO "Len mismatch %d, %d\n", param_len, in rtllib_wpa_set_encryption()