Lines Matching refs:sizeoftlvs
80 u8 *tlvs, u32 sizeoftlvs);
82 u8 **tlvs, u32 *sizeoftlvs);
84 u8 *tlvs, u32 sizeoftlvs);
449 if (mesg->sizeoftlvs != 0) { /* LANE2 3.1.5 */ in lec_atm_send()
450 DPRINTK("lec: LANE2 3.1.5, got tlvs, size %d\n", mesg->sizeoftlvs); in lec_atm_send()
453 tmp, mesg->sizeoftlvs); in lec_atm_send()
592 mesg->sizeoftlvs = data->len; in send_to_lecd()
891 u8 **tlvs, u32 *sizeoftlvs) in lane2_resolve() argument
903 *tlvs = kmalloc(table->sizeoftlvs, GFP_KERNEL); in lane2_resolve()
907 memcpy(*tlvs, table->tlvs, table->sizeoftlvs); in lane2_resolve()
908 *sizeoftlvs = table->sizeoftlvs; in lane2_resolve()
913 if (sizeoftlvs == NULL) in lane2_resolve()
917 skb = alloc_skb(*sizeoftlvs, GFP_ATOMIC); in lane2_resolve()
920 skb->len = *sizeoftlvs; in lane2_resolve()
921 memcpy(skb->data, *tlvs, *sizeoftlvs); in lane2_resolve()
936 u8 *tlvs, u32 sizeoftlvs) in lane2_associate_req() argument
947 priv->tlvs = kmalloc(sizeoftlvs, GFP_KERNEL); in lane2_associate_req()
950 priv->sizeoftlvs = sizeoftlvs; in lane2_associate_req()
951 memcpy(priv->tlvs, tlvs, sizeoftlvs); in lane2_associate_req()
953 skb = alloc_skb(sizeoftlvs, GFP_ATOMIC); in lane2_associate_req()
956 skb->len = sizeoftlvs; in lane2_associate_req()
957 memcpy(skb->data, tlvs, sizeoftlvs); in lane2_associate_req()
972 u8 *tlvs, u32 sizeoftlvs) in lane2_associate_ind() argument
987 entry->tlvs = kmalloc(sizeoftlvs, GFP_KERNEL); in lane2_associate_ind()
991 entry->sizeoftlvs = sizeoftlvs; in lane2_associate_ind()
992 memcpy(entry->tlvs, tlvs, sizeoftlvs); in lane2_associate_ind()
996 printk("dump of tlvs, sizeoftlvs=%d\n", sizeoftlvs); in lane2_associate_ind()
997 while (i < sizeoftlvs) in lane2_associate_ind()
1006 tlvs, sizeoftlvs); in lane2_associate_ind()