Searched defs:old (Results 151 - 175 of 259) sorted by relevance

1234567891011

/illumos-gate/usr/src/uts/common/os/
H A Dklpd.c167 klpd_reg_t *old = *listp; local
171 ASSERT(old == NULL || *old->klpd_refp == old);
173 p->klpd_next = single ? NULL : old;
175 if (old != NULL) {
177 ASSERT(old->klpd_next == NULL);
178 old->klpd_refp = NULL;
179 return (old);
181 old
709 klpd_reg_t *old; local
[all...]
H A Dkcpc.c2012 * Copy contents of old sets into new ones
2018 * Free old array of context pointers and use newly
2293 kcpc_request_t *old; local
2295 old = req_list->krl_list;
2302 bcopy(old, req_list->krl_list,
2304 kmem_free(old, req_list->krl_max * sizeof (kcpc_request_t));
H A Dpool.c58 * the old pset() system call. When enabled, processor sets can only be
86 * old pool. Processes in a given task or a given project can only be bound to
426 pool_t *old; member in struct:destroy_zone_arg
431 * Update pool pointers for zones that are currently bound to pool "old"
442 if (zone_pool_get(zone) == dza->old)
467 dzarg.old = pool;
/illumos-gate/usr/src/lib/libshell/common/edit/
H A Dedit.c1184 int ed_setcursor(register Edit_t *ep,genchar *physical,register int old,register int new,int first) argument
1191 delta = new - old;
1201 ep->e_curpos = ed_curpos(ep, physical, old,0,ep->e_curpos);
1202 if(clear && old>=ep->e_peol && (clear=ep->e_winsz-ep->e_curpos.col)>0)
1208 newpos = ed_curpos(ep, physical, new,old,ep->e_curpos);
1251 old = new - delta;
1261 if(!ep->e_crlf || bs || (2*delta <= ((old-first)+(newpos.line?0:ep->e_plen))) )
1275 old = first;
1280 ed_putchar(ep,physical[old++]);
/illumos-gate/usr/src/lib/libshell/common/sh/
H A Dpath.c307 register Pathcomp_t *pp=first, *old=0, *ppnext; local
326 if(old)
327 old->next = ppnext;
330 old = pp;
1414 static Pathcomp_t *path_addcomp(Pathcomp_t *first, Pathcomp_t *old,const char *name, int flag) argument
1457 if(old && ((flag&(PATH_PATH|PATH_SKIP))==PATH_PATH))
1458 path_chkpaths(first,old,pp,offset);
1466 static int path_chkpaths(Pathcomp_t *first, Pathcomp_t* old,Pathcomp_t *pp, int offset) argument
1508 path_addcomp(first,old,stakptr(offset),PATH_FPATH|PATH_BFPATH);
1566 Pathcomp_t *old local
1693 register Pathcomp_t *pp=first, *old=0; local
[all...]
/illumos-gate/usr/src/lib/libsqlite/src/
H A Dprintf.c721 static void *printf_realloc(void *old, int size){ argument
722 return sqliteRealloc(old,size);
/illumos-gate/usr/src/lib/libmtmalloc/common/
H A Dmtmalloc.c313 oversize_t *old; local
315 old = (oversize_t *)(mem - OVSZ_SIZE);
316 (void) memcpy(new, data_ptr, MIN(bytes, old->size - shift));
/illumos-gate/usr/src/cmd/csh/
H A Dsh.file.c333 tilde(tchar *new, tchar *old) argument
344 if (old[0] != '~')
345 return (strcpy_(new, old));
347 for (p = person, o = &old[1]; *o && *o != '/'; *p++ = *o++)
/illumos-gate/usr/src/cmd/fm/fmd/common/
H A Dfmd_conf.c322 fmd_conf_path_t *old; local
324 old = pp->cp_value.cpv_ptr;
328 pp->cp_value.cpv_ptr = old;
332 if (old != NULL) {
334 int i, totc = old->cpa_argc + new->cpa_argc;
342 for (i = 0; i < old->cpa_argc; i++)
343 new->cpa_argv[new->cpa_argc++] = old->cpa_argv[i];
351 fmd_free(old->cpa_argv, sizeof (char *) * old->cpa_argc);
352 fmd_free(old, sizeo
[all...]
/illumos-gate/usr/src/cmd/fm/fmstat/common/
H A Dfmstat.c220 u64delta(uint64_t old, uint64_t new) argument
222 return (new >= old ? (new - old) : ((UINT64_MAX - old) + new + 1));
259 struct stats *old, *new; local
264 old = mp->m_old = &mp->m_stbuf[mp->m_stidx];
304 delta = u64delta(old->snaptime.fmds_value.ui64 ?
305 old->snaptime.fmds_value.ui64 : old->loadtime.fmds_value.ui64,
314 delta = u64delta(old
[all...]
/illumos-gate/usr/src/cmd/fm/modules/sun4/cpumem-diagnosis/
H A Dcmd_cpu.c348 * If there's already an old UE cache, we're racing with another
350 * cache to the existing old cache.
1802 fmd_hdl_debug(hdl, "cpu_lookup: discarding old state\n");
1813 fmd_hdl_debug(hdl, "cpu_lookup: discarding old ereport\n");
1837 cpu_v0tov3(fmd_hdl_t *hdl, cmd_cpu_0_t *old, size_t oldsz) argument
1847 new->cpu_header = old->cpu0_header;
1849 new->cpu_cpuid = old->cpu0_cpuid;
1850 new->cpu_type = old->cpu0_type;
1851 new->cpu_faulting = old->cpu0_faulting;
1853 new->cpu_asru = old
1863 cpu_v1tov3(fmd_hdl_t *hdl, cmd_cpu_1_t *old, size_t oldsz) argument
1889 cpu_v2tov3(fmd_hdl_t *hdl, cmd_cpu_2_t *old, size_t oldsz) argument
[all...]
/illumos-gate/usr/src/cmd/sa/
H A Dsar.c510 * the corresponding entry in the old arrays and
1169 ulong_delta(uint64_t *new, uint64_t *old, uint64_t *delta, uint64_t *accum, argument
1177 o = *old++;
/illumos-gate/usr/src/cmd/fs.d/pcfs/fsck/
H A Dclusters.c459 freeClusterInfo(ClusterInfo *old) argument
461 if (--old->refcnt <= 0) {
462 if (old->path && --old->path->references <= 0) {
463 free(old->path->fullName);
464 free(old->path);
466 old->nextfree = pool;
467 pool = old;
957 * newSize should always be smaller than the old one, since
/illumos-gate/usr/src/cmd/isns/isnsd/
H A Dqry.c1041 uint32_t old = 0; local
1103 old = is_obj_there(&lc);
1104 if (old == 0) {
1111 if (uid > old) {
1112 diff = uid - old;
/illumos-gate/usr/src/cmd/tsol/tnd/
H A Dtnd.c584 struct tnd_tnrhtp_c *new, **old; local
596 old = (struct tnd_tnrhtp_c **)tsearch(new, &tp_tree, tp_compar);
597 if (*old != new)
/illumos-gate/usr/src/uts/common/disp/
H A Dcmt.c947 * Remove the PG from the bitset in the old partition
1104 * Update the PG bitset in the CPU's old partition
1355 cmt_ev_thread_swtch(pg_t *pg, cpu_t *cp, hrtime_t now, kthread_t *old, argument
1360 if (old == cp->cpu_idle_thread) {
1377 cmt_ev_thread_swtch_pwr(pg_t *pg, cpu_t *cp, hrtime_t now, kthread_t *old, argument
1384 if (old == cp->cpu_idle_thread) {
1397 ASSERT(old != cp->cpu_idle_thread);
1407 if (!THREAD_RUNNABLE_IN_PG(old, cmt)) {
H A Dthread.c1187 * rid of old thread context ops.
1708 tsd_realloc(void *old, size_t osize, size_t nsize) argument
1713 if (old) {
1714 bcopy(old, new, osize);
1715 kmem_free(old, osize);
/illumos-gate/usr/src/uts/common/fs/sockfs/
H A Dsockfilter.c1679 * sof_cas_cookie(handle, old, new)
1684 sof_cas_cookie(sof_handle_t handle, void *old, void *new) argument
1688 return (atomic_cas_ptr(&inst->sofi_cookie, old, new));
1790 struct sonode *so, *old, *new; local
1799 old = so->so_listener;
1800 mutex_enter(&old->so_acceptq_lock);
1801 list_remove(&old->so_acceptq_defer, so);
1802 old->so_acceptq_len--;
1803 mutex_exit(&old->so_acceptq_lock);
/illumos-gate/usr/src/tools/cscope-fast/
H A Dmain.c131 static void movefile(char *new, char *old);
140 int oldnum; /* number in old cross-ref */
142 FILE *oldrefs; /* old cross-reference file */
950 FILE *oldrefs; /* old cross-reference file */
951 time_t reftime; /* old crossref modification time */
953 char *oldfile; /* file in old cross-reference */
955 char olddir[PATHLEN + 1]; /* directory in old cross-reference */
956 char oldname[PATHLEN + 1]; /* name in old cross-reference */
957 int oldnum; /* number in old cross-ref */
979 * if there is an old cros
1533 movefile(char *new, char *old) argument
[all...]
/illumos-gate/usr/src/tools/ctf/cvt/
H A Dmerge.c717 conjure_template(tdesc_t *old, int newselfid) argument
721 new->t_name = old->t_name ? xstrdup(old->t_name) : NULL;
722 new->t_type = old->t_type;
723 new->t_size = old->t_size;
725 new->t_flags = old->t_flags;
732 conjure_intrinsic(tdesc_t *old, int newselfid, merge_cb_data_t *mcd) argument
734 tdesc_t *new = conjure_template(old, newselfid);
737 bcopy(old->t_intr, new->t_intr, sizeof (intr_t));
743 conjure_plain(tdesc_t *old, in argument
753 conjure_function(tdesc_t *old, int newselfid, merge_cb_data_t *mcd) argument
779 conjure_array(tdesc_t *old, int newselfid, merge_cb_data_t *mcd) argument
798 conjure_su(tdesc_t *old, int newselfid, merge_cb_data_t *mcd) argument
819 conjure_enum(tdesc_t *old, int newselfid, merge_cb_data_t *mcd) argument
837 conjure_forward(tdesc_t *old, int newselfid, merge_cb_data_t *mcd) argument
848 conjure_assert(tdesc_t *old, int newselfid, merge_cb_data_t *mcd) argument
855 conjure_iidesc(iidesc_t *old, merge_cb_data_t *mcd) argument
[all...]
/illumos-gate/usr/src/uts/common/inet/ipf/
H A Dip_state.c1762 u_32_t sumd, old, new; local
1771 old = ntohl(tcp->th_seq);
1773 is->is_isninc[i] = new - old;
1774 CALC_SUMD(old, new, sumd);
2395 * Check if the at least the old IP header (with options) and
2473 * Put old values of ip_len and ip_off back as we don't know
2626 * Remove the hash from the old location...
/illumos-gate/usr/src/uts/common/io/1394/adapters/
H A Dhci1394_ohci.c1831 uint_t offset, uint32_t compare, uint32_t swap, uint32_t *old)
1838 ASSERT(old != NULL);
1870 * to the same value. This will return the old value which is in
1892 *old = 0;
1901 /* Copy the old data into the return parameter */
1902 *old = ddi_get32(ohci_hdl->ohci_reg_handle,
1917 if (*old == compare) {
1830 hci1394_ohci_csr_cswap(hci1394_ohci_handle_t ohci_hdl, uint_t generation, uint_t offset, uint32_t compare, uint32_t swap, uint32_t *old) argument
/illumos-gate/usr/src/stand/lib/inet/
H A Dipv4.c546 int old = promiscuous; local
550 return (old);
/illumos-gate/usr/src/uts/common/io/bpf/
H A Dbpf.c1253 struct bpf_insn *fcode, *old; local
1261 old = d->bd_filter;
1267 if (old != 0)
1268 kmem_free(old, oldsize);
1282 old = d->bd_filter;
1288 if (old != 0)
1289 kmem_free(old, oldsize);
/illumos-gate/usr/src/uts/common/io/ib/clients/rdsv3/
H A Drdsv3_impl.c1332 uint_t c, old; local
1335 while (c != u && (old = atomic_cas_uint(v, c, c + a)) != c) {
1336 c = old;

Completed in 195 milliseconds

1234567891011