Home
last modified time | relevance | path

Searched refs:new (Results 201 – 225 of 1043) sorted by relevance

12345678910>>...42

/illumos-gate/usr/src/lib/libdtrace/common/
H A Ddt_program.c243 dtrace_actdesc_t *new; in dtrace_stmt_action() local
246 if ((new = dt_alloc(dtp, sizeof (dtrace_actdesc_t))) == NULL) in dtrace_stmt_action()
252 sdp->dtsd_action_last->dtad_next = new; in dtrace_stmt_action()
257 sdp->dtsd_action = new; in dtrace_stmt_action()
263 edp->dted_action = new; in dtrace_stmt_action()
265 ap->dtad_next = new; in dtrace_stmt_action()
268 sdp->dtsd_action_last = new; in dtrace_stmt_action()
269 bzero(new, sizeof (dtrace_actdesc_t)); in dtrace_stmt_action()
270 new->dtad_uarg = (uintptr_t)sdp; in dtrace_stmt_action()
272 return (new); in dtrace_stmt_action()
/illumos-gate/usr/src/cmd/tsol/tnd/
H A Dtnd.c582 struct tnd_tnrhtp_c *new, **old; in nss_get_tp() local
590 if ((new = (struct tnd_tnrhtp_c *) in nss_get_tp()
595 if (*old != new) in nss_get_tp()
596 free(new); in nss_get_tp()
936 struct tnd_tnrhdb_c *new; in rhtable_search_and_update() local
998 if (new == NULL) in rhtable_search_and_update()
1006 tnrh_entire_table[i][hash] = new; in rhtable_search_and_update()
1013 rflag = update_cache_table(ent, new); in rhtable_search_and_update()
1035 struct tnd_tnrhdb_c *new; in rhtable_search_and_update_v6() local
1083 if (new == NULL) in rhtable_search_and_update_v6()
[all …]
/illumos-gate/usr/src/boot/libsa/
H A Dzalloc.c131 MemNode *new; in znalloc() local
133 new = (MemNode *)aligned; in znalloc()
134 new->mr_Next = mn->mr_Next; in znalloc()
135 new->mr_Bytes = mn->mr_Bytes - extra; in znalloc()
139 mn->mr_Next = new; in znalloc()
/illumos-gate/usr/src/boot/common/linenoise/
H A Dlinenoise.c319 char *new = malloc(ab->len+len); in abAppend() local
321 if (new == NULL) return; in abAppend()
322 memcpy(new, ab->b, ab->len); in abAppend()
323 memcpy(new+ab->len,s,len); in abAppend()
325 ab->b = new; in abAppend()
830 char **new; in linenoiseHistorySetMaxLen() local
836 new = malloc(sizeof(char*)*len); in linenoiseHistorySetMaxLen()
837 if (new == NULL) return 0; in linenoiseHistorySetMaxLen()
846 memset(new,0,sizeof(char*)*len); in linenoiseHistorySetMaxLen()
847 memcpy(new,history+(history_len-tocopy), sizeof(char*)*tocopy); in linenoiseHistorySetMaxLen()
[all …]
/illumos-gate/usr/src/lib/libc/sparcv9/fp/
H A Dfpsetmask.S51 and %o1, %o4, %o1 ! generate new fsr value
54 st %o1, [%sp+STACK_BIAS+ARGPUSH] ! move new fsr value to memory
55 ld [%sp+STACK_BIAS+ARGPUSH], %fsr ! load fsr with new value
H A Dfpsetsticky.S42 and %o1, %o4, %o1 ! generate new fsr value
45 st %o1, [%sp+STACK_BIAS+ARGPUSH] ! move new fsr value to memory
46 ld [%sp+STACK_BIAS+ARGPUSH], %fsr ! load fsr with new value
/illumos-gate/usr/src/uts/common/fs/dev/
H A Dsdev_ncache.c771 lp = sdev_nc_findpath(ncl, new->ncn_name); in sdev_nc_insertnode()
776 new->ncn_name, curproc->p_user.u_comm, in sdev_nc_insertnode()
781 new->ncn_name, curproc->p_user.u_comm, in sdev_nc_insertnode()
785 sdev_nc_free_unlinked_node(new); in sdev_nc_insertnode()
788 list_insert_tail(&ncl->ncl_list, new); in sdev_nc_insertnode()
793 if ((new->ncn_flags & NCN_SRC_STORE) == 0) { in sdev_nc_insertnode()
795 new->ncn_name, curproc->p_user.u_comm)); in sdev_nc_insertnode()
799 new->ncn_name, in sdev_nc_insertnode()
806 lp = new; in sdev_nc_insertnode()
811 lp->ncn_flags |= new->ncn_flags; in sdev_nc_insertnode()
[all …]
/illumos-gate/usr/src/cmd/audio/audiotest/
H A Dwavedata.c166 int pred, new, error_delta, i_delta; in uncompress_wave() local
178 new = pred + (delta[i] * i_delta); in uncompress_wave()
179 OUT_SAMPLE(new); in uncompress_wave()
187 samp1[i] = new; in uncompress_wave()
/illumos-gate/usr/src/cmd/csh/
H A Dsh.lex.c124 new->word = 0; in lex()
125 new->prev = wdp; in lex()
126 new->next = hp; in lex()
127 wdp->next = new; in lex()
128 wdp = new; in lex()
169 new->prev = wdp; in copylex()
170 new->next = hp; in copylex()
171 wdp->next = new; in copylex()
172 wdp = new; in copylex()
745 new->next = hp; in dosub()
[all …]
/illumos-gate/usr/src/cmd/powertop/common/
H A Ddisplay.c330 sb_slot_t *new, *n; in pt_display_mod_status_bar() local
379 if ((new = calloc(1, sizeof (sb_slot_t))) == NULL) { in pt_display_mod_status_bar()
382 new->msg = strdup(msg); in pt_display_mod_status_bar()
388 status_bar = new; in pt_display_mod_status_bar()
389 new->prev = NULL; in pt_display_mod_status_bar()
391 new->prev = n; in pt_display_mod_status_bar()
392 n->next = new; in pt_display_mod_status_bar()
394 new->next = NULL; in pt_display_mod_status_bar()
/illumos-gate/usr/src/uts/common/fs/sockfs/
H A Dsockfilter.c1033 sp_filter_t *new, *fil; in sof_entry_proc_sockparams() local
1050 if (new == NULL) in sof_entry_proc_sockparams()
1053 new->spf_filter = ent; in sof_entry_proc_sockparams()
1095 fil, new); in sof_entry_proc_sockparams()
1101 fil, new); in sof_entry_proc_sockparams()
1115 new); in sof_entry_proc_sockparams()
1791 struct sonode *so, *old, *new; in sof_newconn_move() local
1806 new = newpinst->sofi_sonode; in sof_newconn_move()
1809 new->so_acceptq_len++; in sof_newconn_move()
1810 mutex_exit(&new->so_acceptq_lock); in sof_newconn_move()
[all …]
/illumos-gate/usr/src/contrib/ast/src/cmd/INIT/
H A Dhello.c23 int main() { int new = 0; printf("hello world\n"); return new;} in main() local
/illumos-gate/usr/src/lib/
H A DREADME.mapfiles44 - copy interfaces which are part of the standard to a new or
46 3. Introduce a new library
262 introducing a Public interface, a new entry is simply added to the
301 though not all, new interfaces were included in the intervening update
304 Consequently, the new version number for an update cannot be a minor
387 Follow the rules for adding a new interface for the necessary changes
389 new version in libc for the symbol.
417 interface a Public one, the interface must be added as if it were a new
460 6.0 Introducing a new library
467 a new foo library, libfoo, we'd create usr/src/lib/libfoo containing:
[all …]
/illumos-gate/usr/src/uts/common/fs/ufs/
H A Dufs_panic.c436 ufs_failure_t *new = NULL; in ufs_fault_v() local
540 if (new != NULL) { in ufs_fault_v()
541 queue_failure(new); in ufs_fault_v()
629 ufs_failure_t *new; in init_failure() local
637 if (!new) { in init_failure()
673 new->uf_vfsp = ip->i_vfs; in init_failure()
695 mutex_exit(&new->uf_mutex); in init_failure()
703 return (new); in init_failure()
708 if (new) in init_failure()
724 ufs_fix.uq_ufhead = new; in queue_failure()
[all …]
/illumos-gate/usr/src/cmd/svc/configd/
H A Dbackend.c1257 struct sqlite *new; in backend_check_readonly() local
1283 if (new == NULL) { in backend_check_readonly()
1328 be->be_db = new; in backend_check_readonly()
1673 if (new != NULL) { in backend_switch()
1800 char *new; in backend_integrity_callback() local
1812 if (new == NULL) in backend_integrity_callback()
1815 new[0] = 0; in backend_integrity_callback()
2158 be->be_db = new; in backend_tx_end()
2898 char *new; in backend_query_add() local
2907 if (new == NULL) { in backend_query_add()
[all …]
/illumos-gate/usr/src/cmd/acctadm/
H A Dutils.c155 struct stat new; in open_exacct_file() local
163 stat(file, &new) != -1 && stat(name, &cur) != -1 && in open_exacct_file()
164 new.st_dev == cur.st_dev && new.st_ino == cur.st_ino) in open_exacct_file()
/illumos-gate/usr/src/uts/i86pc/vm/
H A Dhtable.c115 x86pte_t new);
1142 x86pte_t newptp = MAKEPTP(new->ht_pfn, new->ht_level); in link_ptp()
1383 new = NULL; in htable_create()
1423 if (new) in htable_create()
1444 ht = new; in htable_create()
2090 n = new; in x86pte_set()
2099 old = new; in x86pte_set()
2167 t[0].val = new; in x86pte_cas()
2177 t[1].val = new; in x86pte_cas()
2275 x86pte_t new) in x86pte_update() argument
[all …]
/illumos-gate/usr/src/cmd/sgs/libld/common/
H A DREADME.XLINK87 platforms, studying the ABI for the new target platform, and then
90 that you will encounter in adding a new target.
96 new target. To do so, examine the common header files:
138 and add a #include for your new file to it, surrounded by the
187 Files containing the target-specific code to support the new
199 You should start by creating a machrel.XXX.c file for your new
213 You may find that your new target requires support for new concepts
218 variable, and to modify the libld.so common code to use these new
249 If you do add a new field to ld_targ that uses NULL to represent
283 don't handle your target, add a new one that does.
[all …]
/illumos-gate/usr/src/cmd/fs.d/pcfs/fsck/
H A Dclusters.c239 CachedCluster *new; in addToCache() local
247 new->modified = 0; in addToCache()
251 free(new); in addToCache()
255 new->clusterData.bytes = cp; in addToCache()
262 ClusterCache = new; in addToCache()
263 new->next = NULL; in addToCache()
265 new->next = ClusterCache; in addToCache()
266 ClusterCache = new; in addToCache()
275 trailer->next = new; in addToCache()
277 new->next = loop; in addToCache()
[all …]
/illumos-gate/usr/src/grub/grub-0.97/docs/
H A Dsrc2texi15 ${dir}/${src} | expand > ${texi}.new
16 mv -f ${texi}.new ${dir}/${texi}
/illumos-gate/usr/src/uts/i86pc/io/pci/
H A Dpci_prd_i86pc.c149 struct memlist *prev, *orig, *new; in acpi_trim_bus_ranges() local
158 new = memlist_alloc(); in acpi_trim_bus_ranges()
159 new->ml_address = orig->ml_address; in acpi_trim_bus_ranges()
160 new->ml_size = orig->ml_size; in acpi_trim_bus_ranges()
161 new->ml_prev = orig; in acpi_trim_bus_ranges()
166 if (new->ml_address < current->ml_address) in acpi_trim_bus_ranges()
171 new->ml_next = ranges; in acpi_trim_bus_ranges()
172 ranges = new; in acpi_trim_bus_ranges()
175 new->ml_next = current; in acpi_trim_bus_ranges()
176 prev->ml_next = new; in acpi_trim_bus_ranges()
/illumos-gate/usr/src/uts/sun4u/io/pci/
H A Dpci_pwr.c373 pci_raise_power(pci_pwr_t *pwr_p, int current, int new, void *impl_arg, in pci_raise_power() argument
728 pci_pwr_change(pci_pwr_t *pwr_p, int current, int new) in pci_pwr_change() argument
731 if (current == new) { in pci_pwr_change()
735 current, new); in pci_pwr_change()
741 if (new < current) { in pci_pwr_change()
744 new, current); in pci_pwr_change()
750 if (new > current) { in pci_pwr_change()
753 "(new=%d) > (current=%d)\n", new, current); in pci_pwr_change()
757 new) == DDI_FAILURE) { in pci_pwr_change()
/illumos-gate/usr/src/lib/libldap5/sources/ldap/ber/
H A Ddecode.c719 struct berval *new; in ber_bvdup() local
721 if ( (new = (struct berval *)NSLBERI_MALLOC( sizeof(struct berval) )) in ber_bvdup()
726 new->bv_val = NULL; in ber_bvdup()
727 new->bv_len = 0; in ber_bvdup()
729 if ( (new->bv_val = (char *)NSLBERI_MALLOC( bv->bv_len + 1 )) in ber_bvdup()
733 SAFEMEMCPY( new->bv_val, bv->bv_val, (size_t) bv->bv_len ); in ber_bvdup()
734 new->bv_val[bv->bv_len] = '\0'; in ber_bvdup()
735 new->bv_len = bv->bv_len; in ber_bvdup()
738 return( new ); in ber_bvdup()
/illumos-gate/usr/src/cmd/sgs/demo_rdb/common/
H A Dbpt.c66 bptlist_t *new, *cur, *prev; in set_breakpoint() local
80 new = malloc(sizeof (bptlist_t)); in set_breakpoint()
81 new->bl_addr = addr; in set_breakpoint()
82 new->bl_flags = flags; in set_breakpoint()
87 new->bl_next = ph->pp_breakpoints; in set_breakpoint()
88 ph->pp_breakpoints = new; in set_breakpoint()
92 prev->bl_next = new; in set_breakpoint()
93 new->bl_next = cur; in set_breakpoint()
/illumos-gate/usr/src/uts/common/os/
H A Dprintf.c169 uint32_t old, new; in cprintf() local
172 new = old + len; in cprintf()
173 if (new >= PANICBUFSIZE) in cprintf()
174 new = panicbuf_log + len; in cprintf()
175 } while (atomic_cas_32(&panicbuf_index, old, new) != old); in cprintf()
176 bcopy(body, &panicbuf[new - len], len); in cprintf()

12345678910>>...42