Searched refs:NS_SMBUFSIZE (Results 1 – 2 of 2) sorted by relevance
/linux-2.4.37.9/drivers/atm/ |
D | nicstar.h | 42 #define NS_SMBUFSIZE 48 /* 48, 96, 240 or 2048 */ macro 110 #define NS_MAX_IOVECS (2 + (65568 - NS_SMBUFSIZE) / \ 114 #define NS_SMBUFSIZE_USABLE (NS_SMBUFSIZE - NS_SMBUFSIZE % 48) 119 #define NS_SMSKBSIZE (NS_SMBUFSIZE + NS_AAL0_HEADER) 120 #define NS_LGSKBSIZE (NS_SMBUFSIZE + NS_LGBUFSIZE) 613 #if (NS_SMBUFSIZE == 48) 615 #elif (NS_SMBUFSIZE == 96) 617 #elif (NS_SMBUFSIZE == 240) 619 #elif (NS_SMBUFSIZE == 2048) 622 #error NS_SMBUFSIZE is incorrect in nicstar.h
|
D | nicstar.c | 793 skb_reserve(lb, NS_SMBUFSIZE); in ns_init_card() 1355 skb_reserve(lb, NS_SMBUFSIZE); in ns_irq_handler() 2338 if (len <= NS_SMBUFSIZE) in dequeue_rx() 2377 skb_push(skb, NS_SMBUFSIZE); in dequeue_rx() 2378 memcpy(skb->data, sb->data, NS_SMBUFSIZE); in dequeue_rx() 2379 skb_put(skb, len - NS_SMBUFSIZE); in dequeue_rx() 2543 skb_reserve(lb, NS_SMBUFSIZE); in ns_lb_destructor() 2666 skb_reserve(new_lb, NS_SMBUFSIZE); in dequeue_lg_buf() 2678 skb_reserve(new_lb, NS_SMBUFSIZE); in dequeue_lg_buf() 2887 skb_reserve(lb, NS_SMBUFSIZE); in ns_ioctl()
|