Home
last modified time | relevance | path

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

12345678910>>...103

/titanic_41/usr/src/uts/common/os/
H A Dmemlist_new.c203 struct memlist *prev, *next; in memlist_add_span() local
231 for (prev = NULL, next = *curmemlistp; next != NULL; in memlist_add_span()
232 prev = next, next = next->ml_next) { in memlist_add_span()
233 if (address > (next->ml_address + next->ml_size)) in memlist_add_span()
243 if ((address + bytes) == next->ml_address) { in memlist_add_span()
246 next->ml_address = address; in memlist_add_span()
247 next->ml_size += bytes; in memlist_add_span()
255 if (address == (next->ml_address + next->ml_size)) { in memlist_add_span()
258 if (next->ml_next) { in memlist_add_span()
263 next->ml_next->ml_address) { in memlist_add_span()
[all …]
/titanic_41/usr/src/uts/common/io/mega_sas/
H A Dlist.h59 struct mlist_head *next, *prev; member
70 (ptr)->next = (ptr); (ptr)->prev = (ptr); \
82 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()
101 __list_add(new, head, head->next); in mlist_add()
128 struct mlist_head *next) in __list_del() argument
130 next->prev = prev; in __list_del()
131 prev->next = next; in __list_del()
[all …]
/titanic_41/usr/src/uts/common/ipp/ipgpc/
H A Dtable.c80 } else if (table[x].next == NULL) { in ht_insert()
81 table[x].next = kmem_cache_alloc(ht_node_cache, KM_SLEEP); in ht_insert()
82 table[x].next->elements = NULL; in ht_insert()
83 table[x].next->next = NULL; in ht_insert()
84 table[x].next->key = key; in ht_insert()
85 table[x].next->info = 1; in ht_insert()
86 (void) ipgpc_list_insert(&table[x].next->elements, id); in ht_insert()
88 p = table[x].next; in ht_insert()
100 p = p->next; in ht_insert()
104 p->next = NULL; in ht_insert()
[all …]
/titanic_41/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()
68 return header->next == header; in xge_list_is_empty()
82 xge_assert(header->next != NULL); in xge_list_first_get()
85 if(header->next == header) in xge_list_first_get()
88 return header->next; in xge_list_first_get()
101 xge_assert(item->next != NULL); in xge_list_remove()
104 item->next->prev = item->prev; in xge_list_remove()
105 item->prev->next = item->next; in xge_list_remove()
107 item->next = item->prev = NULL; in xge_list_remove()
[all …]
/titanic_41/usr/src/uts/intel/io/pci/
H A Dpci_memlist.c71 struct memlist *next, *buf; in memlist_free_all() local
73 next = *list; in memlist_free_all()
74 while (next) { in memlist_free_all()
75 buf = next; in memlist_free_all()
76 next = buf->ml_next; in memlist_free_all()
88 struct memlist *prev = 0, *next; in memlist_insert() local
91 next = *listp; in memlist_insert()
92 while (next && next->ml_address <= addr) { in memlist_insert()
97 if (next->ml_address <= addr && in memlist_insert()
98 next->ml_address + next->ml_size >= addr + size) { in memlist_insert()
[all …]
/titanic_41/usr/src/uts/sun4u/os/
H A Dmemscrub.c248 struct memscrub_page_retire_span *next; member
768 struct memlist *prev, *next; in memscrub_add_span_gen() local
800 for (prev = NULL, next = *list; in memscrub_add_span_gen()
801 next != NULL; in memscrub_add_span_gen()
802 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()
813 if ((address + bytes) == next->ml_address) { in memscrub_add_span_gen()
816 next->ml_address = address; in memscrub_add_span_gen()
817 next->ml_size += bytes; in memscrub_add_span_gen()
825 if (address == (next->ml_address + next->ml_size)) { in memscrub_add_span_gen()
[all …]
/titanic_41/usr/src/uts/intel/io/drm/
H A Di915_mem.c85 list[(unsigned)list[i].next].prev = list[i].prev; in mark_block()
86 list[(unsigned)list[i].prev].next = list[i].next; in mark_block()
91 list[i].next = list[nr].next; in mark_block()
92 list[(unsigned)list[nr].next].prev = (unsigned char)i; in mark_block()
93 list[nr].next = (unsigned char)i; in mark_block()
112 newblock->next = p->next; in split_block()
114 p->next->prev = newblock; in split_block()
115 p->next = newblock; in split_block()
129 newblock->next = p->next; in split_block()
131 p->next->prev = newblock; in split_block()
[all …]
H A Dradeon_mem.c62 newblock->next = p->next; in split_block()
64 p->next->prev = newblock; in split_block()
65 p->next = newblock; in split_block()
79 newblock->next = p->next; in split_block()
81 p->next->prev = newblock; in split_block()
82 p->next = newblock; in split_block()
98 for (p = heap->next; p != heap; p = p->next) { in alloc_block()
112 for (p = heap->next; p != heap; p = p->next) in find_block()
128 if (p->next->filp == 0) { in free_block()
129 struct mem_block *q = p->next; in free_block()
[all …]
/titanic_41/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()
71 __list_del(struct mlist_head *prev, struct mlist_head *next) in __list_del() argument
73 next->prev = prev; in __list_del()
74 prev->next = next; in __list_del()
84 __list_del(entry->prev, entry->next); in mlist_del_init()
95 return (head->next == head); in mlist_empty()
[all …]
/titanic_41/usr/src/uts/common/io/drm/
H A Ddrm_linux_list.h44 struct list_head *next, *prev; member
52 (head)->next = head; \
58 (head)->next->prev = entry; \
59 (entry)->next = (head)->next; \
61 (head)->next = entry; \
67 (entry)->next = head; \
68 (head)->prev->next = entry; \
74 (entry)->next->prev = (entry)->prev; \
75 (entry)->prev->next = (entry)->next; \
80 for (entry = (head)->next; entry != head; entry = (entry)->next)
[all …]
/titanic_41/usr/src/uts/common/fs/zfs/
H A Dzfs_rlock.c273 rl_t *next; in zfs_range_add_reader() local
299 next = prev; in zfs_range_add_reader()
301 next = (rl_t *)avl_nearest(tree, where, AVL_AFTER); in zfs_range_add_reader()
303 if (next == NULL || off + len <= next->r_off) { in zfs_range_add_reader()
309 if (off < next->r_off) { in zfs_range_add_reader()
311 zfs_range_new_proxy(tree, off, next->r_off - off); in zfs_range_add_reader()
321 for (prev = NULL; next; prev = next, next = AVL_NEXT(tree, next)) { in zfs_range_add_reader()
322 if (off + len <= next->r_off) in zfs_range_add_reader()
324 if (prev && prev->r_off + prev->r_len < next->r_off) { in zfs_range_add_reader()
326 ASSERT3U(next->r_off, >, prev->r_off + prev->r_len); in zfs_range_add_reader()
[all …]
/titanic_41/usr/src/lib/libmapmalloc/common/
H A Dtextmem.c66 struct block *next; member
72 struct page *next; member
120 for (page = memstart; page; page = page->next) { in malloc_unlocked()
121 for (block = page->block; block; block = block->next) { in malloc_unlocked()
140 page->next = memstart; in malloc_unlocked()
144 block->next = 0; in malloc_unlocked()
176 if (block->next && block->next->status == FREE) { in realloc()
177 block->size += block->next->size + HDR_BLOCK; in realloc()
178 block->next = block->next->next; in realloc()
230 newblock->next = block->next; in split()
[all …]
/titanic_41/usr/src/cmd/csh/
H A Dsh.parse.c59 asyntax(lex->next, lex); in alias()
75 p1 = p1->next; in asyntax()
91 for (p = p1; p != p2; p = p->next) in asyn0()
105 if (p->next != p2 && eq(p->next->word, S_AND /* "&"*/)) in asyn0()
106 p = p->next; in asyn0()
116 asyntax(p->next, p2); in asyn0()
139 if (p2 == p1->next) in asyn3()
141 asyn0(p1->next, p2); in asyn3()
157 if (p1->word[0] && eq(p1->word, alout.next->word)) { in asyn3()
158 tchar *cp = alout.next->word; in asyn3()
[all …]
/titanic_41/usr/src/cmd/lp/cmd/lpsched/
H A Dflt.c40 FLT * next; member
87 f->next = Fault_List->next; in add_flt_act()
88 Fault_List->next = f; in add_flt_act()
104 for (f = Fault_List; f->next; f = f->next) in del_flt_act()
105 if (f->next->type == type && f->next->ident == md) in del_flt_act()
107 fp = f->next; in del_flt_act()
108 f->next = f->next->next; in del_flt_act()
128 for (f = Fault_List; f && f->next; f = f->next) in do_flt_acts()
129 if (f->next->ident == md) in do_flt_acts()
131 fp = f->next; in do_flt_acts()
[all …]
/titanic_41/usr/src/lib/gss_mechs/mech_krb5/krb5/asn.1/
H A Dasn1buf.c72 (*buf)->next = NULL; in asn1buf_create()
79 buf->next = buf->base = code->data; in asn1buf_wrap_data()
86 if (buf->next > buf->bound + 1) return ASN1_OVERRUN; in asn1buf_imbed()
87 subbuf->base = subbuf->next = buf->next; in asn1buf_imbed()
89 if (length > (size_t)(buf->bound + 1 - buf->next)) return ASN1_OVERRUN; in asn1buf_imbed()
104 buf->next = subbuf->bound + 1; in asn1buf_sync()
111 buf->next = subbuf->next; in asn1buf_sync()
124 if (length <= buf->bound - buf->next + 1) in asn1buf_skiptail()
125 buf->next += length; in asn1buf_skiptail()
130 if (buf->bound - buf->next + 1 <= 0) in asn1buf_skiptail()
[all …]
/titanic_41/usr/src/lib/libresolv2/common/isc/
H A Dev_waits.c62 new->next = NULL; in evWaitFor()
64 wl->last->next = new; in evWaitFor()
93 ctx->waitDone.last->next = first; in evDo()
118 prev = this, this = this->next) in evUnwait()
122 prev->next = this->next; in evUnwait()
124 wl->first = this->next; in evUnwait()
137 prev = this, this = this->next) in evUnwait()
141 prev->next = this->next; in evUnwait()
143 ctx->waitDone.first = this->next; in evUnwait()
172 new->next = NULL; in evDefer()
[all …]
/titanic_41/usr/src/cmd/powertop/common/
H A Dsuggestions.c96 new->next = NULL; in pt_sugg_add()
98 for (n = sugg; n != NULL; n = n->next) { 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()
163 for (n = sugg; n != NULL; n = n->next) { in pt_sugg_remove()
167 if (sugg->next == NULL) { in pt_sugg_remove()
[all …]
/titanic_41/usr/src/lib/libresolv2/include/isc/
H A Dlist.h26 #define LINK(type) struct { type *prev, *next; }
30 (elt)->link.next = (type *)(-1); \
35 (void *)((elt)->link.next) != (void *)(-1))
49 (elt)->link.next = (list).head; \
57 (list).tail->link.next = (elt); \
61 (elt)->link.next = NULL; \
68 if ((elt)->link.next != NULL) \
69 (elt)->link.next->link.prev = (elt)->link.prev; \
75 (elt)->link.prev->link.next = (elt)->link.next; \
78 (list).head = (elt)->link.next; \
[all …]
/titanic_41/usr/src/lib/libast/common/sfio/
H A Dsfwrite.c38 reg uchar *s, *begs, *next; local
55 if((uchar*)buf != f->next &&
82 f->next += n;
95 w = f->endb - f->next;
97 if(s == f->next) /* after sfreserve */
100 f->next = (s += w);
109 if((w = f->endb - f->next) < (ssize_t)n)
111 { if(f->next > f->data)
118 else if(f->next > f->data)
121 if((w = f->endb - f->next) < (ssize_t)n &&
[all …]
H A Dsfraise.c38 Sfpool_t *p, *next; local
42 for(p = &_Sfpool; p; p = next)
44 for(next = p->next; next; next = next->next)
45 if(next->n_sf > 0)
65 reg Sfdisc_t *disc, *next, *d; local
84 { next = disc->disc;
86 f->disc = next;
95 if((disc = next) )
/titanic_41/usr/src/cmd/sgs/rtld/common/
H A Dmalloc.c55 struct block *next; member
61 struct page *next; member
111 for (block = page->block; block; block = block->next) { in defrag()
116 for (block2 = block->next; block2 && in defrag()
117 block2->status == FREE; block2 = block2->next) { in defrag()
118 block->next = block2->next; in defrag()
142 newblock->next = block->next; in split()
143 block->next = newblock; in split()
169 for (page = memstart; page; page = page->next) { in malloc()
170 for (block = page->block; block; block = block->next) { in malloc()
[all …]
/titanic_41/usr/src/cmd/gencat/
H A Dgencat.c78 struct cat_set *next; member
86 struct cat_msg *next; member
176 p->next = NULL;
187 struct cat_set *prev, *next; local
210 current_set->next = first_set;
221 while (current_set->next && current_set->next->set_no < no)
222 current_set = current_set->next;
224 if (current_set->next && current_set->next->set_no == no) {
226 current_set = current_set->next;
232 next = current_set->next;
[all …]
/titanic_41/usr/src/cmd/users/
H A Dusers.c113 struct reqgrp *next; member
125 struct reqlogin *next; member
376 struct grpmember *next; member
421 new->next = membershead; in addmember()
451 for (pmem = membershead; !found && pmem; pmem = pmem->next) { in isamember()
486 struct display *next; member
506 displayhead->next = NULL; in initdisp()
546 current = displayhead->next; in adddisp()
553 current = current->next; in adddisp()
577 new->next = current; in adddisp()
[all …]
/titanic_41/usr/src/uts/common/gssapi/mechs/krb5/mech/
H A Dutil_set.c40 struct _g_set_elt *next; member
53 g_set next;
56 next = (*s)->next;
58 *s = next;
74 first->next = *s; in g_set_entry_add()
85 for (p=s; *p; p = &((*p)->next)) { in g_set_entry_delete()
87 g_set_elt next = (*p)->next; in g_set_entry_delete() local
89 *p = next; in g_set_entry_delete()
102 for (p = *s; p; p = p->next) { in g_set_entry_get()
/titanic_41/usr/src/cmd/lvm/metassist/common/
H A Dvolume_dlist.c70 for (iter = list; iter != NULL; iter = iter->next) { in dlist_find()
113 for (iter = list; iter != NULL; iter = iter->next) { in dlist_insert_ordered()
122 item->next = iter; in dlist_insert_ordered()
126 item->prev->next = item; in dlist_insert_ordered()
128 item->next = iter; in dlist_insert_ordered()
133 if (iter->next == NULL) { in dlist_insert_ordered()
135 iter->next = item; in dlist_insert_ordered()
219 if (item->next != NULL) { in dlist_remove()
220 item->next->prev = item->prev; in dlist_remove()
221 head = item->next; in dlist_remove()
[all …]

12345678910>>...103