Home
last modified time | relevance | path

Searched refs:nextp (Results 1 – 25 of 84) sorted by relevance

1234

/illumos-gate/usr/src/cmd/vntsd/
H A Dqueue.c59 el->nextp = NULL; in alloc_que_el()
91 p = p->nextp; in vntsd_que_append()
92 p->nextp = el; in vntsd_que_append()
115 q = q->nextp; in vntsd_que_insert_after()
129 el->nextp = q->nextp; in vntsd_que_insert_after()
130 q->nextp = el; in vntsd_que_insert_after()
152 p = p->nextp; in vntsd_que_rm()
165 prevp->nextp = p->nextp; in vntsd_que_rm()
191 p = p->nextp; in vntsd_que_walk()
210 p = p->nextp; in vntsd_que_find()
[all …]
/illumos-gate/usr/src/uts/common/io/ib/clients/rdsv3/
H A Drdsv3_sc.c129 p = p->nextp; in rdsv3_path_up()
138 p->nextp = NULL; in rdsv3_path_up()
156 p->nextp = rdsv3_pathmap; in rdsv3_path_up()
196 p = p->nextp; in rdsv3_path_down()
242 p->prevp->nextp = p->nextp; in rdsv3_path_down()
246 rdsv3_pathmap = p->nextp; in rdsv3_path_down()
249 if (p->nextp) { in rdsv3_path_down()
250 p->nextp->prevp = p->prevp; in rdsv3_path_down()
269 p = p->nextp; in rdsv3_sc_path_lookup()
350 p = p->nextp; in rdsv3_if_lookup_by_addr()
[all …]
/illumos-gate/usr/src/uts/common/io/ib/clients/rds/
H A Drdsib_sc.c71 struct rds_node_record_s *nextp; member
131 p = p->nextp; in rds_path_up()
140 p->nextp = NULL; in rds_path_up()
158 p->nextp = rds_pathmap; in rds_path_up()
198 p = p->nextp; in rds_path_down()
244 p->prevp->nextp = p->nextp; in rds_path_down()
248 rds_pathmap = p->nextp; in rds_path_down()
251 if (p->nextp) { in rds_path_down()
252 p->nextp->prevp = p->prevp; in rds_path_down()
271 p = p->nextp; in rds_sc_path_lookup()
[all …]
/illumos-gate/usr/src/cmd/ldmad/
H A Dmdesc_mutable.h62 (_itv) = (_itv)->nextp)
75 (_chain).endp->nextp = (_nodep); \
78 (_nodep)->nextp = NULL; \
93 md_string_t *nextp; member
102 md_data_block_t *nextp; member
124 md_prop_t *nextp; member
130 md_node_t *nextp; member
H A Dmdesc_lib.c288 tmp_nodep = nodep->nextp; in md_destroy()
310 tmp_propp = propp->nextp; in md_free_node()
353 mdp->string_list.startp = msp->nextp; in md_free_string()
367 mdp->data_block_list.startp = mdbp->nextp; in md_free_data_block()
447 msp = msp->nextp) { in md_gen_bin()
459 mdbp = mdbp->nextp) { in md_gen_bin()
474 nodep = nodep->nextp) { in md_gen_bin()
513 nodep = nodep->nextp) { in md_gen_bin()
520 propp = propp->nextp) { in md_gen_bin()
544 msp = msp->nextp) { in md_gen_bin()
[all …]
/illumos-gate/usr/src/cmd/enhance/
H A Denhance.c565 char *nextp; /* A pointer to the next unprocessed character */ in GL_FD_EVENT_FN() local
610 nextp = crptr && crptr < nlptr ? crptr : nlptr; in GL_FD_EVENT_FN()
612 nextp = crptr; in GL_FD_EVENT_FN()
614 nextp = rbuff + len; in GL_FD_EVENT_FN()
616 nextp = NULL; in GL_FD_EVENT_FN()
621 if(nextp) { in GL_FD_EVENT_FN()
633 (void) pty_write_to_fd(STDOUT_FILENO, rbuff, nextp - rbuff); in GL_FD_EVENT_FN()
641 while(*nextp=='\n' || *nextp=='\r') in GL_FD_EVENT_FN()
642 nextp++; in GL_FD_EVENT_FN()
647 memmove(rbuff, nextp, len - (nextp - rbuff) + 1); in GL_FD_EVENT_FN()
/illumos-gate/usr/src/cmd/write/
H A Dwrite.c585 char *cp, *nextp, *lastp; local
604 nextp = buf;
606 while (nextp < lastp) {
609 if ((n = mbtowc((wchar_t *)0, nextp, n)) <= 0) {
614 nextp += n;
617 delta_size = lastp - nextp;
619 if (nextp[delta_size - 1] != '\n') {
621 memcpy(delta_pool, nextp, delta_size);
623 nextp = lastp;
625 *nextp = '\0';
[all …]
/illumos-gate/usr/src/lib/libdiskmgt/common/
H A Dcache.c163 slice_t *nextp; in cache_free_alias() local
165 nextp = dp->next; in cache_free_alias()
168 dp = nextp; in cache_free_alias()
174 slice_t *nextp; in cache_free_alias() local
176 nextp = dp->next; in cache_free_alias()
179 dp = nextp; in cache_free_alias()
269 alias_t *nextp; in cache_free_disk() local
271 nextp = ap->next; in cache_free_disk()
273 ap = nextp; in cache_free_disk()
878 disk_t *nextp; in rewalk_tree() local
[all …]
H A Dinuse_lu.c154 struct lu_list *nextp; in free_lu() local
157 nextp = listp->next; in free_lu()
161 listp = nextp; in free_lu()
H A Dinuse_vxvm.c242 struct vxvm_list *nextp; in free_vxvm() local
245 nextp = listp->next; in free_vxvm()
248 listp = nextp; in free_vxvm()
H A Dinuse_fs.c339 struct vfstab_list *nextp; in free_vfstab() local
342 nextp = listp->next; in free_vfstab()
346 listp = nextp; in free_vfstab()
/illumos-gate/usr/src/lib/libtecla/common/
H A Dexpand.c126 int xplicit, const char *nextp);
516 for(nextp=pattern; *nextp && strncmp(nextp, FS_DIR_SEP, FS_DIR_SEP_LEN) != 0; in ef_match_relative_pathname()
517 nextp++) in ef_match_relative_pathname()
541 if(*nextp == '\0') { in ef_match_relative_pathname()
551 strncmp(nextp, FS_DIR_SEP, FS_DIR_SEP_LEN) == 0) { in ef_match_relative_pathname()
556 if(nextp[FS_DIR_SEP_LEN] == '\0') { in ef_match_relative_pathname()
566 nextp+FS_DIR_SEP_LEN, 1)) { in ef_match_relative_pathname()
809 int xplicit, const char *nextp) in ef_string_matches_pattern() argument
816 while(pptr < nextp) { in ef_string_matches_pattern()
838 if(pptr >= nextp) in ef_string_matches_pattern()
[all …]
/illumos-gate/usr/src/cmd/hal/utils/
H A Dcdutils.c285 intlist_t **nextp; in get_write_speeds() local
302 for (nextp = speeds; *nextp != NULL; nextp = &((*nextp)->next)) { in get_write_speeds()
303 if (current->val == (*nextp)->val) { in get_write_speeds()
306 } else if (current->val > (*nextp)->val) { in get_write_speeds()
311 current->next = *nextp; in get_write_speeds()
312 *nextp = current; in get_write_speeds()
/illumos-gate/usr/src/uts/common/crypto/api/
H A Dkcf_cbufcall.c161 kcf_cbuf_elem_t *nextp = cbufp->kc_next; in crypto_unbufcall() local
164 if (nextp != NULL) in crypto_unbufcall()
165 nextp->kc_prev = prevp; in crypto_unbufcall()
170 prevp->kc_next = nextp; in crypto_unbufcall()
172 cbuf_list_head = nextp; in crypto_unbufcall()
/illumos-gate/usr/src/uts/common/io/1394/
H A Ds1394_fa.c128 s1394_target_t *curp, **nextp, *prevp = NULL; in s1394_fa_list_remove() local
130 for (nextp = &fal->fal_head; (curp = *nextp) != NULL; ) { in s1394_fa_list_remove()
132 *nextp = target->target_fa[type].fat_next; in s1394_fa_list_remove()
139 nextp = &curp->target_fa[type].fat_next; in s1394_fa_list_remove()
/illumos-gate/usr/src/cmd/fm/modules/common/disk-monitor/
H A Ddiskmon_conf.c212 indicator_t *nextp; in ind_free() local
215 nextp = indp->next; in ind_free()
221 indp = nextp; in ind_free()
259 nextp = lap->next; in indaction_free()
263 lap = nextp; in indaction_free()
298 indrule_t *nextp; in indrule_free() local
302 nextp = lrp->next; in indrule_free()
306 lrp = nextp; in indrule_free()
370 diskmon_t *nextp; in diskmon_free() local
374 nextp = dmp->next; in diskmon_free()
[all …]
/illumos-gate/usr/src/lib/libnwam/common/
H A Dlibnwam_files.c64 nwam_tokenize_by_unescaped_delim(char *in, char delim, char **nextp) in nwam_tokenize_by_unescaped_delim() argument
74 for (*nextp = in; (*nextp - in) < strlen(in); (*nextp)++) { in nwam_tokenize_by_unescaped_delim()
75 if ((*nextp)[0] == NWAM_FILE_PROP_ESCAPE) { in nwam_tokenize_by_unescaped_delim()
77 } else if (!escaped && (*nextp)[0] == delim) { in nwam_tokenize_by_unescaped_delim()
79 (*nextp)[0] = '\0'; in nwam_tokenize_by_unescaped_delim()
84 (*nextp)++; in nwam_tokenize_by_unescaped_delim()
85 *nextp = ((*nextp - in) < totlen) ? (*nextp) : NULL; in nwam_tokenize_by_unescaped_delim()
91 *nextp = NULL; in nwam_tokenize_by_unescaped_delim()
/illumos-gate/usr/src/cmd/fs.d/nfs/nfslog/
H A Dbuffer_list.c263 struct buffer_ent *bep, *nextp; in free_buffer_list() local
265 for (bep = *be_listpp; bep != NULL; bep = nextp) { in free_buffer_list()
266 nextp = bep->be_next; in free_buffer_list()
288 struct sharepnt_ent *nextp; in free_sharepnt_list() local
290 for (; sep_listp != NULL; sep_listp = nextp) { in free_sharepnt_list()
291 nextp = sep_listp->se_next; in free_sharepnt_list()
/illumos-gate/usr/src/lib/libpkg/common/
H A Ddstream.c147 char *nextp; in ds_gets() local
149 nextp = strchr(pds_header, '\n'); in ds_gets()
150 if (nextp == NULL) { in ds_gets()
160 nextp = strchr(pds_header, '\n'); in ds_gets()
161 if (nextp == NULL) in ds_gets()
163 *nextp = '\0'; in ds_gets()
168 pds_header = nextp + 1; in ds_gets()
171 *nextp = '\0'; in ds_gets()
176 pds_header = nextp + 1; in ds_gets()
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dgetspent_r.c113 getfield(constp *nextp, constp limit, int uns, void *valp) in getfield() argument
115 constp p = *nextp; in getfield()
125 *nextp = p; in getfield()
161 *nextp = p; in getfield()
/illumos-gate/usr/src/uts/sun4v/io/
H A Dvsw_switching.c1563 mcst_p->nextp = NULL; in vsw_add_rem_mcst()
1672 ment->nextp = NULL; in vsw_add_mcst()
1706 tmp_ent = tmp_ent->nextp; in vsw_add_mcst()
1718 new_ent->nextp = NULL; in vsw_add_mcst()
1722 tmp_ent = tmp_ent->nextp; in vsw_add_mcst()
1724 tmp_ent->nextp = new_ent; in vsw_add_mcst()
1782 ment = curr_p->nextp; in vsw_del_mcst()
1796 prev_p->nextp = curr_p->nextp; in vsw_del_mcst()
1802 curr_p = curr_p->nextp; in vsw_del_mcst()
1833 port->mcap = mcap->nextp; in vsw_del_mcst_port()
[all …]
/illumos-gate/usr/src/uts/common/io/1394/targets/av1394/
H A Dav1394_isoch_recv.c385 ixl1394_command_t *nextp; in av1394_ir_build_ixl() local
394 nextp = (ixl1394_command_t *) in av1394_ir_build_ixl()
397 nextp = (ixl1394_command_t *) in av1394_ir_build_ixl()
404 end - off, nextp); in av1394_ir_build_ixl()
430 tail, nextp); in av1394_ir_build_ixl()
477 av1394_ir_ixl_label_init(av1394_ir_ixl_data_t *dp, ixl1394_command_t *nextp) in av1394_ir_ixl_label_init() argument
480 dp->rd_label.next_ixlp = nextp; in av1394_ir_ixl_label_init()
486 ixl1394_command_t *nextp) in av1394_ir_ixl_buf_init() argument
493 buf->next_ixlp = nextp; in av1394_ir_ixl_buf_init()
/illumos-gate/usr/src/common/exacct/
H A Dexacct_core.c418 ea_object_t **nextp; in ea_attach_to_group() local
430 for (nextp = &group->eo_group.eg_objs; *nextp != NULL; in ea_attach_to_group()
431 nextp = &(*nextp)->eo_next) in ea_attach_to_group()
434 ea_attach_object(nextp, obj); in ea_attach_to_group()
/illumos-gate/usr/src/lib/libnsl/rpc/
H A Drpcb_st_xdr.c150 rpcbs_addrlist_ptr *nextp; in xdr_rpcbs_addrlist_ptr() local
162 nextp = &(*objp)->next; in xdr_rpcbs_addrlist_ptr()
169 objp = (xdrs->x_op == XDR_FREE) ? nextp : &(*objp)->next; in xdr_rpcbs_addrlist_ptr()
/illumos-gate/usr/src/lib/passwdutil/
H A Dswitch_utils.c445 getfield(nextp, limit, uns, valp) in getfield() argument
446 constp *nextp; in getfield()
451 constp p = *nextp;
463 *nextp = p;
499 *nextp = p;

1234