OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:container_of
(Results
1 - 5
of
5
) sorted by relevancy
/src/sys/sys/
container_of.h
1
/* $NetBSD:
container_of
.h,v 1.1 2024/10/08 22:53:20 christos Exp $ */
36
*
container_of
(x, T, f) yields c, where T is the type of c. Example:
50
* struct bar *bp =
container_of
(fp, struct bar, b_foo);
68
#define
container_of
(PTR, TYPE, FIELD) \
macro
/src/sys/external/bsd/drm2/dist/drm/nouveau/include/nvif/
list.h
247
* f =
container_of
(&foo->entry, struct foo, entry);
255
#ifndef
container_of
256
#define
container_of
(ptr, type, member) \
macro
261
* Alias of
container_of
264
container_of
(ptr, type, member)
297
(void *)
container_of
((ptr), typeof(*(sample)), member)
/src/sys/external/bsd/drm2/dist/drm/radeon/
mkregtable.c
27
*
container_of
- cast a member of a structure out to the containing structure
33
#define
container_of
(ptr, type, member) ({ \
macro
98
container_of
(ptr, type, member)
/src/sys/dev/pci/cxgb/
cxgb_adapter.h
545
#define
container_of
(p, stype, field) ((stype *)(((uint8_t *)(p)) - offsetof(stype, field)))
macro
550
return
container_of
(q, struct sge_qset, fl[qidx]);
556
return
container_of
(q, struct sge_qset, rspq);
562
return
container_of
(q, struct sge_qset, txq[qidx]);
568
return
container_of
(d, struct adapter, tdev);
571
#undef
container_of
/src/sys/dev/pci/
xmm7360.c
188
#define
container_of
(PTR, TYPE, FIELD) \
macro
1007
struct queue_pair *qp =
container_of
(inode->i_cdev, struct queue_pair, cdev);
1377
struct xmm_net *xn =
container_of
(t, struct xmm_net, deadline);
1682
qp =
container_of
(tty->port, struct queue_pair, port);
1789
struct xmm_dev *xmm =
container_of
(work, struct xmm_dev, init_work);
2757
struct wwanc_softc *sc =
container_of
(xmm, struct wwanc_softc, sc_xmm);
2788
struct wwanc_softc *sc =
container_of
(xmm, struct wwanc_softc, sc_xmm);
2963
container_of
(xn, struct wwan_softc, sc_xmm_net);
3004
container_of
(xn, struct wwan_softc, sc_xmm_net);
Completed in 43 milliseconds
Indexes created Sat Sep 20 22:09:52 GMT 2025