Home
last modified time | relevance | path

Searched refs:prod (Results 1 – 2 of 2) sorted by relevance

/tools/lib/bpf/
Dxsk.h116 static inline size_t xsk_ring_prod__reserve(struct xsk_ring_prod *prod, in xsk_ring_prod__reserve() argument
119 if (xsk_prod_nb_free(prod, nb) < nb) in xsk_ring_prod__reserve()
122 *idx = prod->cached_prod; in xsk_ring_prod__reserve()
123 prod->cached_prod += nb; in xsk_ring_prod__reserve()
128 static inline void xsk_ring_prod__submit(struct xsk_ring_prod *prod, size_t nb) in xsk_ring_prod__submit() argument
135 *prod->producer += nb; in xsk_ring_prod__submit()
/tools/usb/usbip/libsrc/
Dusbip_common.c281 const char *prod, *vend; in usbip_names_get_product() local
283 prod = names_product(vendor, product); in usbip_names_get_product()
284 if (!prod) in usbip_names_get_product()
285 prod = "unknown product"; in usbip_names_get_product()
292 snprintf(buff, size, "%s : %s (%04x:%04x)", vend, prod, vendor, product); in usbip_names_get_product()