Home
last modified time | relevance | path

Searched refs:xa (Results 1 – 5 of 5) sorted by relevance

/include/linux/
Dxarray.h355 void *xa_find(struct xarray *xa, unsigned long *index,
357 void *xa_find_after(struct xarray *xa, unsigned long *index,
374 static inline void xa_init_flags(struct xarray *xa, gfp_t flags) in xa_init_flags() argument
376 spin_lock_init(&xa->xa_lock); in xa_init_flags()
377 xa->xa_flags = flags; in xa_init_flags()
378 xa->xa_head = NULL; in xa_init_flags()
389 static inline void xa_init(struct xarray *xa) in xa_init() argument
391 xa_init_flags(xa, 0); in xa_init()
401 static inline bool xa_empty(const struct xarray *xa) in xa_empty() argument
403 return xa->xa_head == NULL; in xa_empty()
[all …]
Didr.h247 struct xarray xa; member
253 .xa = XARRAY_INIT(name, IDA_INIT_FLAGS) \
316 xa_init_flags(&ida->xa, IDA_INIT_FLAGS); in ida_init()
329 return xa_empty(&ida->xa); in ida_is_empty()
Dio_uring.h58 struct xarray xa; member
Dcdrom.h117 int xa; member
/include/trace/events/
Dxdp.h310 TP_PROTO(const struct xdp_mem_allocator *xa),
312 TP_ARGS(xa),
315 __field(const struct xdp_mem_allocator *, xa)
322 __entry->xa = xa;
323 __entry->mem_id = xa->mem.id;
324 __entry->mem_type = xa->mem.type;
325 __entry->allocator = xa->allocator;
337 TP_PROTO(const struct xdp_mem_allocator *xa,
340 TP_ARGS(xa, rxq),
343 __field(const struct xdp_mem_allocator *, xa)
[all …]