/netbsd-current/sys/arch/arc/stand/boot/ |
H A D | devopen.c | 51 char *ncp; local 58 ncp = (char *)fname; 76 while (*ncp && *ncp++ != ')') 78 if (*ncp) 79 cp = ncp; 92 while (*ncp && *ncp++ != ')') 94 if (*ncp) 95 cp = ncp; [all...] |
/netbsd-current/sys/arch/sgimips/stand/common/ |
H A D | devopen.c | 54 char *ncp; local 61 ncp = (char *)fname; 70 while (*ncp && *ncp++ != ')') 72 if (*ncp) 73 cp = ncp; 89 while (ncp != NULL && *ncp != 0) { 90 while (*ncp && *ncp [all...] |
/netbsd-current/lib/libc/rpc/ |
H A D | getnetconfig.c | 123 struct netconfig *ncp; member in struct:netconfig_list 248 struct netconfig_vars *ncp = handlep; local 256 if (ncp == NULL || nc_file == NULL) { 261 switch (ncp->valid) { 272 if (ncp->flag == 0) { /* first time */ 273 ncp->flag = 1; 274 ncp->nc_configs = ni.head; 275 if (ncp->nc_configs != NULL) /* entry already exist */ 276 return ncp->nc_configs->ncp; 428 struct netconfig *ncp = NULL; /* returned value */ local 524 parse_ncp( char *stringp, struct netconfig *ncp) argument 649 dup_ncp(struct netconfig *ncp) argument [all...] |
H A D | getnetpath.c | 66 struct netconfig *ncp; /* an nconf entry */ local 154 struct netconfig *ncp = NULL; /* temp. holds a netconfig session */ local 155 struct netpath_chain *chainp; /* holds chain of ncp's we alloc */ 170 if ((ncp = getnetconfig(np_sessionp->nc_handlep)) 173 } while ((ncp->nc_flag & NC_VISIBLE) == 0); 174 return (ncp); 184 if ((ncp = getnetconfigent(npp)) != NULL) { 188 freenetconfigent(ncp); 191 chainp->ncp = ncp; [all...] |
/netbsd-current/sys/kern/ |
H A D | vfs_cache.c | 377 cache_remove(struct namecache *ncp, const bool dir2node) argument 379 struct vnode *vp, *dvp = ncp->nc_dvp; 381 size_t namelen = NC_NLEN(ncp); 384 KASSERT(cache_key(ncp->nc_name, namelen) == ncp->nc_key); 385 KASSERT(rb_tree_find_node(&dvi->vi_nc_tree, ncp) == ncp); 387 SDT_PROBE(vfs, namecache, invalidate, done, ncp, 0, 0, 0, 0); 393 if ((vp = ncp->nc_vp) != NULL) { 397 TAILQ_REMOVE(&vi->vi_nc_list, ncp, nc_lis 431 struct namecache *ncp; local 534 struct namecache *ncp; local 660 struct namecache *ncp; local 796 struct namecache *ncp; local 914 struct namecache *ncp, *oncp; local 1179 struct namecache *ncp; local 1236 struct namecache *ncp; local 1255 struct namecache *ncp; local 1325 cache_activate(struct namecache *ncp) argument 1344 struct namecache *ncp; local 1392 struct namecache *ncp; local 1542 struct namecache *ncp; local [all...] |
/netbsd-current/sys/arch/alpha/stand/netboot/ |
H A D | devopen.c | 50 register char *ncp; 60 ncp = namebuf; 84 if (ncp < namebuf + sizeof(namebuf) - 1) 85 *ncp++ = c; 88 *ncp = '\0'; 100 if (ncp < namebuf + sizeof(namebuf) - 1) 101 *ncp++ = c; 129 *ncp = '\0';
|
/netbsd-current/sys/arch/sbmips/stand/netboot/ |
H A D | devopen.c | 50 register char *ncp; 59 ncp = namebuf; 84 if (ncp < namebuf + sizeof(namebuf) - 1) 85 *ncp++ = c; 88 *ncp = '\0'; 100 if (ncp < namebuf + sizeof(namebuf) - 1) 101 *ncp++ = c; 129 *ncp = '\0';
|
/netbsd-current/sys/arch/evbmips/stand/sbmips/netboot/ |
H A D | devopen.c | 50 register char *ncp; 59 ncp = namebuf; 84 if (ncp < namebuf + sizeof(namebuf) - 1) 85 *ncp++ = c; 88 *ncp = '\0'; 100 if (ncp < namebuf + sizeof(namebuf) - 1) 101 *ncp++ = c; 129 *ncp = '\0';
|
/netbsd-current/sys/arch/pmax/stand/common/ |
H A D | devopen.c | 52 char *ncp; local 59 ncp = namebuf; 88 if (ncp < namebuf + sizeof(namebuf) - 1) 89 *ncp++ = c; 99 if (ncp < namebuf + sizeof(namebuf) - 1) 100 *ncp++ = c; 129 *ncp = '\0';
|
/netbsd-current/sys/arch/emips/stand/common/ |
H A D | devopen.c | 53 char *ncp; local 60 ncp = device_name; 83 if (ncp < device_name + sizeof(device_name) - 1) 84 *ncp++ = c; 87 if (ncp == device_name) 110 *ncp = '\0';
|
H A D | boot.c | 264 char *ncp; local 269 ncp = device_name; 290 if (ncp < device_name + sizeof(device_name) - 1) 291 *ncp++ = c; 295 if (ncp == device_name) { 297 ncp += 3; 319 *ncp = '\0';
|
/netbsd-current/sys/arch/arc/pci/ |
H A D | necpbvar.h | 51 void necpb_init(struct necpb_context *ncp);
|
H A D | necpb.c | 172 necpb_init(struct necpb_context *ncp) argument 181 if (ncp->nc_initialized) 184 arc_large_bus_space_init(&ncp->nc_memt, "necpcimem", 186 arc_bus_space_init_arena(&ncp->nc_memt, &necpb_mem_arena_store, 189 arc_bus_space_init(&ncp->nc_iot, "necpciio", 191 arc_bus_space_init_arena(&ncp->nc_iot, &necpb_io_arena_store, 194 jazz_bus_dma_tag_init(&ncp->nc_dmat); 196 pc = &ncp->nc_pc; 238 ncp->nc_initialized = 1;
|
/netbsd-current/sys/arch/mipsco/stand/common/ |
H A D | devopen.c | 52 char *ncp; local 59 ncp = namebuf; 67 if (ncp < namebuf + sizeof(namebuf) - 1) 68 *ncp++ = c; 100 *ncp = '\0';
|
/netbsd-current/external/bsd/am-utils/dist/conf/transp/ |
H A D | transp_tli.c | 61 struct netconfig *ncp; local 66 ncp = getnetconfig(handlep); 70 ret = netdir_getbyname(ncp, &service, &addrs); 299 u_long protocol, struct netconfig *ncp) 302 return svc_reg(xprt, prognum, versnum, dispatch, ncp); 470 const struct netconfig *ncp, 479 if (!ncp) { 480 plog(XLOG_ERROR, "null ncp"); 484 td = t_open(ncp->nc_device, O_RDWR, (struct t_info *) NULL); 638 struct netconfig *ncp local 297 amu_svc_register(SVCXPRT *xprt, u_long prognum, u_long versnum, void (*dispatch)(struct svc_req *rqstp, SVCXPRT *xprt), u_long protocol, struct netconfig *ncp) argument 469 bind_preferred_amq_port(u_short pref_port, const struct netconfig *ncp, struct t_bind **tretpp) argument [all...] |
/netbsd-current/sbin/pppoectl/ |
H A D | pppoectl.c | 91 static struct spppncpcfg ncp; variable in typeref:struct:spppncpcfg 211 memset(&ncp, 0, sizeof ncp); 212 strncpy(ncp.ifname, ifname, sizeof ncp.ifname); 256 if (ioctl(s, SPPPGETNCPCFG, &ncp) == -1) 273 ncp.ncp_flags); 316 if (ioctl(s, SPPPGETNCPCFG, &ncp) == -1) 319 ncp.ncp_flags |= set_ncpflags; 320 ncp [all...] |
/netbsd-current/usr.sbin/sysinst/ |
H A D | run.c | 420 char *cp, *ncp; local 580 for (ncp = cp; (ncp = strstr(ncp, "\r\n")); ncp += 2) { 581 ncp[0] = '\n'; 582 ncp[1] = '\r';
|
/netbsd-current/external/bsd/less/dist/ |
H A D | cmdbuf.c | 380 char *ncp; local 388 ncp = cp; 389 pr = cmd_step_right(&ncp, &width, NULL); 394 cp = ncp; 399 pr = cmd_step_right(&ncp, &width, NULL); 403 cp = ncp; 413 char *ncp; local 422 ncp = cp; 423 while (ncp > cmdbuf) 425 cmd_step_left(&ncp, [all...] |
/netbsd-current/external/lgpl3/gmp/dist/mpn/x86_64/ |
H A D | divrem_2.asm | 136 L(top): mov %rdi, %rax C di ncp 143 mov %r8, %rax C ncp 151 L(19): sub %r8, %r10 C ncp
|
/netbsd-current/external/gpl3/binutils/dist/binutils/ |
H A D | rclex.c | 189 rc_uint_type ncp; local 192 ncp = (rc_uint_type) strtol (fn + 2, NULL, 16); 194 ncp = (rc_uint_type) strtol (fn, NULL, 10); 195 if (ncp == CP_UTF16 || ! unicode_is_valid_codepage (ncp)) 197 wind_current_codepage = ncp;
|
/netbsd-current/external/gpl3/gdb.old/dist/binutils/ |
H A D | rclex.c | 189 rc_uint_type ncp; local 192 ncp = (rc_uint_type) strtol (fn + 2, NULL, 16); 194 ncp = (rc_uint_type) strtol (fn, NULL, 10); 195 if (ncp == CP_UTF16 || ! unicode_is_valid_codepage (ncp)) 197 wind_current_codepage = ncp;
|
/netbsd-current/external/gpl3/binutils.old/dist/binutils/ |
H A D | rclex.c | 189 rc_uint_type ncp; local 192 ncp = (rc_uint_type) strtol (fn + 2, NULL, 16); 194 ncp = (rc_uint_type) strtol (fn, NULL, 10); 195 if (ncp == CP_UTF16 || ! unicode_is_valid_codepage (ncp)) 197 wind_current_codepage = ncp;
|
/netbsd-current/external/gpl3/gdb.old/dist/readline/readline/ |
H A D | search.c | 114 noninc_search_from_pos (char *string, int pos, int dir, int flags, int *ncp) argument 146 if (ncp) 147 *ncp = ret; /* caller will catch -1 to indicate no-op */
|
/netbsd-current/external/gpl3/gdb/dist/readline/readline/ |
H A D | search.c | 114 noninc_search_from_pos (char *string, int pos, int dir, int flags, int *ncp) argument 146 if (ncp) 147 *ncp = ret; /* caller will catch -1 to indicate no-op */
|
/netbsd-current/usr.sbin/btconfig/ |
H A D | btconfig.c | 1085 hci_remote_name_req_cp ncp; local 1097 memset(&ncp, 0, sizeof(ncp)); 1098 bdaddr_copy(&ncp.bdaddr, &r->bdaddr); 1099 ncp.page_scan_rep_mode = r->pscan_rep_mode; 1100 ncp.clock_offset = r->clock_offset; 1104 &ncp, sizeof(ncp),
|