Home
last modified time | relevance | path

Searched refs:next (Results 1 – 25 of 1969) sorted by relevance

12345678910>>...79

/illumos-gate/usr/src/uts/common/os/
H A Dmemlist_new.c235 for (prev = NULL, next = *curmemlistp; next != NULL; in memlist_add_span()
236 prev = next, next = next->ml_next) { in memlist_add_span()
237 if (address > (next->ml_address + next->ml_size)) in memlist_add_span()
259 if (address == (next->ml_address + next->ml_size)) { in memlist_add_span()
346 for (next = *curmemlistp; next != NULL; next = next->ml_next) { in memlist_delete_span()
348 (address < next->ml_address + next->ml_size)) in memlist_delete_span()
362 if (address + bytes > next->ml_address + next->ml_size) { in memlist_delete_span()
377 next->ml_prev->ml_next = next->ml_next; in memlist_delete_span()
379 next->ml_next->ml_prev = next->ml_prev; in memlist_delete_span()
395 if (address + bytes == next->ml_address + next->ml_size) { in memlist_delete_span()
[all …]
/illumos-gate/usr/src/lib/libdwarf/common/
H A Ddwarfstring.c281 while (format[next] && format[next] != '%') { in dwarfstring_append_printf_s()
282 ++next; in dwarfstring_append_printf_s()
291 next++; in dwarfstring_append_printf_s()
294 next++; in dwarfstring_append_printf_s()
305 next++; in dwarfstring_append_printf_s()
385 while (format[next] && format[next] != '%') { in dwarfstring_append_printf_i()
386 ++next; in dwarfstring_append_printf_i()
394 next++; in dwarfstring_append_printf_i()
401 next++; in dwarfstring_append_printf_i()
632 while (format[next] && format[next] != '%') { in dwarfstring_append_printf_u()
[all …]
H A Dpro_alloc.c102 lp->next = lp->prev = lp; in _dwarf_p_get_alloc()
107 nextblock = dbglp->next; in _dwarf_p_get_alloc()
110 dbglp->next = lp; in _dwarf_p_get_alloc()
112 lp->next = nextblock; in _dwarf_p_get_alloc()
159 if (lp == lp->next) { in _dwarf_p_dealloc()
162 lp->next = 0; in _dwarf_p_dealloc()
171 lp->prev->next = lp->next; in _dwarf_p_dealloc()
173 lp->prev = lp->next = 0; in _dwarf_p_dealloc()
203 dbglp = base_dbglp->next; in _dwarf_p_dealloc_all()
206 memory_list_t*next = dbglp->next; in _dwarf_p_dealloc_all() local
[all …]
/illumos-gate/usr/src/uts/common/io/mega_sas/
H A Dlist.h82 struct mlist_head *next) in __list_add() argument
84 next->prev = new; in __list_add()
85 new->next = next; in __list_add()
87 prev->next = new; in __list_add()
130 next->prev = prev; in __list_del()
131 prev->next = next; in __list_del()
185 head->next = first; in mlist_splice()
187 last->next = at; in mlist_splice()
217 for (pos = (head)->next, prefetch(pos->next); pos != (head); \
218 pos = pos->next, prefetch(pos->next))
[all …]
/illumos-gate/usr/src/uts/common/ipp/ipgpc/
H A Dtable.c81 table[x].next->next = NULL; in ht_insert()
98 p = p->next; in ht_insert()
102 p->next = NULL; in ht_insert()
106 p->next = table[x].next; in ht_insert()
107 table[x].next = p->next; in ht_insert()
138 p = p->next; in ht_search()
225 table[x].next = table[x].next->next; in ht_remove()
235 if ((p->next->key == key) && (p->next->info == 1)) { in ht_remove()
242 if (p->next->next == NULL) { in ht_remove()
248 p->next = p->next->next; in ht_remove()
[all …]
/illumos-gate/usr/src/uts/intel/io/pci/
H A Dpci_memlist.c76 next = *list; in memlist_free_all()
77 while (next) { in memlist_free_all()
78 buf = next; in memlist_free_all()
94 next = *listp; in memlist_insert()
95 while (next && next->ml_address <= addr) { in memlist_insert()
101 next->ml_address + next->ml_size >= addr + size) { in memlist_insert()
110 prev = next; in memlist_insert()
115 merge_right = (next && addr + size == next->ml_address); in memlist_insert()
240 prev = next; in memlist_find()
269 while (next && (next->ml_address != address)) { in memlist_find_with_startaddr()
[all …]
/illumos-gate/usr/src/tools/smatch/src/
H A Dpre-process.c261 list = &next->next; in expand_list()
296 *p = next->next; in collect_arg()
311 p = &next->next; in collect_arg()
379 what->next = next->next; in collect_arguments()
400 what->next = next->next; in collect_arguments()
648 t = t->next->next; in handle_kludge()
1229 next = arg->next; in parse_arguments()
1239 next = arg->next; in parse_arguments()
1249 next = next->next; in parse_arguments()
1260 next = next->next; in parse_arguments()
[all …]
H A Dlib.c376 return next; in handle_switch_D()
383 return next; in handle_switch_E()
403 return next; in handle_switch_I()
430 return next; in handle_switch_i()
436 if (!*next) in handle_switch_M()
440 return next; in handle_switch_M()
448 return next; in handle_multiarch_dir()
470 return next; in handle_switch_m()
629 return next; in OPT_NUMERIC()
727 return next; in handle_switch_W()
[all …]
H A Dcheck_zero_to_err_ptr.c36 struct expression *next; in next_line_is_if() local
42 while (next->type == EXPR_PREOP && next->op == '!') in next_line_is_if()
43 next = strip_expr(next->unop); in next_line_is_if()
44 if (expr_equiv(expr, next)) in next_line_is_if()
51 struct expression *next; in next_line_checks_IS_ERR() local
64 while (next->type == EXPR_PREOP && next->op == '!') in next_line_checks_IS_ERR()
65 next = strip_expr(next->unop); in next_line_checks_IS_ERR()
66 if (!next || next->type != EXPR_CALL) in next_line_checks_IS_ERR()
68 if (next->fn->type != EXPR_SYMBOL || !next->fn->symbol || in next_line_checks_IS_ERR()
73 next = get_argument_from_call_expr(next->args, 0); in next_line_checks_IS_ERR()
[all …]
H A Dptrlist.c92 list = list->next; in first_ptr_list()
193 next = entry->next; in pack_ptr_list()
202 prev->next = next; in pack_ptr_list()
206 *listp = next; in pack_ptr_list()
207 head = next; in pack_ptr_list()
208 entry = next; in pack_ptr_list()
212 entry = next; in pack_ptr_list()
228 struct ptr_list *next = head->next; in split_ptr_list_head() local
232 newlist->next = next; in split_ptr_list_head()
472 next = cur->next; in copy_ptr_list()
[all …]
H A Dtokenize.c548 *p++ = next; in get_one_number()
551 if (next == '-' || next == '+') { in get_one_number()
573 return next; in get_one_number()
599 return next; in eat_string()
659 int next; in drop_stream_comment() local
752 if (next >= '0' && next <= '9') in get_one_special()
788 return next; in get_one_special()
859 goto next; in create_hashed_ident()
864 next: in create_hashed_ident()
918 int next; in get_one_identifier() local
[all …]
/illumos-gate/usr/src/uts/common/io/xge/hal/include/
H A Dxge-list.h40 struct xge_list_t* next; member
52 header->next = header; in xge_list_init()
85 if(header->next == header) in xge_list_first_get()
88 return header->next; in xge_list_first_get()
105 item->prev->next = item->next; in xge_list_remove()
127 new_item->next = prev_item->next; in xge_list_insert()
130 prev_item->next = new_item; in xge_list_insert()
147 new_item->next = next_item; in xge_list_insert_before()
154 for (_p = (_h)->next, xge_os_prefetch(_p->next); _p != (_h); \
155 _p = _p->next, xge_os_prefetch(_p->next))
[all …]
/illumos-gate/usr/src/uts/sun4u/os/
H A Dmemscrub.c802 prev = next, next = next->ml_next) { in memscrub_add_span_gen()
803 if (address > (next->ml_address + next->ml_size)) in memscrub_add_span_gen()
926 for (next = memscrub_memlist; next != NULL; next = next->ml_next) { in memscrub_delete_span()
928 (address < next->ml_address + next->ml_size)) in memscrub_delete_span()
959 next->ml_prev->ml_next = next->ml_next; in memscrub_delete_span()
961 next->ml_next->ml_prev = next->ml_prev; in memscrub_delete_span()
1007 next->ml_size = address - next->ml_address; in memscrub_delete_span()
1285 prev_span->next = next_span->next; in memscrub_page_retire_span_delete()
1325 next = cur->next; in memscrub_page_retire_span_list_update()
1335 prev->next = cur->next; in memscrub_page_retire_span_list_update()
[all …]
/illumos-gate/usr/src/uts/common/io/qede/
H A Dqede_list.h87 list->next = list; in QEDE_INIT_LIST_HEAD()
96 qede_list_t *next) in qede_list_add() argument
98 next->prev = new; in qede_list_add()
99 new->next = next; in qede_list_add()
101 prev->next = new; in qede_list_add()
113 next->prev = prev; in qede_list_del()
114 prev->next = next; in qede_list_del()
138 qede_list_t *next) in list_splice() argument
144 prev->next = first; in list_splice()
146 last->next = next; in list_splice()
[all …]
/illumos-gate/usr/src/uts/common/io/mr_sas/
H A Dmr_sas_list.c27 struct mlist_head *next) in __list_add() argument
29 next->prev = new; in __list_add()
30 new->next = next; in __list_add()
32 prev->next = new; in __list_add()
46 __list_add(new, head, head->next); in mlist_add()
73 next->prev = prev; in __list_del()
74 prev->next = next; in __list_del()
95 return (head->next == head); in mlist_empty()
110 struct mlist_head *at = head->next; in mlist_splice()
113 head->next = first; in mlist_splice()
[all …]
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dzfs_rlock.c317 next = prev; in rangelock_add_reader()
321 if (next == NULL || off + len <= next->lr_offset) { in rangelock_add_reader()
339 for (prev = NULL; next; prev = next, next = AVL_NEXT(tree, next)) { in rangelock_add_reader()
352 if (off + len == next->lr_offset + next->lr_length) { in rangelock_add_reader()
354 next = rangelock_proxify(tree, next); in rangelock_add_reader()
358 if (off + len < next->lr_offset + next->lr_length) { in rangelock_add_reader()
360 next = rangelock_split(tree, next, off + len); in rangelock_add_reader()
364 ASSERT3U(off + len, >, next->lr_offset + next->lr_length); in rangelock_add_reader()
365 next = rangelock_proxify(tree, next); in rangelock_add_reader()
419 for (; next != NULL; next = AVL_NEXT(tree, next)) { in rangelock_enter_reader()
[all …]
/illumos-gate/usr/src/cmd/csh/
H A Dsh.parse.c73 p1 = p1->next; in asyntax()
103 if (p->next != p2 && eq(p->next->word, S_AND /* "&"*/)) in asyn0()
104 p = p->next; in asyn0()
164 alout.prev->prev->next = p1->next; in asyn3()
166 p1->next = alout.next; in asyn3()
183 p1 = p1->next; in freenod()
254 if (p->next != p2 && eq(p->next->word, S_AND /* "&" */)) in syn0()
255 p = p->next; in syn0()
490 p = p->next; in syn3()
583 if (p->next != p2 && eq(p->next->word, S_EXAS /* "!" */)) in syn3()
[all …]
/illumos-gate/usr/src/lib/libmapmalloc/common/
H A Dtextmem.c64 struct block *next; member
70 struct page *next; member
138 page->next = memstart; in malloc_unlocked()
142 block->next = 0; in malloc_unlocked()
174 if (block->next && block->next->status == FREE) { in realloc()
176 block->next = block->next->next; in realloc()
228 newblock->next = block->next; in split()
229 block->next = newblock; in split()
252 block->next = block2->next; in defrag()
262 memstart = page->next; in defrag()
[all …]
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/asn.1/
H A Dasn1buf.c72 (*buf)->next = NULL; in asn1buf_create()
87 subbuf->base = subbuf->next = buf->next; in asn1buf_imbed()
111 buf->next = subbuf->next; in asn1buf_sync()
125 buf->next += length; in asn1buf_skiptail()
136 buf->next += t.length; in asn1buf_skiptail()
167 *(buf->next) = (char)o; in asn1buf_insert_octet()
168 (buf->next)++; in asn1buf_insert_octet()
219 buf->next += len; in asn1buf_remove_octetstring()
237 buf->next += len; in asn1buf_remove_charstring()
250 if (indef && remain >= 2 && !*(buf->next) && !*(buf->next + 1)) in asn1buf_remains()
[all …]
/illumos-gate/usr/src/cmd/lp/cmd/lpsched/
H A Dflt.c38 FLT * next; member
85 f->next = Fault_List->next; in add_flt_act()
86 Fault_List->next = f; in add_flt_act()
102 for (f = Fault_List; f->next; f = f->next) in del_flt_act()
103 if (f->next->type == type && f->next->ident == md) in del_flt_act()
105 fp = f->next; in del_flt_act()
106 f->next = f->next->next; in del_flt_act()
126 for (f = Fault_List; f && f->next; f = f->next) in do_flt_acts()
127 if (f->next->ident == md) in do_flt_acts()
129 fp = f->next; in do_flt_acts()
[all …]
/illumos-gate/usr/src/lib/libresolv2/common/isc/
H A Dev_waits.c58 new->next = NULL; in evWaitFor()
60 wl->last->next = new; in evWaitFor()
118 prev->next = this->next; in evUnwait()
120 wl->first = this->next; in evUnwait()
137 prev->next = this->next; in evUnwait()
168 new->next = NULL; in evDefer()
209 new->next = ctx->waitLists; in evNewWaitList()
210 if (new->next != NULL) in evNewWaitList()
211 new->next->prev = new; in evNewWaitList()
222 this->prev->next = this->next; in evFreeWaitList()
[all …]
/illumos-gate/usr/src/cmd/powertop/common/
H A Dsuggestions.c96 new->next = NULL; in pt_sugg_add()
125 for (n = sugg; n->next != NULL; n = n->next) in pt_sugg_add()
128 n->next = new; in pt_sugg_add()
130 new->next = NULL; in pt_sugg_add()
136 new->next = sugg; in pt_sugg_add()
145 new->next = pos; in pt_sugg_add()
147 pos->prev->next = new; in pt_sugg_add()
171 sugg = n->next; in pt_sugg_remove()
175 if (n->next == NULL) { in pt_sugg_remove()
177 n->prev->next = NULL; in pt_sugg_remove()
[all …]
/illumos-gate/usr/src/lib/libresolv2/include/isc/
H A Dlist.h30 (elt)->link.next = (type *)(-1); \
49 (elt)->link.next = (list).head; \
57 (list).tail->link.next = (elt); \
61 (elt)->link.next = NULL; \
68 if ((elt)->link.next != NULL) \
75 (elt)->link.prev->link.next = (elt)->link.next; \
78 (list).head = (elt)->link.next; \
97 (elt)->link.next = (before); \
104 if ((after)->link.next == NULL) \
107 (elt)->link.next = (after)->link.next; \
[all …]
/illumos-gate/usr/src/boot/efi/loader/
H A Dmemmap.c79 struct smap_buf *cur, *next; in efi_getsmap() local
98 next = NULL; in efi_getsmap()
101 if (next == NULL) { in efi_getsmap()
102 next = malloc(sizeof(*next)); in efi_getsmap()
103 if (next == NULL) in efi_getsmap()
107 next->sb_smap.length = in efi_getsmap()
119 next->sb_smap.type = type; in efi_getsmap()
127 addr = next->sb_smap.base + next->sb_smap.length; in efi_getsmap()
130 next->sb_smap.length += in efi_getsmap()
135 next = NULL; in efi_getsmap()
[all …]
/illumos-gate/usr/src/cmd/gencat/
H A Dgencat.c232 next = current_set->next;
235 current_set->next = next;
240 if (next)
271 next = setp->next;
274 prev->next = next;
277 if (next)
351 next = current_msg->next;
355 next = current_msg->next;
360 current_msg->next = next;
396 next = current_msg->next;
[all …]

12345678910>>...79