Searched refs:nfilters (Results 1 – 7 of 7) sorted by relevance
/netbsd-src/sys/netcan/ |
H A D | can_pcb.c | 242 can_pcbsetfilter(struct canpcb *canp, struct can_filter *fp, int nfilters) in can_pcbsetfilter() argument 250 if (nfilters > 0) { in can_pcbsetfilter() 252 kmem_alloc(sizeof(struct can_filter) * nfilters, KM_SLEEP); in can_pcbsetfilter() 253 memcpy(newf, fp, sizeof(struct can_filter) * nfilters); in can_pcbsetfilter() 264 canp->canp_nfilters = nfilters; in can_pcbsetfilter() 272 kmem_free(newf, sizeof(struct can_filter) * nfilters); in can_pcbsetfilter()
|
H A D | can.c | 914 int nfilters = sopt->sopt_size / sizeof(struct can_filter); in can_raw_setop() local 917 error = can_pcbsetfilter(canp, sopt->sopt_data, nfilters); in can_raw_setop()
|
/netbsd-src/sys/dev/pci/cxgb/ |
H A D | cxgb_mc5.c | 333 int t3_mc5_init(struct mc5 *mc5, unsigned int nservers, unsigned int nfilters, in t3_mc5_init() argument 344 if (nroutes > MAX_ROUTES || nroutes + nservers + nfilters > tcam_size) in t3_mc5_init() 347 if (nfilters && adap->params.rev < T3_REV_C) in t3_mc5_init() 360 tcam_size - nroutes - nfilters); in t3_mc5_init() 362 tcam_size - nroutes - nfilters - nservers); in t3_mc5_init()
|
H A D | cxgb_ioctl.h | 188 uint32_t nfilters; member
|
H A D | cxgb_common.h | 326 unsigned int nfilters; /* size of filter region */ member 709 int t3_mc5_init(struct mc5 *mc5, unsigned int nservers, unsigned int nfilters,
|
H A D | cxgb_offload.c | 377 adapter->params.mc5.nfilters - in cxgb_offload_ctl() 385 adapter->params.mc5.nfilters - in cxgb_offload_ctl()
|
H A D | cxgb_t3_hw.c | 2520 adap->params.mc5.nfilters - adap->params.mc5.nroutes; in partition_mem() 3454 adapter->params.mc5.nfilters, in t3_init_hw() 3755 adapter->params.mc5.nfilters = adapter->params.rev > 0 ? in t3_prep_adapter()
|