Searched refs:newp (Results 1 - 25 of 33) sorted by relevance

12

/osnet-11/usr/src/lib/libfsmgt/common/
H A Dfs_shares.c82 fs_sharelist_t *newp; local
96 newp = create_sharelist_entry(sharetab_entry, errp);
97 if (newp == NULL) {
108 headp = newp;
109 tailp = newp;
111 tailp->next = newp;
112 tailp = newp;
282 fs_sharelist_t *newp; local
284 newp = (fs_sharelist_t *)calloc((size_t)1,
287 if (newp
[all...]
H A Dfs_mounts.c162 fs_mntlist_t *newp; local
189 newp = create_mntlist_entry(mnttab_entry);
191 if (newp == NULL) {
202 headp = newp;
203 tailp = newp;
205 tailp->next = newp;
206 tailp = newp;
273 fs_mntlist_t *newp; local
295 newp = create_mntlist_entry(mnttab_entry);
297 if (newp
332 fs_mntlist_t *newp; local
534 fs_mntlist_t *newp; local
594 fs_mntlist_t *newp; local
[all...]
H A Dfs_mount_defaults.c97 fs_mntdefaults_t *newp; local
126 newp = create_mntdefaults_entry(vfstab_entry, errp);
127 if (newp == NULL) {
139 headp = newp;
140 tailp = newp;
142 tailp->next = newp;
143 tailp = newp;
161 fs_mntdefaults_t *newp; local
176 newp = create_mntdefaults_entry(vfstab_entry, errp);
178 if (newp
211 fs_add_mount_default(fs_mntdefaults_t *newp, int *errp) argument
484 fs_mntdefaults_t *newp; local
[all...]
/osnet-11/usr/src/cmd/sendmail/db/db/
H A Ddb_salloc.c155 struct __data *elp, *lastp, *newp; local
168 newp = (struct __data *)((u_int8_t *)ptr - sizeof(size_t));
169 free_size = newp->len;
201 newp->len += elp->len + sizeof(size_t);
204 SH_LIST_INSERT_AFTER(lastp, newp, links, __data);
206 SH_LIST_INSERT_HEAD(hp, newp, links, __data);
212 lastp->len + sizeof(size_t) == (u_int8_t *)newp) {
213 lastp->len += newp->len + sizeof(size_t);
221 SH_LIST_REMOVE(newp, links, __data);
227 SH_LIST_INSERT_HEAD(hp, newp, link
[all...]
/osnet-11/usr/src/lib/libdhcpsvc/modules/templates/
H A Ddhcptab.c105 * Atomically modify the record ``origp'' with the record ``newp'' in the
106 * dhcptab container referred to by the handle. ``newp's'' signature will
109 * or ``newp'' would overwrite an existing record, DSVC_COLLISION is
113 modify_dt(void *handle, const dt_rec_t *origp, dt_rec_t *newp) argument
H A Ddhcp_network.c108 * Atomically modify the record ``origp'' with the record ``newp'' in the dhcp
109 * network container referred to by the handle. ``newp's'' signature will
112 * or ``newp'' would overwrite an preexisting record, DSVC_COLLISION is
116 modify_dn(void *handle, const dn_rec_t *origp, dn_rec_t *newp) argument
/osnet-11/usr/src/lib/efcode/engine/
H A Dinit.c67 void *newp; local
69 if ((newp = safe_malloc(n, f, l)) == NULL) {
76 memcpy(newp, p, n);
79 return (newp);
/osnet-11/usr/src/lib/libdhcpsvc/modules/files/
H A Ddhcptab.c309 * `origp' is NULL, then act like add_dt(); if `newp' is NULL, then
313 update_dt(const dt_handle_t *dhp, const dt_rec_t *origp, dt_rec_t *newp) argument
353 if (origp != NULL && newp != NULL) {
354 if ((origp->dt_type != newp->dt_type ||
355 strcmp(origp->dt_key, newp->dt_key) != 0)) {
356 retval = find_dt(fp, 0, query, 1, newp, NULL, &found);
370 if (newp != NULL && origp == NULL) {
371 retval = find_dt(fp, 0, query, 1, newp, NULL, &found);
398 if (newp != NULL || origp->dt_sig != 0) {
443 if (newp !
492 modify_dt(void *handle, const dt_rec_t *origp, dt_rec_t *newp) argument
[all...]
H A Ddhcp_network.c450 * `origp' is NULL, then act like add_dn(); if `newp' is NULL, then
454 update_dn(const dn_handle_t *dhp, const dn_rec_t *origp, dn_rec_t *newp) argument
493 if (origp != NULL && newp != NULL) {
494 if (origp->dn_cip.s_addr != newp->dn_cip.s_addr) {
495 retval = find_dn(fd, 0, query, 1, newp, NULL, &found);
509 if (newp != NULL && origp == NULL) {
510 retval = find_dn(fd, 0, query, 1, newp, NULL, &found);
536 if (newp != NULL || origp->dn_sig != 0) {
580 if (newp != NULL) {
582 newp
618 modify_dn(void *handle, const dn_rec_t *origp, dn_rec_t *newp) argument
[all...]
/osnet-11/usr/src/lib/libdhcpsvc/modules/files0/
H A Ddhcptab.c274 * `origp' is NULL, then act like add_dt(); if `newp' is NULL, then
278 update_dt(const dt_handle_t *dhp, const dt_rec_t *origp, dt_rec_t *newp) argument
318 if (newp != NULL) {
319 if (origp == NULL || origp->dt_type != newp->dt_type ||
320 strcmp(origp->dt_key, newp->dt_key) != 0) {
321 retval = find_dt(fp, 0, query, 1, newp, NULL, &found);
384 if (newp != NULL) {
385 retval = write_rec(newfd, newp, recoff + st.st_size - recnext);
423 modify_dt(void *handle, const dt_rec_t *origp, dt_rec_t *newp) argument
425 return (update_dt((dt_handle_t *)handle, origp, newp));
[all...]
H A Ddhcp_network.c379 * is NULL, then act like add_dn(); if `newp' is NULL, then act like
383 update_dn(const dn_handle_t *dhp, const dn_rec_t *origp, dn_rec_t *newp) argument
422 if (newp != NULL) {
424 origp->dn_cip.s_addr != newp->dn_cip.s_addr) {
425 retval = find_dn(fp, 0, query, 1, newp, NULL, &found);
488 if (newp != NULL) {
489 retval = write_rec(newfd, newp, recoff + st.st_size - recnext);
521 modify_dn(void *handle, const dn_rec_t *origp, dn_rec_t *newp) argument
523 return (update_dn((dn_handle_t *)handle, origp, newp));
/osnet-11/usr/src/lib/libshell/common/bltins/
H A Dhist.c288 register char *newp=replace; local
293 while(*++newp != '='); /* skip to '=' */
302 *newp++ = 0;
303 if((sp=sh_substitute(string,replace,newp))==0)
305 *(newp-1) = '=';
/osnet-11/usr/src/lib/libdhcpsvc/modules/binfiles/
H A Ddhcptab.c426 modify_dt(void *handle, const dt_rec_t *origp, dt_rec_t *newp) argument
454 if (origp->dt_type != newp->dt_type ||
455 strcmp(origp->dt_key, newp->dt_key) != 0) {
456 retval = find_dt(fd, 0, query, 1, newp, NULL, &found);
517 newp->dt_sig = origp->dt_sig + 1;
518 rec = alloca(sizeof (dt_filerec_t) + strlen(newp->dt_value));
519 rec->rec_dt = *newp;
520 rec->rec_dtvalsize = strlen(newp->dt_value) + 1;
521 (void) strcpy(rec->rec_dtval, newp->dt_value);
/osnet-11/usr/src/lib/libdhcpsvc/private/
H A Dprivate.c608 * Add the record newp to the DHCP container hand. newp's update signature
610 * responsible for freeing newp if it was dynamically allocated.
613 add_dd_entry(dsvc_handle_t hand, void *newp) argument
621 if (!validate_dd_entry(hand, newp, B_FALSE))
631 error = hand->d_api.add_dt(hand->d_hand, newp);
633 error = hand->d_api.add_dn(hand->d_hand, newp);
642 * Modify the record origp with the record newp in the DHCP container hand.
643 * newp's update signature will be updated by the public layer module doing
644 * the update. Caller is responsible for freeing origp and/or newp i
648 modify_dd_entry(dsvc_handle_t hand, const void *origp, void *newp) argument
[all...]
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/support/
H A Dplugins.c720 void **newp = NULL; local
723 newp = realloc (p, ((count + 1) * sizeof (*p))); /* +1 for NULL */
724 if (newp == NULL) {
727 p = newp;
779 void (**newp)() = NULL;
782 newp = realloc (p, ((count + 1) * sizeof (*p))); /* +1 for NULL */
783 if (newp == NULL) {
786 p = newp;
/osnet-11/usr/src/lib/liblldp/common/
H A Dliblldp.c106 void *newp; local
109 if ((newp = realloc(*rbufp, darg.rsize)) == NULL) {
112 *rbufp = newp;
/osnet-11/usr/src/lib/libidmap/common/
H A Ddirectory_error.c337 char *newp; local
347 n = strtol(p, &newp, 10);
348 p = newp;
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ext/SDBM_File/sdbm/
H A Dsdbm.c285 long newp; local
303 newp = (hash & db->hmask) | (db->hmask + 1);
321 while (OFF_PAG(newp) > oldtail) {
334 db->pagbno = newp;
337 else if (lseek(db->pagf, OFF_PAG(newp), SEEK_SET) < 0
/osnet-11/usr/src/lib/libdiskmgt/common/
H A Dcache.c70 static int match_disk(disk_t *oldp, disk_t *newp);
823 match_disk(disk_t *oldp, disk_t *newp) argument
826 if (newp->devid != NULL &&
827 devid_compare(oldp->devid, newp->devid) == 0) {
833 if (newp->devid == NULL) {
835 if (match_aliases(oldp, newp)) {
/osnet-11/usr/src/lib/libsldap/common/
H A Dns_mapping.c173 ns_hash_t *idx, *newp; local
186 newp = (ns_hash_t *)malloc(sizeof (ns_hash_t));
187 if (newp == NULL)
189 newp->h_type = type;
190 newp->h_map = map;
191 newp->h_next = idx;
192 config->hashTbl[hash] = newp;
193 newp->h_llnext = config->llHead;
194 config->llHead = newp;
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/profile/
H A Dprof_parse.c288 char* newp; local
295 newp = p + strlen (p) + 1;
303 p = newp;
/osnet-11/usr/src/grub/grub2/grub-core/gnulib/
H A Dfnmatch_loop.c1072 struct patternlist *newp; \
1086 newp = (struct patternlist *) alloca (newpsize); \
1087 *((CHAR *) MEMPCPY (newp->str, startp, p - startp)) = L_('\0'); \
1088 newp->next = NULL; \
1089 *lastp = newp; \
1090 lastp = &newp->next
/osnet-11/usr/src/lib/libast/common/misc/
H A Dfts.c700 register char* newp; local
709 if (!(newp = newof(0, char, fts->homesize, 0)))
716 fts->home = newp;
717 memcpy(newp, old, n_old);
719 fts->endbuf = newp + fts->homesize - 4;
721 fts->path = newp + (fts->path - old);
723 fts->base = newp + (fts->base - old);
/osnet-11/usr/src/lib/libshell/common/edit/
H A Dhistory.c464 off_t oldp,newp; local
504 newp = hist_seek(hist_old,++n);
519 oldp = newp;
520 newp = hist_seek(hist_old,++n);
521 if(newp <=oldp)
/osnet-11/usr/src/lib/libprtdiag/common/
H A Dpdevinfo_funcs.c136 char *tempp, *newp; local
211 newp = new->value.opp.oprom_array;
214 *newp++ = *tempp++;

Completed in 62 milliseconds

12