Searched refs:new (Results 151 - 175 of 655) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/lib/libprtdiag/common/
H A Dpdevinfo_funcs.c137 Prop *new; local
159 /* Now copy over temp's data to new. */
160 if ((new = malloc(sizeof (Prop))) == NULL) {
170 new->name.opp.oprom_size = temp->name.opp.oprom_size;
172 if ((new->name.opp.oprom_array =
173 malloc(new->name.opp.oprom_size)) == NULL) {
177 (void) strcpy(new->name.opp.oprom_array,
180 new->name.opp.holds_array = 1;
190 new->value.opp.oprom_size = temp->value.opp.oprom_size;
194 new
[all...]
/illumos-gate/usr/src/lib/nsswitch/ad/common/
H A Dad_common.c76 adutils_ad_t *new; local
81 if (adutils_ad_alloc(&new, props->domain_name,
85 if (adutils_add_ds(new,
88 adutils_ad_free(&new);
95 *ad = new;
101 update_dirs(ad_disc_ds_t **value, ad_disc_ds_t **new) argument
103 if (*value == *new)
106 if (*value != NULL && *new != NULL &&
107 ad_disc_compare_ds(*value, *new) == 0) {
108 free(*new);
[all...]
/illumos-gate/usr/src/uts/common/os/
H A Dlabelsys.c179 * We assert rhc_invalid here to make sure that no new thread could
322 * Load a remote host entry into kernel cache. Create a new one if a matching
333 tnrh_hash_add(tsol_tnrhc_t *new, short prefix) argument
342 if (new->rhc_host.ta_family == AF_INET) {
351 TSOL_ADDR_HASH(new->rhc_host.ta_addr_v4.s_addr &
358 new->rhc_host.ta_addr_v4.s_addr) & tmpmask) ==
362 } else if (new->rhc_host.ta_family == AF_INET6) {
371 TSOL_ADDR_MASK_HASH_V6(new->rhc_host.ta_addr_v6,
378 new->rhc_host.ta_addr_v6))
396 TNRHC_HOLD(new);
413 tsol_tnrhc_t *new; local
1044 tsol_tnrhc_t *new; local
1233 tsol_tnrhc_t *rh, *new; local
[all...]
H A Dmem_cage.c416 struct kcage_glist *new, **lpp; local
431 new = kcage_glist_alloc();
432 if (new == NULL) {
436 new->base = base;
437 new->lim = lim;
438 new->decr = (d == KCAGE_DOWN);
439 if (new->decr != 0)
440 new->curr = new->lim;
442 new
583 struct kcage_glist *new; local
633 struct kcage_glist *new; local
[all...]
/illumos-gate/usr/src/uts/common/contract/
H A Dprocess.c58 * The process contract adds two new concepts to the Solaris process
102 * new process to an existing contract or to a newly created one.
148 ctmpl_process_t *new; local
151 new = kmem_alloc(sizeof (ctmpl_process_t), KM_SLEEP);
153 ctmpl_copy(&new->ctp_ctmpl, template);
154 new->ctp_ctmpl.ctmpl_data = new;
156 new->ctp_subsume = old->ctp_subsume;
157 if (new->ctp_subsume)
158 contract_hold(new
440 ctmpl_process_t *new; local
[all...]
/illumos-gate/usr/src/lib/libnisdb/
H A Dldap_map.c148 __nis_obj_attr_t *new; local
154 new = am(myself, sizeof (*new));
155 if (new == 0)
158 new->zo_owner = sdup(myself, T, old->zo_owner);
159 if (new->zo_owner == 0 && old->zo_owner != 0)
162 new->zo_group = sdup(myself, T, old->zo_group);
163 if (new->zo_group == 0 && old->zo_group != 0)
166 new->zo_domain = sdup(myself, T, old->zo_domain);
167 if (new
601 map1qToLDAP(__nis_table_mapping_t *t, db_query *old, db_query *new, __nis_rule_value_t *rvIn, __nis_rule_value_t **rvOutP, char **oldDnP) argument
818 mapToLDAP(__nis_table_mapping_t *tm, int nq, db_query **old, db_query **new, __nis_rule_value_t *rvIn, int firstOnly, char *dbId) argument
[all...]
/illumos-gate/usr/src/lib/libc/port/stdio/
H A Dpopen.c257 _insert_nolock(pid_t pid, int fd, node_t *new) argument
273 lfree(new, sizeof (node_t));
279 new->pid = pid;
280 new->fd = fd;
281 new->next = NULL;
284 head = new;
286 prev->next = new;
/illumos-gate/usr/src/cmd/sgs/ar/common/
H A Dmain.c76 char *new = NULL; local
111 new = (char *)malloc(strlen(argv[1]) + 2);
112 if (new == NULL) {
118 (void) strcpy(new, MSG_ORIG(MSG_STR_HYPHEN));
119 (void) strcat(new, argv[1]);
120 argv[1] = new;
165 free(new);
/illumos-gate/usr/src/cmd/backup/dump/
H A Ddumpfstab.c169 struct mntent *new; local
171 new = (struct mntent *)xmalloc(sizeof (*mnt));
172 new->mnt_fsname = mntstrdup(mnt->mnt_fsname); /* mnt_special */
173 new->mnt_dir = mntstrdup(mnt->mnt_dir); /* mnt_mountp */
174 new->mnt_type = mntstrdup(mnt->mnt_type); /* mnt_fstype */
175 new->mnt_opts = mntstrdup(mnt->mnt_opts); /* mnt_mntopts */
176 return (new);
/illumos-gate/usr/src/cmd/svr4pkg/installf/
H A Dinstallf.c69 struct cfextra *new; local
78 extlist[0] = new = calloc(1, sizeof (struct cfextra));
83 if (validate(new, argc, argv))
102 new = calloc(1, sizeof (struct cfextra));
103 if (new == NULL) {
110 if (validate(new, argc, argv))
113 extlist[eptnum] = new;
/illumos-gate/usr/src/uts/common/cpr/
H A Dcpr_stat.c39 struct cpr_event *cpr_find_event(char *name, int new);
217 int new = ((longlong_t)((longlong_t) local
221 new/100, (new%100)/10, new%10,
227 cpr_find_event(char *name, int new) argument
239 if (new == NULL)
/illumos-gate/usr/src/uts/intel/io/pci/
H A Dpci_memlist.c190 struct memlist *new; local
192 new = memlist_alloc();
193 new->ml_address = rem_end + 1;
194 new->ml_size = chunk_end - new->ml_address + 1;
196 new->ml_next = chunk->ml_next;
197 chunk->ml_next = new;
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/
H A Dresult.c497 LDAPMessage *new, *l, *prev, *chainprev, *tmp; local
594 * we're chasing one or more new refs...
698 /* make a new ldap message */
699 if ( (new = (LDAPMessage*)NSLDAPI_CALLOC( 1, sizeof(struct ldapmsg) ))
704 new->lm_msgid = (int)id;
705 new->lm_msgtype = tag;
706 new->lm_ber = ber;
715 nsldapi_add_result_to_cache( ld, new );
719 if ( new->lm_msgtype == LDAP_RES_SEARCH_RESULT ) {
727 || (new
[all...]
/illumos-gate/usr/src/cmd/vi/misc/
H A Dxstr.c311 hashit(str, new)
313 int new;
330 hp->hnew = new;
340 register int old = 0, new = 0; local
345 new++;
348 if (new == 0 && old != 0)
368 found(new, off, str)
369 int new;
376 if (!new)
379 fprintf(stderr, "new a
[all...]
/illumos-gate/usr/src/uts/common/io/lvm/md/
H A Dmd_rename.c267 md_rendelta_t *new; local
269 new = (md_rendelta_t *)kmem_alloc(sizeof (md_rendelta_t), KM_SLEEP);
271 new->beginning = DELTA_BEG;
272 new->dev = dev;
273 new->new_role = new_role;
274 new->old_role = old_role;
275 new->next = NULL;
276 new->prev = prev;
277 new->unp = unp;
278 new
365 md_rendelta_t *new; local
438 md_rendelta_t *new, *p; local
[all...]
/illumos-gate/usr/src/lib/libnsl/nss/
H A Dinet_pton.c95 uint_t new = *tp * 10 + (pch - digits); local
97 if (new > 255)
99 *tp = new;
/illumos-gate/usr/src/lib/libresolv2/common/irs/
H A Dgen.c297 struct irs_rule **rules, *last, *tmp, *new; local
314 new = memget(sizeof *new);
315 if (new == NULL)
317 memset(new, 0x5e, sizeof *new);
318 new->next = NULL;
320 new->inst = &irs->accessors[acc];
322 new->flags = 0;
339 new
[all...]
/illumos-gate/usr/src/lib/libbc/libc/gen/sys5/
H A Dsleep.c35 struct itimerval new, old, zero; local
36 struct itimerval *newp = &new;
84 * I use reset instead of what new points to because the
97 newp = &new;
/illumos-gate/usr/src/lib/libbc/libc/sys/common/sparc/
H A Dbrk.s37 add %o0, (ALIGNSIZE-1), %o0 ! round up new break to a
39 mov %o0, %o2 ! save new break
48 sethi %hi(.curbrk), %g1 ! save new break
/illumos-gate/usr/src/cmd/users/
H A Dusers.c417 struct grpmember *new; /* Member being added */ local
419 new = (struct grpmember *)allocblk(sizeof (struct grpmember));
420 new->membername = strcpy(allocstr((unsigned int)strlen(p)+1), p);
421 new->next = membershead;
422 membershead = new;
537 struct display *new; /* Display item being added */ local
563 new = (struct display *)allocblk(sizeof (struct display));
564 new->loginID =
568 new->freefield =
573 new
[all...]
/illumos-gate/usr/src/cmd/mail/
H A Dcopyback.c36 * the mail file. First copy any new mail from
45 int new = 0; local
58 * Has new mail arrived?
66 * Append new mail assume only one new letter
81 new = 1;
173 if (new && !flgf) {
/illumos-gate/usr/src/uts/common/inet/kssl/
H A Dksslfilter.c76 ksslf_t *new; local
90 /* Allocate the SSL context for the new connection */
91 new = kmem_zalloc(sizeof (ksslf_t), KM_NOSLEEP);
92 if (new == NULL)
100 &new->ksslf_ctx) != KSSL_STS_OK)
103 new->ksslf_pending = B_TRUE;
104 new->ksslf_inhandshake = B_TRUE;
105 ASSERT(laddrlen <= sizeof (new->ksslf_laddr));
106 new->ksslf_laddrlen = laddrlen;
107 bcopy(laddr, &new
[all...]
/illumos-gate/usr/src/stand/lib/sa/sparc/
H A D_setjmp.s126 ld [%i0 + SPVAL], %fp ! build new stack frame
127 sub %fp, -SA(MINFRAME), %sp ! establish new save area
128 ld [%i0 + PCVAL], %i7 ! get new return pc
/illumos-gate/usr/src/cmd/filesync/
H A Dbase.c112 /* initialize the new base */
172 { struct file *fp, *new; local
186 if (last_list == pp && (new = last_file) != 0) {
188 if (strcmp(name, new->f_name) > 0) {
189 fp = new->f_next;
192 pp = &new->f_next;
199 new = fp;
216 new = fp;
231 new = (struct file *) malloc(sizeof (*new));
[all...]
/illumos-gate/usr/src/common/atomic/i386/
H A Datomic.s81 incb %al / return new value
93 incw %ax / return new value
106 incl %eax / return new value
135 movl %ecx, %edx / return new value
178 decb %al / return new value
190 decw %ax / return new value
203 decl %eax / return new value
233 movl %ecx, %edx / return new value
395 adcl %edx, %ecx / %ecx:%ebx = new value
400 movl %ecx, %edx / return new valu
[all...]

Completed in 91 milliseconds

1234567891011>>