/dflybsd-src/lib/libssh/openbsd-compat/ |
H A D | sys-queue.h | 191 #define SLIST_HEAD_INITIALIZER(head) \ argument 202 #define SLIST_FIRST(head) ((head)->slh_first) argument 203 #define SLIST_END(head) NULL argument 204 #define SLIST_EMPTY(head) (SLIST_FIRST(head) == SLIST_END(head)) argument 207 #define SLIST_FOREACH(var, head, field) \ argument 212 #define SLIST_FOREACH_SAFE(var, head, field, tvar) \ argument 220 #define SLIST_INIT(head) { \ argument 229 #define SLIST_INSERT_HEAD(head, elm, field) do { \ argument 238 #define SLIST_REMOVE_HEAD(head, field) do { \ argument 242 #define SLIST_REMOVE(head, elm, type, field) do { \ argument [all …]
|
H A D | sys-tree.h | 84 #define SPLAY_ROOT(head) (head)->sph_root argument 85 #define SPLAY_EMPTY(head) (SPLAY_ROOT(head) == NULL) argument 88 #define SPLAY_ROTATE_RIGHT(head, tmp, field) do { \ argument 94 #define SPLAY_ROTATE_LEFT(head, tmp, field) do { \ argument 100 #define SPLAY_LINKLEFT(head, tmp, field) do { \ argument 106 #define SPLAY_LINKRIGHT(head, tmp, field) do { \ argument 112 #define SPLAY_ASSEMBLE(head, node, left, right, field) do { \ argument 292 #define SPLAY_FOREACH(x, name, head) \ argument 324 #define RB_ROOT(head) (head)->rbh_root argument 325 #define RB_EMPTY(head) (RB_ROOT(head) == NULL) argument [all …]
|
/dflybsd-src/sys/sys/ |
H A D | queue.h | 120 #define QMD_TRACE_HEAD(head) do { \ argument 136 #define QMD_TRACE_HEAD(head) argument 150 #define SLIST_HEAD_INITIALIZER(head) \ argument 163 #define SLIST_EMPTY(head) ((head)->slh_first == NULL) argument 165 #define SLIST_FIRST(head) ((head)->slh_first) argument 167 #define SLIST_FOREACH(var, head, field) \ argument 172 #define SLIST_FOREACH_FROM(var, head, field) \ argument 177 #define SLIST_FOREACH_MUTABLE(var, head, field, tvar) \ argument 182 #define SLIST_FOREACH_FROM_MUTABLE(var, head, field, tvar) \ argument 187 #define SLIST_FOREACH_PREVPTR(var, varp, head, field) \ argument [all …]
|
H A D | tree.h | 85 #define SPLAY_ROOT(head) (head)->sph_root argument 86 #define SPLAY_EMPTY(head) (SPLAY_ROOT(head) == NULL) argument 89 #define SPLAY_ROTATE_RIGHT(head, tmp, field) do { \ argument 95 #define SPLAY_ROTATE_LEFT(head, tmp, field) do { \ argument 101 #define SPLAY_LINKLEFT(head, tmp, field) do { \ argument 107 #define SPLAY_LINKRIGHT(head, tmp, field) do { \ argument 113 #define SPLAY_ASSEMBLE(head, node, left, right, field) do { \ argument 293 #define SPLAY_FOREACH(x, name, head) \ argument 345 #define RB_ROOT(head) (head)->rbh_root argument 346 #define RB_INPROG(head) (head)->rbh_inprog argument [all …]
|
/dflybsd-src/contrib/lvm2/dist/lib/datastruct/ |
H A D | list.c | 24 void dm_list_init(struct dm_list *head) in dm_list_init() 33 void dm_list_add(struct dm_list *head, struct dm_list *elem) in dm_list_add() 48 void dm_list_add_h(struct dm_list *head, struct dm_list *elem) in dm_list_add_h() 73 void dm_list_move(struct dm_list *head, struct dm_list *elem) in dm_list_move() 82 int dm_list_empty(const struct dm_list *head) in dm_list_empty() 90 int dm_list_start(const struct dm_list *head, const struct dm_list *elem) in dm_list_start() 98 int dm_list_end(const struct dm_list *head, const struct dm_list *elem) in dm_list_end() 106 struct dm_list *dm_list_first(const struct dm_list *head) in dm_list_first() 114 struct dm_list *dm_list_last(const struct dm_list *head) in dm_list_last() 122 struct dm_list *dm_list_prev(const struct dm_list *head, const struct dm_list *elem) in dm_list_prev() [all …]
|
H A D | list.h | 103 #define dm_list_struct_base(v, t, head) \ argument 128 #define dm_list_iterate(v, head) \ argument 138 #define dm_list_uniterate(v, head, start) \ argument 146 #define dm_list_iterate_safe(v, t, head) \ argument 154 #define dm_list_iterate_items_gen(v, head, field) \ argument 164 #define dm_list_iterate_items(v, head) dm_list_iterate_items_gen(v, (head), list) argument 172 #define dm_list_iterate_items_gen_safe(v, t, head, field) \ argument 183 #define dm_list_iterate_items_safe(v, t, head) \ argument 192 #define dm_list_iterate_back_items_gen(v, head, field) \ argument 203 #define dm_list_iterate_back_items(v, head) dm_list_iterate_back_items_gen(v, (head), list) argument
|
/dflybsd-src/contrib/lvm2/dist/libdm/datastruct/ |
H A D | list.c | 25 void dm_list_init(struct dm_list *head) in dm_list_init() 34 void dm_list_add(struct dm_list *head, struct dm_list *elem) in dm_list_add() 49 void dm_list_add_h(struct dm_list *head, struct dm_list *elem) in dm_list_add_h() 74 void dm_list_move(struct dm_list *head, struct dm_list *elem) in dm_list_move() 83 int dm_list_empty(const struct dm_list *head) in dm_list_empty() 91 int dm_list_start(const struct dm_list *head, const struct dm_list *elem) in dm_list_start() 99 int dm_list_end(const struct dm_list *head, const struct dm_list *elem) in dm_list_end() 107 struct dm_list *dm_list_first(const struct dm_list *head) in dm_list_first() 115 struct dm_list *dm_list_last(const struct dm_list *head) in dm_list_last() 123 struct dm_list *dm_list_prev(const struct dm_list *head, const struct dm_list *elem) in dm_list_prev() [all …]
|
H A D | list.h | 103 #define dm_list_struct_base(v, t, head) \ argument 128 #define dm_list_iterate(v, head) \ argument 138 #define dm_list_uniterate(v, head, start) \ argument 146 #define dm_list_iterate_safe(v, t, head) \ argument 154 #define dm_list_iterate_items_gen(v, head, field) \ argument 164 #define dm_list_iterate_items(v, head) dm_list_iterate_items_gen(v, (head), list) argument 172 #define dm_list_iterate_items_gen_safe(v, t, head, field) \ argument 183 #define dm_list_iterate_items_safe(v, t, head) \ argument 192 #define dm_list_iterate_back_items_gen(v, head, field) \ argument 203 #define dm_list_iterate_back_items(v, head) dm_list_iterate_back_items_gen(v, (head), list) argument
|
/dflybsd-src/sys/dev/sound/midi/ |
H A D | midiq.h | 40 #define MIDIQ_INIT(head, buf, size) do { \ argument 46 #define MIDIQ_EMPTY(head) ((head).h == (head).t ) argument 48 #define MIDIQ_LENBASE(head) ((head).h - (head).t < 0 ? \ argument 52 #define MIDIQ_FULL(head) ((head).h == -1) argument 53 #define MIDIQ_AVAIL(head) (MIDIQ_FULL(head) ? 0 : (head).s - MIDIQ_LENBASE(head)) argument 54 #define MIDIQ_LEN(head) ((head).s - MIDIQ_AVAIL(head)) argument 59 #define MIDIQ_ENQ(head, buf, size) do { … argument 79 #define MIDIQ_DEQ_I(head, buf, size, move, update) do { … argument 99 #define MIDIQ_SIZE(head) ((head).s) argument 100 #define MIDIQ_CLEAR(head) ((head).h = (head).t = 0) argument [all …]
|
/dflybsd-src/sys/dev/disk/dm/ |
H A D | dm_table.c | 59 dm_table_busy(dm_table_head_t *head, uint8_t table_id) in dm_table_busy() 81 dm_table_unbusy(dm_table_head_t *head) in dm_table_unbusy() 94 dm_table_get_entry(dm_table_head_t *head, uint8_t table_id) in dm_table_get_entry() 107 dm_table_release(dm_table_head_t *head, uint8_t table_id) in dm_table_release() 116 dm_table_switch_tables(dm_table_head_t *head) in dm_table_switch_tables() 130 dm_table_destroy(dm_table_head_t *head, uint8_t table_id) in dm_table_destroy() 172 _dm_table_size(dm_table_head_t *head, int table) in _dm_table_size() 197 dm_table_size(dm_table_head_t *head) in dm_table_size() 203 dm_inactive_table_size(dm_table_head_t *head) in dm_inactive_table_size() 215 dm_table_get_target_count(dm_table_head_t *head, uint8_t table_id) in dm_table_get_target_count() [all …]
|
/dflybsd-src/bin/cpdup/ |
H A D | hcproto.c | 138 struct HCHead *head; in hc_hello() local 195 rc_hello(hctransaction_t trans, struct HCHead *head) in rc_hello() 222 struct HCHead *head; in hc_stat() local 240 struct HCHead *head; in hc_lstat() local 256 hc_decode_stat(hctransaction_t trans, struct stat *st, struct HCHead *head) in hc_decode_stat() 330 rc_stat(hctransaction_t trans, struct HCHead *head) in rc_stat() 348 rc_lstat(hctransaction_t trans, struct HCHead *head) in rc_lstat() 406 struct HCHead *head; in hc_opendir() local 445 rc_opendir(hctransaction_t trans, struct HCHead *head) in rc_opendir() 474 struct HCHead *head; in hc_readdir() local [all …]
|
H A D | hclink.c | 76 rc_badop(hctransaction_t trans __unused, struct HCHead *head) in rc_badop() 86 struct HCHead *head; in hcc_slave() local 307 hcc_finish_reply(hctransaction_t trans, struct HCHead *head) in hcc_finish_reply() 388 hcc_check_space(hctransaction_t trans, struct HCHead *head, int n, int size) in hcc_check_space() 464 hcc_nextitem(hctransaction_t trans, struct HCHead *head, struct HCLeaf *item) in hcc_nextitem() 499 hcc_nextchaineditem(struct HostConf *hc, struct HCHead *head) in hcc_nextchaineditem() 516 hcc_currentchaineditem(struct HostConf *hc, struct HCHead *head) in hcc_currentchaineditem() 529 hcc_debug_dump(hctransaction_t trans, struct HCHead *head) in hcc_debug_dump()
|
/dflybsd-src/tools/tools/drm/radeon/mkregtable/ |
H A D | mkregtable.c | 84 static inline void list_add(struct list_head *new, struct list_head *head) in list_add() 97 static inline void list_add_tail(struct list_head *new, struct list_head *head) in list_add_tail() 169 static inline void list_move(struct list_head *list, struct list_head *head) in list_move() 181 struct list_head *head) in list_move_tail() 193 const struct list_head *head) in list_is_last() 202 static inline int list_empty(const struct list_head *head) in list_empty() 220 static inline int list_empty_careful(const struct list_head *head) in list_empty_careful() 230 static inline int list_is_singular(const struct list_head *head) in list_is_singular() 236 struct list_head *head, in __list_cut_position() 263 struct list_head *head, in list_cut_position() [all …]
|
/dflybsd-src/sys/dev/drm/include/linux/ |
H A D | list.h | 60 list_first(const struct list_head *head) in list_first() 66 list_last(const struct list_head *head) in list_last() 72 list_empty(const struct list_head *head) in list_empty() 78 list_empty_careful(const struct list_head *head) in list_empty_careful() 159 #define list_for_each(p, head) \ argument 162 #define list_for_each_safe(p, n, head) \ argument 182 #define list_for_each_entry_continue_reverse(pos, head, member) \ argument 187 #define list_for_each_entry_safe_from(pos, n, head, member) \ argument 204 list_add(struct list_head *new, struct list_head *head) in list_add() 211 list_add_tail(struct list_head *new, struct list_head *head) in list_add_tail() [all …]
|
H A D | circ_buf.h | 32 int head; member 37 #define CIRC_CNT(head,tail,size) (((head) - (tail)) & ((size)-1)) argument 42 #define CIRC_SPACE(head,tail,size) CIRC_CNT((tail),((head)+1),(size)) argument 47 #define CIRC_CNT_TO_END(head,tail,size) \ argument 53 #define CIRC_SPACE_TO_END(head,tail,size) \ argument
|
H A D | llist.h | 43 llist_del_all(struct llist_head *head) in llist_del_all() 49 llist_del_first(struct llist_head *head) in llist_del_first() 64 llist_add(struct llist_node *new, struct llist_head *head) in llist_add() 76 init_llist_head(struct llist_head *head) in init_llist_head() 82 llist_empty(struct llist_head *head) in llist_empty()
|
/dflybsd-src/contrib/elftoolchain/common/ |
H A D | _elftc.h | 80 #define LIST_FOREACH_SAFE(var, head, field, tvar) \ argument 87 #define SLIST_FOREACH_SAFE(var, head, field, tvar) \ argument 104 #define STAILQ_EMPTY(head) ((head)->stqh_first == NULL) argument 115 #define STAILQ_FIRST(head) ((head)->stqh_first) argument 127 #define STAILQ_HEAD_INITIALIZER(head) \ argument 132 #define STAILQ_FOREACH(var, head, field) \ argument 139 #define STAILQ_FOREACH_SAFE(var, head, field, tvar) \ argument 146 #define STAILQ_INIT(head) do { \ argument 153 #define STAILQ_INSERT_HEAD(head, elm, field) do { \ argument 161 #define STAILQ_INSERT_TAIL(head, elm, field) do { \ argument [all …]
|
/dflybsd-src/sys/dev/raid/hpt27xx/ |
H A D | list.h | 54 static HPT_INLINE void list_add(struct list_head *_new, struct list_head *head) in list_add() 59 static HPT_INLINE void list_add_tail(struct list_head *_new, struct list_head *head) in list_add_tail() 81 static HPT_INLINE int list_empty(struct list_head *head) in list_empty() 88 struct list_head *head) in __list_splice() 101 static HPT_INLINE void list_splice(struct list_head *list, struct list_head *head) in list_splice() 107 static HPT_INLINE void list_splice_init(struct list_head *list, struct list_head *head) in list_splice_init() 118 #define list_for_each(pos, head) \ argument 121 #define list_for_each_safe(pos, n, head) \ argument
|
/dflybsd-src/sys/dev/raid/hptrr/ |
H A D | list.h | 56 static HPT_INLINE void list_add(struct list_head *_new, struct list_head *head) in list_add() 61 static HPT_INLINE void list_add_tail(struct list_head *_new, struct list_head *head) in list_add_tail() 83 static HPT_INLINE int list_empty(struct list_head *head) in list_empty() 90 struct list_head *head) in __list_splice() 103 static HPT_INLINE void list_splice(struct list_head *list, struct list_head *head) in list_splice() 109 static HPT_INLINE void list_splice_init(struct list_head *list, struct list_head *head) in list_splice_init() 120 #define list_for_each(pos, head) \ argument 123 #define list_for_each_safe(pos, n, head) \ argument
|
/dflybsd-src/contrib/gcc-8.0/libgomp/ |
H A D | priority_queue.h | 139 priority_queue_multi_p (struct priority_queue *head) in priority_queue_multi_p() 147 priority_queue_init (struct priority_queue *head) in priority_queue_init() 161 priority_queue_free (struct priority_queue *head) in priority_queue_free() 183 priority_queue_empty_p (struct priority_queue *head, enum memmodel model) in priority_queue_empty_p() 207 priority_queue_lookup_priority (struct priority_queue *head, int priority) in priority_queue_lookup_priority() 291 struct priority_queue *head, in priority_tree_insert() 336 struct priority_queue *head, in priority_queue_insert() 458 struct priority_queue *head, in priority_queue_remove()
|
/dflybsd-src/usr.bin/window/ |
H A D | var.c | 45 var_set1(struct var **head, const char *name, struct value *v) in var_set1() 78 var_setstr1(struct var **head, const char *name, char *str) in var_setstr1() 88 var_setnum1(struct var **head, const char *name, int num) in var_setnum1() 98 var_unset1(struct var **head, const char *name) in var_unset1()
|
/dflybsd-src/sys/vfs/hammer/ |
H A D | hammer_ioctl.h | 86 struct hammer_ioc_head head; member 114 struct hammer_ioc_head head; member 163 struct hammer_ioc_head head; member 185 struct hammer_ioc_head head; member 219 struct hammer_ioc_head head; member 228 struct hammer_ioc_head head; member 253 struct hammer_ioc_head head; member 267 struct hammer_ioc_head head; member 296 struct hammer_ioc_mrecord_head head; member 302 struct hammer_ioc_mrecord_head head; member [all …]
|
/dflybsd-src/sys/net/pf/ |
H A D | pf_subr.c | 68 hook_establish(struct hook_desc_head *head, int tail, void (*fn)(void *), in hook_establish() 85 hook_disestablish(struct hook_desc_head *head, void *vhook) in hook_disestablish() 109 dohooks(struct hook_desc_head *head, int flags) in dohooks()
|
/dflybsd-src/usr.sbin/installer/libdfui/ |
H A D | decode.c | 153 struct dfui_field *head = NULL, *fi; in dfui_decode_fields() local 179 struct dfui_option *head = NULL, *o; in dfui_decode_options() local 211 struct dfui_action *head = NULL, *a; in dfui_decode_actions() local 245 struct dfui_celldata *c, *head = NULL; in dfui_decode_celldatas() local 278 struct dfui_property *h, *head = NULL; in dfui_decode_properties() local 305 struct dfui_dataset *head = NULL, *ds; in dfui_decode_datasets() local
|
/dflybsd-src/lib/libc/db/mpool/ |
H A D | mpool.c | 112 struct _hqh *head; in mpool_new() local 146 struct _hqh *head; in mpool_delete() local 178 struct _hqh *head; in mpool_get() local 338 struct _hqh *head; in mpool_bkt() local 427 struct _hqh *head; in mpool_look() local
|