Home
last modified time | relevance | path

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

/tools/testing/selftests/bpf/
A Dxsk.h118 static inline __u32 xsk_ring_prod__reserve(struct xsk_ring_prod *prod, __u32 nb, __u32 *idx) in xsk_ring_prod__reserve() argument
120 if (xsk_prod_nb_free(prod, nb) < nb) in xsk_ring_prod__reserve()
123 *idx = prod->cached_prod; in xsk_ring_prod__reserve()
124 prod->cached_prod += nb; in xsk_ring_prod__reserve()
129 static inline void xsk_ring_prod__submit(struct xsk_ring_prod *prod, __u32 nb) in xsk_ring_prod__submit() argument
134 __atomic_store_n(prod->producer, *prod->producer + nb, __ATOMIC_RELEASE); in xsk_ring_prod__submit()
137 static inline void xsk_ring_prod__cancel(struct xsk_ring_prod *prod, __u32 nb) in xsk_ring_prod__cancel() argument
139 prod->cached_prod -= nb; in xsk_ring_prod__cancel()
/tools/usb/usbip/libsrc/
A 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()
/tools/testing/selftests/coredump/
A DREADME.rst29 * commit fd7d56270b52 ("fs/proc: Report eip/esp in /prod/PID/stat for coredumping") fixed it for the

Completed in 4 milliseconds