Searched refs:ncp (Results 1 - 25 of 44) 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.c235 #define nc_inshash(ncp, hp) \
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) \
248 (ncp)->hash_prev->hash_next = (ncp)->hash_next; \
249 (ncp)->hash_next->hash_prev = (ncp)
439 ncache_t *ncp; local
505 ncache_t *ncp; local
587 ncache_t *ncp; local
668 ncache_t *ncp; local
700 ncache_t *ncp; local
749 ncache_t *ncp; local
812 ncache_t *ncp; local
883 ncache_t *ncp; local
933 ncache_t *ncp; local
974 ncache_t *ncp; local
1002 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/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.c99 #define MDB_DNLC_NCACHE_SZ(ncp) (sizeof (ncache_t) + (ncp)->namlen)
161 ncache_t *ncp, *next; local
172 for (ncp = dnlc_hash[i]; ncp; ncp = next) {
173 next = ncp->hash_next;
174 mdb_free(ncp, MDB_DNLC_NCACHE_SZ(ncp));
243 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 DMakefile32 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\
H A Dncp.c42 #include "ncp.h"
47 * ncp.c - handles NCP actions.
211 nwamd_ncp_action(const char *ncp, nwam_action_t action) argument
214 (NWAM_OBJECT_TYPE_NCP, ncp, NULL, action);
/illumos-gate/usr/src/cmd/syslogd/
H A Dsyslogd.h78 struct netconfig *ncp; member in struct:host_info
219 struct netconfig *ncp; member in struct:hostname_cache
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 Dsyslogd.c920 hinfo->ncp = &Ncf[i];
2184 cvthname(struct netbuf *nbp, struct netconfig *ncp, char *failsafe_addr) argument
2199 uap = taddr2uaddr(ncp, nbp);
2204 if ((h = hnc_lookup(nbp, ncp, &hindex)) != NULL) {
2216 if (ncp->nc_semantics != NC_TPI_CLTS) {
2226 if (netdir_getbyaddr(ncp, &hsp, nbp) == 0) {
2287 hnc_register(nbp, ncp, h, hindex);
3599 struct netconfig *ncp; local
3624 while ((ncp = getnetconfig(handle)) != NULL) {
3625 if (ncp
3718 addnet(struct netconfig *ncp, struct netbuf *nbp) argument
3903 struct netconfig *ncp; local
3983 struct netconfig *ncp; local
5342 hnc_lookup(struct netbuf *nbp, struct netconfig *ncp, int *hindex) argument
5408 hnc_register(struct netbuf *nbp, struct netconfig *ncp, host_list_t *h, int hindex) argument
[all...]
/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.c496 int ncp; local
524 ncp = pcp;
526 if ((++ncp & 7) == 0 && !xflag) {
527 pcp = ncp;
533 while (pcp < ncp) {
/illumos-gate/usr/src/boot/lib/libstand/
H A Dbootp.c635 uchar_t *ncp; local
640 ncp = cp;
645 while (ncp < ep) {
650 tag = *ncp++; /* extract tag and size */
651 size = *ncp++;
652 cp = ncp; /* current payload */
653 ncp += size; /* point to the next option */
H A Dufs.c481 char *cp, *ncp; local
570 ncp = cp;
587 rc = search_directory(ncp, f, &inumber);
/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/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/uts/common/disp/
H A Dcpupart.c326 cpu_t *ncp, *newlist; local
481 ncp = cp->cpu_prev_part->cpu_next_part = cp->cpu_next_part;
484 oldpp->cp_cpulist = ncp;
487 ncp = oldpp->cp_cpulist = NULL;
521 ASSERT(ncp != NULL);
575 t->t_cpu = disp_lowpri_cpu(ncp, t,
628 t->t_cpu = disp_lowpri_cpu(ncp, t,
/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:__anon1990
/illumos-gate/usr/src/cmd/fs.d/nfs/statd/
H A Dsm_proc.c994 struct netconfig *ncp; local
1009 while ((ncp = getnetconfig(hp)) != NULL) {
1010 if ((strcmp(ncp->nc_protofmly, NC_INET) == 0) ||
1011 (strcmp(ncp->nc_protofmly, NC_INET6) == 0)) {
1013 rv = netdir_getbyname(ncp, &service, &addrs);
1018 uaddr = taddr2uaddr(ncp, addrs->n_addrs);
/illumos-gate/usr/src/uts/i86pc/io/xsvc/
H A Dxsvc.c1061 struct ddi_umem_cookie *ncp; local
1083 ncp = (struct ddi_umem_cookie *)ndhp->dh_cookie;
1084 ncp->cook_refcnt++;
1089 ncp = (struct ddi_umem_cookie *)ndhp->dh_cookie;
1090 ncp->cook_refcnt++;
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/nwamcfg/
H A Dnwamcfg.c137 "ncp",
369 "create ncp ",
379 "destroy ncp ",
391 "export ncp ",
400 "list ncp ",
411 "select ncp ",
616 /* Returns "loc", "enm", "wlan" or "ncp" as string */
632 /* Returns "ncp, "ncu", "loc", "enm", or "wlan" according to the scope */
640 return ("ncp");
837 * If free_ncu_only == B_TRUE, only ncu handle is freed, ncp handl
1510 destroy_ncp_callback(nwam_ncp_handle_t ncp, void *arg) argument
2661 list_ncp_callback(nwam_ncp_handle_t ncp, void *arg) argument
2834 listprop(nwam_object_type_t object_type, void *handle, const char *name, boolean_t all_props, nwam_ncp_handle_t ncp, nwam_ncu_type_t ncu_type) argument
3279 export_ncp_callback(nwam_ncp_handle_t ncp, void *arg) argument
[all...]

Completed in 294 milliseconds

12