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