/illumos-gate/usr/src/cmd/fs.d/nfs/nfslog/ |
H A D | process_buffer.c | 90 nfsl_config_t *ncp = NULL, *last_good_ncp; in process_buffer() local 182 if ((ncp = last_good_ncp = in process_buffer() 205 ncp = nfsl_findconfig(*config_list, tag, &error); in process_buffer() 215 if (ncp == NULL) { in process_buffer() 217 ncp = last_good_ncp; in process_buffer() 220 last_good_ncp = ncp; in process_buffer() 223 if (ncp->nc_flags & NC_UPDATED) { in process_buffer() 230 cleanup_elf_state(ncp); in process_buffer() 231 cleanup_trans_state(ncp); in process_buffer() 233 ncp->nc_flags &= ~NC_UPDATED; in process_buffer() [all …]
|
/illumos-gate/usr/src/uts/common/fs/ |
H A D | dnlc.c | 235 #define nc_inshash(ncp, hp) \ argument 237 (ncp)->hash_next = (hp)->hash_next; \ 238 (ncp)->hash_prev = (ncache_t *)(hp); \ 239 (hp)->hash_next->hash_prev = (ncp); \ 240 (hp)->hash_next = (ncp); \ 246 #define nc_rmhash(ncp) \ argument 248 (ncp)->hash_prev->hash_next = (ncp)->hash_next; \ 249 (ncp)->hash_next->hash_prev = (ncp)->hash_prev; \ 250 (ncp)->hash_prev = NULL; \ 251 (ncp)->hash_next = NULL; \ [all …]
|
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | ctime.c | 110 const char *ncp; in __posix_asctime_r() local 118 for (ncp = Date; (*cp++ = *ncp++) != '\0'; /* */) in __posix_asctime_r() 120 ncp = Day + (3 * t->tm_wday); in __posix_asctime_r() 122 *cp++ = *ncp++; in __posix_asctime_r() 123 *cp++ = *ncp++; in __posix_asctime_r() 124 *cp++ = *ncp++; in __posix_asctime_r() 126 ncp = Month + (3 * t->tm_mon); in __posix_asctime_r() 127 *cp++ = *ncp++; in __posix_asctime_r() 128 *cp++ = *ncp++; in __posix_asctime_r() 129 *cp++ = *ncp++; in __posix_asctime_r()
|
/illumos-gate/usr/src/cmd/mdb/common/libstand/ |
H A D | ctime.c | 162 const char *ncp; in __posix_asctime_r() local 170 for (ncp = Date; *cp++ = *ncp++; /* */) in __posix_asctime_r() 172 ncp = Day + (3*t->tm_wday); in __posix_asctime_r() 174 *cp++ = *ncp++; in __posix_asctime_r() 175 *cp++ = *ncp++; in __posix_asctime_r() 176 *cp++ = *ncp++; in __posix_asctime_r() 179 ncp = Month + ((*tp) * 3); in __posix_asctime_r() 180 *cp++ = *ncp++; in __posix_asctime_r() 181 *cp++ = *ncp++; in __posix_asctime_r() 182 *cp++ = *ncp++; in __posix_asctime_r()
|
/illumos-gate/usr/src/stand/lib/sa/ |
H A D | time.c | 167 const char *ncp; in asctime() local 175 for (ncp = Date; *cp++ = *ncp++; /* */); in asctime() 176 ncp = Day + (3 * t->tm_wday); in asctime() 178 *cp++ = *ncp++; in asctime() 179 *cp++ = *ncp++; in asctime() 180 *cp++ = *ncp++; in asctime() 183 ncp = Month + ((*tp) * 3); in asctime() 184 *cp++ = *ncp++; in asctime() 185 *cp++ = *ncp++; in asctime() 186 *cp++ = *ncp++; in asctime()
|
/illumos-gate/usr/src/lib/krb5/kadm5/srv/ |
H A D | server_misc.c | 106 char *cp, *ncp, *tcp; local 114 for (ncp = cp; *ncp; ncp++) 115 if (!isalnum(*ncp) && *ncp != '\'') 118 if (*ncp) 119 *ncp++ = '\0'; 127 cp = ncp;
|
/illumos-gate/usr/src/cmd/fm/fmd/common/ |
H A D | fmd_rpc.c | 64 struct netconfig *ncp; in fmd_rpc_svc_create_local() local 86 while ((ncp = getnetconfig(hdl)) != NULL) { in fmd_rpc_svc_create_local() 87 if (strcmp(ncp->nc_protofmly, NC_LOOPBACK) != 0) in fmd_rpc_svc_create_local() 90 if (!force && rpcb_getaddr(prog, vers, ncp, &buf, HOST_SELF)) { in fmd_rpc_svc_create_local() 95 if ((fd = t_open(ncp->nc_device, O_RDWR, NULL)) == -1) { in fmd_rpc_svc_create_local() 97 ncp->nc_device, t_strerror(t_errno)); in fmd_rpc_svc_create_local() 103 if ((xprt = svc_tli_create(fd, ncp, NULL, ssz, rsz)) == NULL) { in fmd_rpc_svc_create_local() 108 if (svc_reg(xprt, prog, vers, disp, ncp) == FALSE) { in fmd_rpc_svc_create_local() 110 "rpc service on %s\n", ncp->nc_netid); in fmd_rpc_svc_create_local()
|
/illumos-gate/usr/src/cmd/mdb/common/modules/mdb_ks/ |
H A D | mdb_ks.c | 100 #define MDB_DNLC_NCACHE_SZ(ncp) (sizeof (ncache_t) + (ncp)->namlen) argument 162 ncache_t *ncp, *next; in dnlc_free() local 173 for (ncp = dnlc_hash[i]; ncp; ncp = next) { in dnlc_free() 174 next = ncp->hash_next; in dnlc_free() 175 mdb_free(ncp, MDB_DNLC_NCACHE_SZ(ncp)); in dnlc_free() 244 ncache_t *ncp; /* name cache pointer */ in dnlc_load() local 282 ncp = mdb_alloc(nc_size, UM_SLEEP); in dnlc_load() 283 if (mdb_vread(ncp, nc_size - 1, nc_va) == -1) { in dnlc_load() 284 mdb_free(ncp, nc_size); in dnlc_load() 295 if ((uintptr_t)ncp->hash_prev != ncprev_va) { in dnlc_load() [all …]
|
/illumos-gate/usr/src/cmd/syslogd/ |
H A D | syslogd.h | 78 struct netconfig *ncp; member 219 struct netconfig *ncp; member 238 static host_list_t *cvthname(struct netbuf *nbp, struct netconfig *ncp, char *); 248 static int addnet(struct netconfig *ncp, struct netbuf *nbp);
|
H A D | syslogd.c | 920 hinfo->ncp = &Ncf[i]; in net_poll() 2184 cvthname(struct netbuf *nbp, struct netconfig *ncp, char *failsafe_addr) in cvthname() argument 2199 uap = taddr2uaddr(ncp, nbp); in cvthname() 2204 if ((h = hnc_lookup(nbp, ncp, &hindex)) != NULL) { in cvthname() 2216 if (ncp->nc_semantics != NC_TPI_CLTS) { in cvthname() 2226 if (netdir_getbyaddr(ncp, &hsp, nbp) == 0) { in cvthname() 2287 hnc_register(nbp, ncp, h, hindex); in cvthname() 3599 struct netconfig *ncp; in getnets() local 3624 while ((ncp = getnetconfig(handle)) != NULL) { in getnets() 3625 if (ncp->nc_semantics != NC_TPI_CLTS) { in getnets() [all …]
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | clock_tick.c | 622 cpu_t *cp, *ncp; in clock_tick_cpu_setup() local 671 ncp = cpu_active; in clock_tick_cpu_setup() 673 if (cp == ncp) in clock_tick_cpu_setup() 675 clock_tick_cpus[i] = ncp; in clock_tick_cpu_setup() 677 } while ((ncp = ncp->cpu_next_onln) != cpu_active); in clock_tick_cpu_setup()
|
/illumos-gate/usr/src/boot/libsa/ |
H A D | bootp.c | 635 uchar_t *ncp; in setenv_() local 640 ncp = cp; in setenv_() 645 while (ncp < ep) { in setenv_() 650 tag = *ncp++; /* extract tag and size */ in setenv_() 651 size = *ncp++; in setenv_() 652 cp = ncp; /* current payload */ in setenv_() 653 ncp += size; /* point to the next option */ in setenv_()
|
H A D | ufs.c | 481 char *cp, *ncp; in ufs_open() local 570 ncp = cp; in ufs_open() 587 rc = search_directory(ncp, f, &inumber); in ufs_open()
|
/illumos-gate/usr/src/cmd/sgs/elfedit/modules/common/ |
H A D | str.c | 523 int i, len, ncp; in cmd_body_set() local 526 ncp = len; in cmd_body_set() 528 ncp++; in cmd_body_set() 531 if (ncp == 0) in cmd_body_set() 535 if ((ndx + ncp) > strsec->sec_data->d_size) in cmd_body_set() 541 if (((ndx + ncp) == strsec->sec_data->d_size) && in cmd_body_set() 559 for (i = 0; i < ncp; i++) in cmd_body_set() 562 if (i == ncp) { /* No change */ in cmd_body_set() 609 bcopy(newstr, oldstr, ncp); in cmd_body_set()
|
/illumos-gate/usr/src/cmd/col/ |
H A D | col.c | 496 int ncp; in emit() local 524 ncp = pcp; in emit() 526 if ((++ncp & 7) == 0 && !xflag) { in emit() 527 pcp = ncp; in emit() 533 while (pcp < ncp) { in emit()
|
/illumos-gate/usr/src/cmd/cmd-inet/lib/nwamd/ |
H A D | Makefile | 32 main.o ncp.o ncu.o ncu_phys.o ncu_ip.o objects.o\ 35 HEADERS= conditions.h events.h known_wlans.h llp.h ncp.h ncu.h\
|
/illumos-gate/usr/src/cmd/fm/modules/common/eversholt/ |
H A D | iexpr.c | 312 struct iexpr *ncp; in iexpr_fini() local 314 for (cp = Cache[i]; cp != NULL; cp = ncp) { in iexpr_fini() 316 ncp = cp->next; in iexpr_fini()
|
/illumos-gate/usr/src/uts/common/disp/ |
H A D | cpupart.c | 326 cpu_t *ncp, *newlist; in cpupart_move_cpu() local 481 ncp = cp->cpu_prev_part->cpu_next_part = cp->cpu_next_part; in cpupart_move_cpu() 484 oldpp->cp_cpulist = ncp; in cpupart_move_cpu() 487 ncp = oldpp->cp_cpulist = NULL; in cpupart_move_cpu() 521 ASSERT(ncp != NULL); in cpupart_move_cpu() 575 t->t_cpu = disp_lowpri_cpu(ncp, t, in cpupart_move_cpu() 628 t->t_cpu = disp_lowpri_cpu(ncp, t, in cpupart_move_cpu()
|
/illumos-gate/usr/src/lib/libnwam/ |
H A D | README | 237 nwam_ncp_handle_t *ncp); 239 nwam_ncp_handle_t *ncp); 240 nwam_error_t nwam_ncp_copy(nwam_ncp_handle_t ncp, const char *newname, 242 nwam_error_t nwam_ncp_walk_ncus(nwam_ncp_handle_t ncp, 244 nwam_error_t nwam_ncp_get_name(nwam_ncp_handle_t ncp, char **name); 245 nwam_error_t nwam_ncp_activate(nwam_ncp_handle_t ncp); 246 nwam_error_t nwam_ncp_deactivate(nwam_ncp_handle_t ncp); 247 nwam_error_t nwam_ncp_destroy(nwam_ncp_handle_t ncp, uint64_t flags); 248 void nwam_ncp_free(nwam_ncp_handle_t ncp); 261 nwam_error_t nwam_ncu_create(nwam_ncp_handle_t ncp, const char *name, [all …]
|
/illumos-gate/usr/src/uts/sun4v/os/ |
H A D | fillsysinfo.c | 1227 int ncp; in load_tlb_cpu_mappings() local 1256 ncp = md_scan_dag(mdp, tlbs[tlbs_idx], cpu_sc, bck_sc, cp); in load_tlb_cpu_mappings() 1257 if (ncp < 0) in load_tlb_cpu_mappings() 1259 else if (ncp == 0) in load_tlb_cpu_mappings() 1263 for (cp_idx = 0; cp_idx < ncp; cp_idx++) { in load_tlb_cpu_mappings() 1277 for (cp_idx = 0; cp_idx < ncp; cp_idx++) { in load_tlb_cpu_mappings() 1291 for (cp_idx = 0; cp_idx < ncp; cp_idx++) { in load_tlb_cpu_mappings()
|
/illumos-gate/usr/src/uts/i86pc/io/xsvc/ |
H A D | xsvc.c | 1060 struct ddi_umem_cookie *ncp; in xsvc_devmap_unmap() local 1082 ncp = (struct ddi_umem_cookie *)ndhp->dh_cookie; in xsvc_devmap_unmap() 1083 ncp->cook_refcnt++; in xsvc_devmap_unmap() 1088 ncp = (struct ddi_umem_cookie *)ndhp->dh_cookie; in xsvc_devmap_unmap() 1089 ncp->cook_refcnt++; in xsvc_devmap_unmap()
|
/illumos-gate/usr/src/cmd/fs.d/nfs/statd/ |
H A D | sm_proc.c | 994 struct netconfig *ncp; in get_system_id() local 1009 while ((ncp = getnetconfig(hp)) != NULL) { in get_system_id() 1010 if ((strcmp(ncp->nc_protofmly, NC_INET) == 0) || in get_system_id() 1011 (strcmp(ncp->nc_protofmly, NC_INET6) == 0)) { in get_system_id() 1013 rv = netdir_getbyname(ncp, &service, &addrs); in get_system_id() 1018 uaddr = taddr2uaddr(ncp, addrs->n_addrs); in get_system_id()
|
/illumos-gate/usr/src/cmd/truss/ |
H A D | main.c | 1769 struct counts *ncp; in file_to_parent() local 1778 ncp = my_malloc(ntry.sz_key, NULL); in file_to_parent() 1780 if (pread(sfd, ncp, ntry.sz_key, c_offset) != in file_to_parent() 1786 sscp = (struct syscount *)(ncp + 1); in file_to_parent() 1790 Cp->usrtotal.tv_sec += ncp->usrtotal.tv_sec; in file_to_parent() 1791 Cp->usrtotal.tv_nsec += ncp->usrtotal.tv_nsec; in file_to_parent() 1797 ncp->syscount[i] = sscp; in file_to_parent() 1802 Cp->fltcount[i] += ncp->fltcount[i]; in file_to_parent() 1806 Cp->sigcount[i] += ncp->sigcount[i]; in file_to_parent() 1811 struct syscount *nscp = ncp->syscount[i]; in file_to_parent() [all …]
|
/illumos-gate/usr/src/common/bignum/ |
H A D | bignum.h | 111 BIGNUM *tmp, BIG_CHUNK_TYPE n0, void *ncp, void *req); 115 void *ncp; member
|
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | zap_micro.c | 894 boolean_t *ncp) in zap_lookup_impl() argument 904 realname, rn_len, ncp); in zap_lookup_impl() 919 if (ncp) { in zap_lookup_impl() 920 *ncp = mzap_normalization_conflict(zap, in zap_lookup_impl() 934 boolean_t *ncp) in zap_lookup_norm() argument 943 num_integers, buf, mt, realname, rn_len, ncp); in zap_lookup_norm() 960 boolean_t *ncp) in zap_lookup_norm_by_dnode() argument 969 num_integers, buf, mt, realname, rn_len, ncp); in zap_lookup_norm_by_dnode()
|