/freebsd/sys/contrib/openzfs/include/os/linux/spl/sys/ |
H A D | list.h | 50 typedef struct list { struct 51 size_t list_offset; argument 52 list_node_t list_head; argument 59 list_is_empty(list_t *list) in list_is_empty() 72 list_create(list_t *list, size_t size, size_t offset) in list_create() 81 list_destroy(list_t *list) in list_destroy() 87 list_insert_head(list_t *list, void *object) in list_insert_head() 93 list_insert_tail(list_t *list, void *object) in list_insert_tail() 99 list_insert_after(list_t *list, void *object, void *nobject) in list_insert_after() 108 list_insert_before(list_t *list, void *object, void *nobject) in list_insert_before() [all …]
|
/freebsd/contrib/ntp/libntp/lib/isc/include/isc/ |
H A D | list.h | 32 #define ISC_LIST_INIT(list) \ argument 45 #define ISC_LIST_HEAD(list) ((list).head) argument 46 #define ISC_LIST_TAIL(list) ((list).tail) argument 47 #define ISC_LIST_EMPTY(list) ISC_TF((list).head == NULL) argument 49 #define __ISC_LIST_PREPENDUNSAFE(list, elt, link) \ argument 60 #define ISC_LIST_PREPEND(list, elt, link) \ argument 66 #define ISC_LIST_INITANDPREPEND(list, elt, link) \ argument 69 #define __ISC_LIST_APPENDUNSAFE(list, elt, link) \ argument 80 #define ISC_LIST_APPEND(list, elt, link) \ argument 86 #define ISC_LIST_INITANDAPPEND(list, elt, link) \ argument [all …]
|
/freebsd/sys/contrib/openzfs/lib/libspl/ |
H A D | list.c | 40 #define list_insert_after_node(list, node, object) { \ argument 48 #define list_insert_before_node(list, node, object) { \ argument 62 list_create(list_t *list, size_t size, size_t offset) in list_create() 75 list_destroy(list_t *list) in list_destroy() 87 list_insert_after(list_t *list, void *object, void *nobject) in list_insert_after() 98 list_insert_before(list_t *list, void *object, void *nobject) in list_insert_before() 109 list_insert_head(list_t *list, void *object) in list_insert_head() 116 list_insert_tail(list_t *list, void *object) in list_insert_tail() 123 list_remove(list_t *list, void *object) in list_remove() 132 list_remove_head(list_t *list) in list_remove_head() [all …]
|
/freebsd/sys/contrib/openzfs/module/os/freebsd/spl/ |
H A D | list.c | 40 #define list_insert_after_node(list, node, object) { \ argument 48 #define list_insert_before_node(list, node, object) { \ argument 62 list_create(list_t *list, size_t size, size_t offset) in list_create() 75 list_destroy(list_t *list) in list_destroy() 87 list_insert_after(list_t *list, void *object, void *nobject) in list_insert_after() 98 list_insert_before(list_t *list, void *object, void *nobject) in list_insert_before() 109 list_insert_head(list_t *list, void *object) in list_insert_head() 116 list_insert_tail(list_t *list, void *object) in list_insert_tail() 123 list_remove(list_t *list, void *object) in list_remove() 132 list_remove_head(list_t *list) in list_remove_head() [all …]
|
/freebsd/sys/dev/ocs_fc/ |
H A D | ocs_list.h | 83 #define item2link(list, item) ((ocs_list_t*) (((uint8_t*)(item)) + (list)->offset)) argument 86 #define link2item(list, link) ((void*) (((uint8_t*)(link)) - (list)->offset)) argument 100 _ocs_list_init(ocs_list_t *list, uint32_t offset) in _ocs_list_init() 120 ocs_list_empty(ocs_list_t *list) in ocs_list_empty() 136 ocs_list_valid(ocs_list_t *list) in ocs_list_valid() 191 ocs_list_init_link(ocs_list_t *list, ocs_list_t *link) in ocs_list_init_link() 216 ocs_list_add_head(ocs_list_t *list, void *item) in ocs_list_add_head() 243 ocs_list_add_tail(ocs_list_t *list, void *item) in ocs_list_add_tail() 271 ocs_list_get_head(ocs_list_t *list) in ocs_list_get_head() 287 ocs_list_get_tail(ocs_list_t *list) in ocs_list_get_tail() [all …]
|
/freebsd/contrib/elftoolchain/ar/ |
H A D | acpyacc.y | 52 struct list { struct 54 struct list *next; argument 114 struct list *list; member 334 arscp_addlib(char *archive, struct list *list) in arscp_addlib() 350 arscp_addmod(struct list *list) in arscp_addmod() 365 arscp_delete(struct list *list) in arscp_delete() 380 arscp_extract(struct list *list) in arscp_extract() 412 arscp_dir(char *archive, struct list *list, char *rlt) in arscp_dir() 453 arscp_replace(struct list *list) in arscp_replace() 548 arscp_mlist(struct list *list, char *str) in arscp_mlist() [all …]
|
/freebsd/usr.sbin/ppp/ |
H A D | iplist.c | 56 iplist_first(struct iplist *list) in iplist_first() 62 iplist_setrange(struct iplist *list, char *range) in iplist_setrange() 99 iplist_nextrange(struct iplist *list) in iplist_nextrange() 128 iplist_next(struct iplist *list) in iplist_next() 150 iplist_setsrc(struct iplist *list, const char *src) in iplist_setsrc() 165 iplist_reset(struct iplist *list) in iplist_reset() 173 iplist_setcurpos(struct iplist *list, long pos) in iplist_setcurpos() 201 iplist_setrandpos(struct iplist *list) in iplist_setrandpos() 208 iplist_ip2pos(struct iplist *list, struct in_addr ip) in iplist_ip2pos()
|
/freebsd/usr.bin/ar/ |
H A D | acpyacc.y | 49 struct list { struct 51 struct list *next; argument 111 struct list *list; member 361 arscp_addlib(char *archive, struct list *list) in arscp_addlib() 375 arscp_addmod(struct list *list) in arscp_addmod() 388 arscp_delete(struct list *list) in arscp_delete() 401 arscp_extract(struct list *list) in arscp_extract() 429 arscp_dir(char *archive, struct list *list, char *rlt) in arscp_dir() 466 arscp_replace(struct list *list) in arscp_replace() 557 arscp_mlist(struct list *list, char *str) in arscp_mlist() [all …]
|
/freebsd/lib/libc/include/isc/ |
H A D | list.h | 31 #define INIT_LIST(list) \ argument 45 #define HEAD(list) ((list).head) argument 46 #define TAIL(list) ((list).tail) argument 47 #define EMPTY(list) ((list).head == NULL) argument 49 #define PREPEND(list, elt, link) \ argument 61 #define APPEND(list, elt, link) \ argument 73 #define UNLINK_TYPE(list, elt, link, type) \ argument 90 #define UNLINK(list, elt, link) \ argument 96 #define INSERT_BEFORE(list, before, elt, link) \ argument 109 #define INSERT_AFTER(list, after, elt, link) \ argument [all …]
|
/freebsd/cddl/contrib/opensolaris/tools/ctf/common/ |
H A D | list.c | 40 struct list { struct 42 struct list *l_next; argument 47 list_add(list_t **list, void *data) in list_add() 59 slist_add(list_t **list, void *data, int (*cmp)(void *, void *)) in slist_add() 79 list_remove(list_t **list, void *data, int (*cmp)(void *, void *, void *), in list_remove() 101 list_free(list_t *list, void (*datafree)(void *, void *), void *private) in list_free() 119 list_iter(list_t *list, int (*func)(void *, void *), void *private) in list_iter() 144 list_count(list_t *list) in list_count() 150 list_empty(list_t *list) in list_empty() 156 list_find(list_t *list, void *tmpl, int (*cmp)(void *, void *)) in list_find() [all …]
|
/freebsd/sys/dev/qat/qat_api/common/ctrl/ |
H A D | sal_list.c | 17 SalList_add(sal_list_t **list, sal_list_t **tail, void *pObj) in SalList_add() 42 SalList_getObject(sal_list_t *list) in SalList_getObject() 52 SalList_delObject(sal_list_t **list) in SalList_delObject() 63 SalList_next(sal_list_t *list) in SalList_next() 69 SalList_free(sal_list_t **list) in SalList_free() 83 SalList_del(sal_list_t **head_list, sal_list_t **pre_list, sal_list_t *list) in SalList_del()
|
/freebsd/sys/kern/ |
H A D | subr_eventhandler.c | 70 struct eventhandler_list *list, *new_list; in eventhandler_find_or_create_list() local 106 eventhandler_register_internal(struct eventhandler_list *list, in eventhandler_register_internal() 142 eventhandler_register(struct eventhandler_list *list, const char *name, in eventhandler_register() 166 vimage_eventhandler_register(struct eventhandler_list *list, const char *name, in vimage_eventhandler_register() 185 _eventhandler_deregister(struct eventhandler_list *list, eventhandler_tag tag, in _eventhandler_deregister() 226 eventhandler_deregister(struct eventhandler_list *list, eventhandler_tag tag) in eventhandler_deregister() 233 eventhandler_deregister_nowait(struct eventhandler_list *list, in eventhandler_deregister_nowait() 246 struct eventhandler_list *list; in _eventhandler_find_list() local 262 struct eventhandler_list *list; in eventhandler_find_list() local 281 eventhandler_prune_list(struct eventhandler_list *list) in eventhandler_prune_list() [all …]
|
/freebsd/contrib/wpa/src/utils/ |
H A D | list.h | 22 static inline void dl_list_init(struct dl_list *list) in dl_list_init() 28 static inline void dl_list_add(struct dl_list *list, struct dl_list *item) in dl_list_add() 36 static inline void dl_list_add_tail(struct dl_list *list, struct dl_list *item) in dl_list_add_tail() 49 static inline int dl_list_empty(const struct dl_list *list) in dl_list_empty() 54 static inline unsigned int dl_list_len(const struct dl_list *list) in dl_list_len() 70 #define dl_list_first(list, type, member) \ argument 74 #define dl_list_last(list, type, member) \ argument 78 #define dl_list_for_each(item, list, type, member) \ argument 83 #define dl_list_for_each_safe(item, n, list, type, member) \ argument 89 #define dl_list_for_each_reverse(item, list, type, member) \ argument
|
/freebsd/contrib/less/ |
H A D | lglob.h | 26 #define DECL_GLOB_LIST(list) char **list; char **pp; argument 27 #define GLOB_LIST(filename,list) list = _fnexplode(filename) argument 28 #define GLOB_LIST_FAILED(list) list == NULL argument 29 #define SCAN_GLOB_LIST(list, argument 30 INIT_GLOB_LIST(list,p) global() argument 31 GLOB_LIST_DONE(list) global() argument 36 DECL_GLOB_LIST(list) global() argument 37 GLOB_LIST(filename,list) global() argument 38 GLOB_LIST_FAILED(list) global() argument 39 SCAN_GLOB_LIST(list,p) global() argument 40 INIT_GLOB_LIST(list,p) global() argument 41 GLOB_LIST_DONE(list) global() argument [all...] |
/freebsd/sys/dev/drm2/ttm/ |
H A D | ttm_execbuf_util.c | 34 static void ttm_eu_backoff_reservation_locked(struct list_head *list) in ttm_eu_backoff_reservation_locked() 54 static void ttm_eu_del_from_lru_locked(struct list_head *list) in ttm_eu_del_from_lru_locked() 70 static void ttm_eu_list_ref_sub(struct list_head *list) in ttm_eu_list_ref_sub() 84 void ttm_eu_backoff_reservation(struct list_head *list) in ttm_eu_backoff_reservation() 111 int ttm_eu_reserve_buffers(struct list_head *list) in ttm_eu_reserve_buffers() 203 void ttm_eu_fence_buffer_objects(struct list_head *list, void *sync_obj) in ttm_eu_fence_buffer_objects()
|
/freebsd/contrib/unbound/services/ |
H A D | outbound_list.c | 48 outbound_list_init(struct outbound_list* list) in outbound_list_init() 54 outbound_list_clear(struct outbound_list* list) in outbound_list_clear() 68 outbound_list_insert(struct outbound_list* list, struct outbound_entry* e) in outbound_list_insert() 78 outbound_list_remove(struct outbound_list* list, struct outbound_entry* e) in outbound_list_remove()
|
/freebsd/sys/cddl/contrib/opensolaris/uts/common/sys/ |
H A D | list_impl.h | 41 struct list { struct 42 size_t list_size; argument 43 size_t list_offset; argument 44 struct list_node list_head; argument
|
/freebsd/contrib/bmake/ |
H A D | lst.c | 52 Lst_Done(List *list) in Lst_Done() argument 63 Lst_DoneFree(List *list) in Lst_DoneCall() argument 76 Lst_InsertBefore(List *list, ListNode *ln, void *datum) in Lst_InsertBefore() argument 94 Lst_Prepend(List * list,void * datum) Lst_Prepend() argument 113 Lst_Append(List * list,void * datum) Lst_Append() argument 135 Lst_Remove(List * list,ListNode * ln) Lst_Remove() argument 177 Lst_FindDatum(List * list,const void * datum) Lst_FindDatum() argument 234 Lst_Dequeue(List * list) Lst_Dequeue() argument [all...] |
/freebsd/sys/contrib/openzfs/module/zfs/ |
H A D | objlist.c | 25 objlist_t *list = kmem_alloc(sizeof (*list), KM_SLEEP); in objlist_create() local 33 objlist_destroy(objlist_t *list) in objlist_destroy() 52 objlist_exists(objlist_t *list, uint64_t object) in objlist_exists() 73 objlist_insert(objlist_t *list, uint64_t object) in objlist_insert()
|
/freebsd/tests/sys/aio/ |
H A D | lio_test.c | 68 struct aiocb **list[2]; in ATF_TC_BODY() local 129 struct aiocb *list = NULL; in ATF_TC_BODY() local 138 struct aiocb *list = NULL; in ATF_TC_BODY() local 150 struct aiocb *list = NULL; in ATF_TC_BODY() local 178 struct aiocb *list = NULL; in ATF_TC_BODY() local 197 struct aiocb *list = NULL; in ATF_TC_BODY() local 218 struct aiocb *list[] = {&write_cb, &read_cb, &writev_cb, &readv_cb}; in ATF_TC_BODY() local 300 struct aiocb *list[] = {&sync_cb, &mlock_cb}; in ATF_TC_BODY() local
|
/freebsd/contrib/mandoc/ |
H A D | demandoc.c | 51 int ch, fd, i, list; in main() local 122 pmandoc(struct mparse *mp, int fd, const char *fn, int list) in pmandoc() 146 pstring(const char *p, int col, int *colp, int list) in pstring() 226 pline(int line, int *linep, int *col, int list) in pline() 246 pmdoc(const struct roff_node *p, int *line, int *col, int list) in pmdoc() 260 pman(const struct roff_node *p, int *line, int *col, int list) in pman()
|
/freebsd/sbin/dhclient/ |
H A D | errwarn.c | 63 va_list list; in error() local 97 va_list list; in warning() local 123 va_list list; in note() local 149 va_list list; in debug() local 208 va_list list; in parse_warn() local
|
/freebsd/usr.bin/rpcgen/ |
H A D | rpc_util.h | 71 struct list { struct 73 struct list *next; argument 75 typedef struct list list; typedef 158 #define STOREVAL(list,item) \ argument 163 #define FINDVAL(list,item,finder) \ argument
|
/freebsd/contrib/wpa/wpa_supplicant/dbus/ |
H A D | dbus_new_introspect.c | 21 struct dl_list list; member 27 static struct interfaces * add_interface(struct dl_list *list, in add_interface() 97 struct dl_list *list, const struct wpa_dbus_method_desc *methods) in extract_interfaces_methods() 112 struct dl_list *list, const struct wpa_dbus_signal_desc *signals) in extract_interfaces_signals() 127 struct dl_list *list, const struct wpa_dbus_property_desc *properties) in extract_interfaces_properties() 150 static void extract_interfaces(struct dl_list *list, in extract_interfaces() 159 static void add_interfaces(struct dl_list *list, struct wpabuf *xml) in add_interfaces()
|
/freebsd/sys/contrib/openzfs/include/os/freebsd/spl/sys/ |
H A D | list_impl.h | 41 struct list { struct 42 size_t list_offset; argument 43 struct list_node list_head; argument
|