Home
last modified time | relevance | path

Searched refs:nfilters (Results 1 – 7 of 7) sorted by relevance

/netbsd-src/sys/netcan/
H A Dcan_pcb.c242 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 Dcan.c914 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 Dcxgb_mc5.c333 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 Dcxgb_ioctl.h188 uint32_t nfilters; member
H A Dcxgb_common.h326 unsigned int nfilters; /* size of filter region */ member
709 int t3_mc5_init(struct mc5 *mc5, unsigned int nservers, unsigned int nfilters,
H A Dcxgb_offload.c377 adapter->params.mc5.nfilters - in cxgb_offload_ctl()
385 adapter->params.mc5.nfilters - in cxgb_offload_ctl()
H A Dcxgb_t3_hw.c2520 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()