Searched refs:max_ndp_size (Results 1 – 2 of 2) sorted by relevance
179 min = ctx->max_datagram_size + ctx->max_ndp_size + sizeof(struct usb_cdc_ncm_nth16); in cdc_ncm_check_tx_max()181 min = ctx->max_datagram_size + ctx->max_ndp_size + sizeof(struct usb_cdc_ncm_nth32); in cdc_ncm_check_tx_max()328 ctx->delayed_ndp16 = kzalloc(ctx->max_ndp_size, GFP_KERNEL); in ndp_to_end_store()333 ctx->delayed_ndp32 = kzalloc(ctx->max_ndp_size, GFP_KERNEL); in ndp_to_end_store()592 …ctx->max_ndp_size = sizeof(struct usb_cdc_ncm_ndp16) + (ctx->tx_max_datagrams + 1) * sizeof(struct… in cdc_ncm_init()594 …ctx->max_ndp_size = sizeof(struct usb_cdc_ncm_ndp32) + (ctx->tx_max_datagrams + 1) * sizeof(struct… in cdc_ncm_init()952 ctx->delayed_ndp16 = kzalloc(ctx->max_ndp_size, GFP_KERNEL); in cdc_ncm_bind_common()956 ctx->delayed_ndp32 = kzalloc(ctx->max_ndp_size, GFP_KERNEL); in cdc_ncm_bind_common()1118 if ((ctx->tx_curr_size - skb->len - reserve) < ctx->max_ndp_size) in cdc_ncm_ndp16()1129 ndp16 = skb_put_zero(skb, ctx->max_ndp_size); in cdc_ncm_ndp16()[all …]
120 u32 max_ndp_size; member