Searched refs:ncp (Results 1 - 25 of 48) sorted by relevance

12

/illumos-gate/usr/src/lib/libbc/libc/gen/common/
H A Dasctime.c26 char *cp, *ncp; local
30 for (ncp = "Day Mon 00 00:00:00 1900\n"; *cp++ = *ncp++;);
31 ncp = &"SunMonTueWedThuFriSat"[3*t->tm_wday];
33 *cp++ = *ncp++;
34 *cp++ = *ncp++;
35 *cp++ = *ncp++;
38 ncp = &"JanFebMarAprMayJunJulAugSepOctNovDec"[(*tp)*3];
39 *cp++ = *ncp++;
40 *cp++ = *ncp
[all...]
/illumos-gate/usr/src/cmd/fs.d/nfs/nfslog/
H A Dprocess_buffer.c92 nfsl_config_t *ncp = NULL, *last_good_ncp; local
184 if ((ncp = last_good_ncp =
207 ncp = nfsl_findconfig(*config_list, tag, &error);
217 if (ncp == NULL) {
219 ncp = last_good_ncp;
222 last_good_ncp = ncp;
225 if (ncp->nc_flags & NC_UPDATED) {
232 cleanup_elf_state(ncp);
233 cleanup_trans_state(ncp);
235 ncp
387 cleanup_elf_state(nfsl_config_t *ncp) argument
396 cleanup_trans_state(nfsl_config_t *ncp) argument
[all...]
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dctime.c112 const char *ncp; local
120 for (ncp = Date; *cp++ = *ncp++; /* */)
122 ncp = Day + (3 * t->tm_wday);
124 *cp++ = *ncp++;
125 *cp++ = *ncp++;
126 *cp++ = *ncp++;
128 ncp = Month + (3 * t->tm_mon);
129 *cp++ = *ncp++;
130 *cp++ = *ncp
[all...]
/illumos-gate/usr/src/uts/common/fs/
H A Ddnlc.c232 #define nc_inshash(ncp, hp) \
234 (ncp)->hash_next = (hp)->hash_next; \
235 (ncp)->hash_prev = (ncache_t *)(hp); \
236 (hp)->hash_next->hash_prev = (ncp); \
237 (hp)->hash_next = (ncp); \
243 #define nc_rmhash(ncp) \
245 (ncp)->hash_prev->hash_next = (ncp)->hash_next; \
246 (ncp)->hash_next->hash_prev = (ncp)
437 ncache_t *ncp; local
503 ncache_t *ncp; local
585 ncache_t *ncp; local
666 ncache_t *ncp; local
698 ncache_t *ncp; local
747 ncache_t *ncp; local
810 ncache_t *ncp; local
881 ncache_t *ncp; local
935 ncache_t *ncp; local
975 ncache_t *ncp; local
1016 ncache_t *ncp; local
1044 ncache_t *ncp; local
[all...]
/illumos-gate/usr/src/cmd/mdb/common/libstand/
H A Dctime.c162 const char *ncp; local
170 for (ncp = Date; *cp++ = *ncp++; /* */)
172 ncp = Day + (3*t->tm_wday);
174 *cp++ = *ncp++;
175 *cp++ = *ncp++;
176 *cp++ = *ncp++;
179 ncp = Month + ((*tp) * 3);
180 *cp++ = *ncp++;
181 *cp++ = *ncp
[all...]
/illumos-gate/usr/src/stand/lib/sa/
H A Dtime.c167 const char *ncp; local
175 for (ncp = Date; *cp++ = *ncp++; /* */);
176 ncp = Day + (3 * t->tm_wday);
178 *cp++ = *ncp++;
179 *cp++ = *ncp++;
180 *cp++ = *ncp++;
183 ncp = Month + ((*tp) * 3);
184 *cp++ = *ncp++;
185 *cp++ = *ncp
[all...]
/illumos-gate/usr/src/uts/common/avs/ns/nsctl/
H A Dnsc_ncallio.c98 nsc_ncio_dev_t *ncp, *new; local
118 for (ncp = nsc_ncio_top; ncp; ncp = ncp->next)
119 if (ncp->phash == phash && strcmp(path, ncp->path) == 0)
122 if (ncp == NULL && new != NULL) {
123 ncp = new;
125 ncp
146 nsc_ncio_close(nsc_ncio_dev_t *ncp) argument
403 nsc_ncio_allocb(nsc_ncio_dev_t *ncp, nsc_off_t pos, nsc_size_t len, int flag, nsc_ncio_buf_t **hp) argument
463 nsc_ncio_partsize(nsc_ncio_dev_t *ncp, nsc_size_t *rvalp) argument
472 nsc_ncio_maxfbas(nsc_ncio_dev_t *ncp, int flag, nsc_size_t *ptr) argument
484 nsc_ncio_attach(nsc_ncio_dev_t *ncp) argument
[all...]
/illumos-gate/usr/src/cmd/lvm/metassist/layout/
H A Dlayout_device_cache.c366 name_cache_t *ncp; local
371 if ((ncp = (name_cache_t *)
377 ncp->desc = strdup(buf);
378 if (ncp->desc == NULL) {
379 free(ncp);
383 ncp->name = strdup(name);
384 if (ncp->name == NULL) {
385 free(ncp->desc);
386 free(ncp);
396 entry.key = ncp
[all...]
/illumos-gate/usr/src/lib/krb5/kadm5/srv/
H A Dserver_misc.c106 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 Dfmd_rpc.c64 struct netconfig *ncp; local
86 while ((ncp = getnetconfig(hdl)) != NULL) {
87 if (strcmp(ncp->nc_protofmly, NC_LOOPBACK) != 0)
90 if (!force && rpcb_getaddr(prog, vers, ncp, &buf, HOST_SELF)) {
95 if ((fd = t_open(ncp->nc_device, O_RDWR, NULL)) == -1) {
97 ncp->nc_device, t_strerror(t_errno));
103 if ((xprt = svc_tli_create(fd, ncp, NULL, ssz, rsz)) == NULL) {
108 if (svc_reg(xprt, prog, vers, disp, ncp) == FALSE) {
110 "rpc service on %s\n", ncp->nc_netid);
/illumos-gate/usr/src/cmd/mdb/common/modules/mdb_ks/
H A Dmdb_ks.c98 #define MDB_DNLC_NCACHE_SZ(ncp) (sizeof (ncache_t) + (ncp)->namlen)
160 ncache_t *ncp, *next; local
171 for (ncp = dnlc_hash[i]; ncp; ncp = next) {
172 next = ncp->hash_next;
173 mdb_free(ncp, MDB_DNLC_NCACHE_SZ(ncp));
242 ncache_t *ncp; /* nam local
[all...]
/illumos-gate/usr/src/uts/common/os/
H A Dclock_tick.c620 cpu_t *cp, *ncp; local
669 ncp = cpu_active;
671 if (cp == ncp)
673 clock_tick_cpus[i] = ncp;
675 } while ((ncp = ncp->cpu_next_onln) != cpu_active);
/illumos-gate/usr/src/cmd/cmd-inet/lib/nwamd/
H A DMakefile33 main.o ncp.o ncu.o ncu_phys.o ncu_ip.o objects.o\
36 HEADERS= conditions.h events.h known_wlans.h llp.h ncp.h ncu.h\
/illumos-gate/usr/src/cmd/syslogd/
H A Dsyslogd.h80 struct netconfig *ncp; member in struct:host_info
228 struct netconfig *ncp; member in struct:hostname_cache
247 static host_list_t *cvthname(struct netbuf *nbp, struct netconfig *ncp, char *);
257 static int addnet(struct netconfig *ncp, struct netbuf *nbp);
H A Dsyslogd.c924 hinfo->ncp = &Ncf[i];
2197 cvthname(struct netbuf *nbp, struct netconfig *ncp, char *failsafe_addr) argument
2212 uap = taddr2uaddr(ncp, nbp);
2217 if ((h = hnc_lookup(nbp, ncp, &hindex)) != NULL) {
2229 if (ncp->nc_semantics != NC_TPI_CLTS) {
2239 if (netdir_getbyaddr(ncp, &hsp, nbp) == 0) {
2300 hnc_register(nbp, ncp, h, hindex);
3612 struct netconfig *ncp; local
3637 while ((ncp = getnetconfig(handle)) != NULL) {
3638 if (ncp
3731 addnet(struct netconfig *ncp, struct netbuf *nbp) argument
3916 struct netconfig *ncp; local
3996 struct netconfig *ncp; local
5357 hnc_lookup(struct netbuf *nbp, struct netconfig *ncp, int *hindex) argument
5423 hnc_register(struct netbuf *nbp, struct netconfig *ncp, host_list_t *h, int hindex) argument
[all...]
/illumos-gate/usr/src/uts/sun4u/starfire/os/
H A Dpda.c495 register int i, cp, ncp; local
502 for (cp = i = 0; i < (nchunks-1); i++, cp = ncp) {
503 ncp = cp + 1;
506 naddr = mc[ncp].Memc_StartAddress;
507 nsize = mc[ncp].Memc_Size;
522 bcopy((char *)&mc[ncp+1],
523 (char *)&mc[ncp],
524 (nchunks - ncp - 1) * sizeof (MemChunk_t));
525 ncp = cp;
/illumos-gate/usr/src/cmd/fm/modules/common/eversholt/
H A Diexpr.c314 struct iexpr *ncp; local
316 for (cp = Cache[i]; cp != NULL; cp = ncp) {
318 ncp = cp->next;
/illumos-gate/usr/src/cmd/col/
H A Dcol.c498 int ncp; local
526 ncp = pcp;
528 if ((++ncp & 7) == 0 && !xflag) {
529 pcp = ncp;
535 while (pcp < ncp) {
/illumos-gate/usr/src/boot/lib/libstand/
H A Dbootp.c611 u_char *ncp; local
616 ncp = cp;
621 while (ncp < ep) {
626 tag = *ncp++; /* extract tag and size */
627 size = *ncp++;
628 cp = ncp; /* current payload */
629 ncp += size; /* point to the next option */
/illumos-gate/usr/src/cmd/sgs/elfedit/modules/common/
H A Dstr.c523 int i, len, ncp; local
526 ncp = len;
528 ncp++;
531 if (ncp == 0)
535 if ((ndx + ncp) > strsec->sec_data->d_size)
541 if (((ndx + ncp) == strsec->sec_data->d_size) &&
559 for (i = 0; i < ncp; i++)
562 if (i == ncp) { /* No change */
609 bcopy(newstr, oldstr, ncp);
/illumos-gate/usr/src/uts/common/disp/
H A Dcpupart.c323 cpu_t *ncp, *newlist; local
478 ncp = cp->cpu_prev_part->cpu_next_part = cp->cpu_next_part;
481 oldpp->cp_cpulist = ncp;
484 ncp = oldpp->cp_cpulist = NULL;
518 ASSERT(ncp != NULL);
572 t->t_cpu = disp_lowpri_cpu(ncp,
625 t->t_cpu = disp_lowpri_cpu(ncp, t->t_lpl,
/illumos-gate/usr/src/uts/common/io/drm/
H A Ddrm_sunmod.c803 struct ddi_umem_cookie *ncp; local
812 ncp = (struct ddi_umem_cookie *)ndhp->dh_cookie;
813 ncp->cook_refcnt ++;
815 ASSERT(ncp == cp);
820 ncp = (struct ddi_umem_cookie *)ndhp->dh_cookie;
821 ncp->cook_refcnt ++;
823 ASSERT(ncp == cp);
/illumos-gate/usr/src/uts/sun4v/os/
H A Dfillsysinfo.c1227 int ncp; local
1256 ncp = md_scan_dag(mdp, tlbs[tlbs_idx], cpu_sc, bck_sc, cp);
1257 if (ncp < 0)
1259 else if (ncp == 0)
1263 for (cp_idx = 0; cp_idx < ncp; cp_idx++) {
1277 for (cp_idx = 0; cp_idx < ncp; cp_idx++) {
1291 for (cp_idx = 0; cp_idx < ncp; cp_idx++) {
/illumos-gate/usr/src/common/bignum/
H A Dbignum.h111 BIGNUM *tmp, BIG_CHUNK_TYPE n0, void *ncp, void *req);
115 void *ncp; member in struct:__anon1944
/illumos-gate/usr/src/cmd/fs.d/nfs/statd/
H A Dsm_proc.c980 struct netconfig *ncp; local
995 while ((ncp = getnetconfig(hp)) != NULL) {
996 if ((strcmp(ncp->nc_protofmly, NC_INET) == 0) ||
997 (strcmp(ncp->nc_protofmly, NC_INET6) == 0)) {
999 rv = netdir_getbyname(ncp, &service, &addrs);
1004 uaddr = taddr2uaddr(ncp, addrs->n_addrs);

Completed in 125 milliseconds

12