Searched refs:prev (Results 1 - 25 of 693) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/uts/common/io/mr_sas/
H A Dmr_sas_list.c23 * the prev/next entries already!
26 __list_add(struct mlist_head *new, struct mlist_head *prev, argument
29 next->prev = new;
31 new->prev = prev;
32 prev->next = new;
60 __list_add(new, head->prev, head);
64 * Delete a list entry by making the prev/next entries
68 * the prev/next entries already!
71 __list_del(struct mlist_head *prev, struc argument
[all...]
/illumos-gate/usr/src/cmd/bnu/
H A Dversys.c53 char *prev; local
58 prev = _uu_setlocale(LC_ALL, "C");
66 (void) _uu_resetlocale(LC_ALL, prev);
80 (void) _uu_resetlocale(LC_ALL, prev);
85 (void) _uu_resetlocale(LC_ALL, prev);
H A Dgetargs.c53 char *prev; local
55 prev = _uu_setlocale(LC_ALL, "C");
69 (void) _uu_resetlocale(LC_ALL, prev);
94 char *prev; local
96 prev = _uu_setlocale(LC_ALL, "C");
162 (void) _uu_resetlocale(LC_ALL, prev);
/illumos-gate/usr/src/uts/common/io/mega_sas/
H A Dlist.h53 * sometimes we already know the next/prev entries and we can
59 struct mlist_head *next, *prev; member in struct:mlist_head
70 (ptr)->next = (ptr); (ptr)->prev = (ptr); \
78 * the prev/next entries already!
81 struct mlist_head *prev,
84 next->prev = new;
86 new->prev = prev;
87 prev->next = new;
115 __list_add(new, head->prev, hea
80 __list_add(struct mlist_head *new, struct mlist_head *prev, struct mlist_head *next) argument
127 __list_del(struct mlist_head *prev, struct mlist_head *next) argument
[all...]
/illumos-gate/usr/src/uts/intel/promif/
H A Dprom_prop.c57 prom_decode_composite_string(void *buf, size_t buflen, char *prev) argument
62 if (prev == 0)
65 prev += strlen(prev) + 1;
66 if (prev >= ((char *)buf + buflen))
68 return (prev);
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/
H A Dreslist.c43 LDAPMessage *tmp, *prev = NULL; local
46 prev = tmp;
51 if ( prev == NULL )
54 prev->lm_chain = tmp->lm_chain;
/illumos-gate/usr/src/uts/common/io/drm/
H A Ddrm_linux_list.h44 struct list_head *next, *prev; member in struct:list_head
53 (head)->prev = head; \
58 (head)->next->prev = entry; \
60 (entry)->prev = head; \
66 (entry)->prev = (head)->prev; \
68 (head)->prev->next = entry; \
69 (head)->prev = entry; \
74 (entry)->next->prev = (entry)->prev; \
[all...]
/illumos-gate/usr/src/uts/common/io/xge/hal/include/
H A Dxge-list.h33 * @prev: Previous list item.
39 struct xge_list_t* prev; member in struct:xge_list_t
53 header->prev = header;
83 xge_assert(header->prev != NULL);
102 xge_assert(item->prev != NULL);
104 item->next->prev = item->prev;
105 item->prev->next = item->next;
107 item->next = item->prev = NULL;
128 new_item->prev
[all...]
/illumos-gate/usr/src/lib/libresolv2/include/isc/
H A Dlist.h26 #define LINK(type) struct { type *prev, *next; }
29 (elt)->link.prev = (type *)(-1); \
34 #define LINKED(elt, link) ((void *)((elt)->link.prev) != (void *)(-1) && \
45 (list).head->link.prev = (elt); \
48 (elt)->link.prev = NULL; \
60 (elt)->link.prev = (list).tail; \
69 (elt)->link.next->link.prev = (elt)->link.prev; \
72 (list).tail = (elt)->link.prev; \
74 if ((elt)->link.prev !
[all...]
/illumos-gate/usr/src/tools/ctf/dwarf/common/
H A Dpro_alloc.c96 lp->next = lp->prev = lp;
105 lp->prev = dbglp;
107 nextblock->prev = lp;
153 lp->prev->next = lp->next;
154 lp->next->prev = lp->prev;
180 dbglp->prev != dbglp) {
/illumos-gate/usr/src/lib/libast/common/misc/
H A Ddebug.c49 static double prev; local
54 return prev = tm;
55 return tm - prev;
/illumos-gate/usr/src/cmd/sgs/librtld_db/demo/common/
H A Ddisasm.c37 unsigned int next, unsigned int prev, int vers)
36 disassemble(unsigned int instr, unsigned long pc, FUNCPTR prtAddress, unsigned int next, unsigned int prev, int vers) argument
/illumos-gate/usr/src/uts/intel/io/pci/
H A Dpci_memlist.c30 * NOTE: We are only using the next-> link. The prev-> link is
88 struct memlist *prev = 0, *next; local
107 prev = next;
108 next = prev->ml_next;
111 merge_left = (prev && addr == prev->ml_address + prev->ml_size);
114 prev->ml_size += size + next->ml_size;
115 prev->ml_next = next->ml_next;
121 prev
154 struct memlist *prev = 0; local
225 struct memlist *prev = 0, *next; local
294 struct memlist *head, *prev; local
327 struct memlist *head = 0, *prev = 0; local
[all...]
/illumos-gate/usr/src/cmd/lp/cmd/lpsched/
H A Drstatus.c53 r->prev = prs->prev;
54 if (r->prev)
55 r->prev->next = r;
57 prs->prev = r;
66 r->prev = prs;
83 r->next->prev = r->prev;
85 if (r->prev)
86 r->prev
[all...]
/illumos-gate/usr/src/cmd/mailx/
H A Dmyfopen.c106 register NODE *cur, *prev; local
108 for (prev = cur = fplist; cur != (NODE *)NULL; cur = cur->next) {
113 prev->next = cur->next;
114 cur = prev->next ? prev->next : prev;
117 curptr = prev;
121 prev = cur;
/illumos-gate/usr/src/cmd/syslogd/
H A Dlist.c83 ll_t **prev = &ptr->front; local
91 prev = &(t->n);
95 if ((*prev = t->n) == NULL)
96 ptr->back = prev;
108 ll_t **prev = &head->front; local
112 prev = &ptr->n;
115 assert(head->back == prev);
/illumos-gate/usr/src/cmd/audio/utilities/
H A DAudioList.cc40 aptr(0), next(0), prev(0)
52 next->prev = prev;
54 if (prev != 0) {
55 prev->next = next;
78 prev = after;
82 next->prev = this;
307 AudioListEntry *prev; local
311 prev = &head; // this is the first extent
313 if (!getposition(pos, prev)) {
341 AudioListEntry *prev; local
[all...]
/illumos-gate/usr/src/cmd/powertop/common/
H A Dsuggestions.c95 new->prev = NULL;
129 new->prev = n;
137 new->prev = sugg;
138 sugg->prev = new;
146 new->prev = pos->prev;
147 pos->prev->next = new;
148 pos->prev = new;
172 sugg->prev = NULL;
177 n->prev
[all...]
/illumos-gate/usr/src/lib/libast/common/tm/
H A Dtmzone.c52 register char* prev; local
69 prev = 0;
73 prev = zp->type;
74 if (!type || type == prev || !prev)
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dzfs_rlock.c271 zfs_range_add_reader(avl_tree_t *tree, rl_t *new, rl_t *prev, avl_index_t where) argument
278 * prev arrives either:
284 if (prev) {
285 if (prev->r_off + prev->r_len <= off) {
286 prev = NULL;
287 } else if (prev->r_off != off) {
292 prev = zfs_range_split(tree, prev, off);
293 prev
359 rl_t *prev, *next; local
[all...]
/illumos-gate/usr/src/uts/common/io/ib/clients/of/sol_ofs/
H A Dsol_ofs_gen_util.c62 new_entry->prev = list->tail;
83 if (entry->prev) {
84 entry->prev->next = entry->next;
90 entry->next->prev = entry->prev;
92 list->tail = entry->prev;
96 entry->prev = entry->next = NULL;
149 entry->prev = list->tail;
/illumos-gate/usr/src/uts/common/sys/
H A Dddi_hp_impl.h108 type *curr, *prev = NULL; \
110 for (curr = (head); curr; prev = curr, curr = curr->next); \
111 if (prev == NULL) \
114 prev->next = (node); \
120 type *curr, *prev = NULL; \
121 for (curr = (head); curr; prev = curr, curr = curr->next) { \
126 if (prev == NULL) \
129 prev->next = curr->next; \
/illumos-gate/usr/src/lib/libresolv2/common/isc/
H A Dev_waits.c108 evWait *this, *prev; local
116 for (prev = NULL, this = wl->first;
118 prev = this, this = this->next)
121 if (prev != NULL)
122 prev->next = this->next;
126 wl->last = prev;
135 for (prev = NULL, this = ctx->waitDone.first;
137 prev = this, this = this->next)
140 if (prev != NULL)
141 prev
[all...]
/illumos-gate/usr/src/cmd/lvm/metassist/common/
H A Dvolume_dlist.c123 iter->prev = item;
125 item->prev = iter->prev;
126 item->prev->next = item;
127 iter->prev = item;
136 item->prev = iter;
147 * clear it's next and prev pointers, return new list head.
207 * the item to remove, with prev and next pointers
220 item->next->prev = item->prev;
[all...]
/illumos-gate/usr/src/lib/libpp/common/
H A Dppincref.c42 for (sp = pp.in; sp; sp = sp->prev)

Completed in 103 milliseconds

1234567891011>>