Home
last modified time | relevance | path

Searched refs:cp (Results 1 – 25 of 1861) sorted by relevance

12345678910>>...75

/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_socks.c68 cp += strlen(cp);
71 cp += strlen(cp);
97 cp += strlen(cp);
100 cp += strlen(cp);
122 cp += strlen(cp);
268 cp += strlen(cp);
275 cp += strlen(cp);
282 cp += strlen(cp);
312 cp += strlen(cp);
374 cp += strlen(cp); in put_socks5_addr()
[all …]
/illumos-gate/usr/src/uts/common/io/ib/adapters/tavor/
H A Dtavor_cfg.c249 tavor_cfg_profile_t *cp);
269 tavor_cfg_profile_t *cp; in tavor_cfg_profile_init_phase1() local
288 cp->cp_fmr_enable = 0; in tavor_cfg_profile_init_phase1()
289 cp->cp_fmr_max_remaps = 0; in tavor_cfg_profile_init_phase1()
384 state->ts_cfg_profile = cp; in tavor_cfg_profile_init_phase1()
397 tavor_cfg_profile_t *cp; in tavor_cfg_profile_init_phase2() local
402 cp = state->ts_cfg_profile; in tavor_cfg_profile_init_phase2()
433 tavor_cfg_wqe_sizes(cp); in tavor_cfg_profile_init_phase2()
471 tavor_cfg_wqe_sizes(cp); in tavor_cfg_profile_init_phase2()
509 tavor_cfg_wqe_sizes(cp); in tavor_cfg_profile_init_phase2()
[all …]
/illumos-gate/usr/src/tools/stabs/
H A Dstabs.c179 cp = whitesp(cp); in parseline()
186 cp = whitesp(cp); in parseline()
195 cp = whitesp(cp); in parseline()
196 cp = name(cp, &w); in parseline()
212 cp = id(cp, &h); in parseline()
425 cp = id(cp, &h2); in tdefdecl()
498 cp = id(cp, &h2); in tdefdecl()
589 cp = name(cp, &w); in soudef()
591 cp = id(cp, &h); in soudef()
644 cp = id(cp, &h); in arraydef()
[all …]
/illumos-gate/usr/src/uts/common/os/
H A Dkmem.c1196 cp = list_next(&kmem_caches, cp)) in kmem_cache_applyall()
1212 cp = list_next(&kmem_caches, cp)) { in kmem_cache_applyall_id()
1269 cp = list_prev(&kmem_caches, cp)) { in kmem_error()
2284 cp = list_next(&kmem_caches, cp)) { in kmem_dump_begin()
2388 cp->cache_name, (void *)cp); in kmem_cache_alloc_dump()
2609 kmem_depot_free(cp, &cp->cache_full, in kmem_cpucache_magazine_alloc()
3066 cp->cache_reclaim(cp->cache_private); in kmem_cache_reap()
3896 cp->cache_maxchunks = (cp->cache_slabsize / cp->cache_chunksize); in kmem_cache_create()
3919 cp->cache_color = cp->cache_mincolor; in kmem_cache_create()
3973 cp->cache_kstat->ks_private = cp; in kmem_cache_create()
[all …]
H A Dcpu.c1740 cp->cpu_next = cp; in cpu_list_init()
1741 cp->cpu_prev = cp; in cpu_list_init()
1745 cp->cpu_next_onln = cp; in cpu_list_init()
1746 cp->cpu_prev_onln = cp; in cpu_list_init()
1762 cp->cpu_next_part = cp; in cpu_list_init()
1763 cp->cpu_prev_part = cp; in cpu_list_init()
1821 cpu[cp->cpu_id] = cp; in cpu_add_unit()
1836 cp->cpu_next_onln = cp; in cpu_add_unit()
1837 cp->cpu_prev_onln = cp; in cpu_add_unit()
1839 cp->cpu_next_part = cp; in cpu_add_unit()
[all …]
H A Dfork.c146 cp->p_sibling->p_psibling = cp->p_psibling; in disown_proc()
148 cp->p_psibling->p_sibling = cp->p_sibling; in disown_proc()
157 proc_t *cp; in cfork() local
375 cp->p_lwpdir = cp->p_lwpfree = ldp = in cfork()
379 cp->p_tidhash_sz = (cp->p_lwpdir_sz + 2) / 2; in cfork()
438 cp->p_tidhash, cp->p_tidhash_sz, 0); in cfork()
631 cp->p_lwpdir_sz * sizeof (*cp->p_lwpdir)); in cfork()
639 cp->p_tidhash_sz * sizeof (*cp->p_tidhash)); in cfork()
1242 *cpp = cp; in getproc()
1413 proc_t *cp; in vfwait() local
[all …]
/illumos-gate/usr/src/cmd/sendmail/db/btree/
H A Dbt_cursor.c102 cp->sp = cp->csp = cp->stack;
103 cp->esp = cp->stack + sizeof(cp->stack) / sizeof(cp->stack[0]);
202 if (cp->csp != cp->stack)
410 cp->dpgno == PGNO_INVALID ? &cp->pgno : &cp->dpgno,
485 cp->dpgno == PGNO_INVALID ? &cp->pgno : &cp->dpgno,
635 data, cp->dpgno, &cp->dindx, &cp->page, &cmp)) != 0)
1096 cp->pgno = cp->page->pgno;
1144 cp->pgno = cp->page->pgno;
1545 cp->page = cp->csp->page;
1547 cp->indx = cp->csp->indx;
[all …]
/illumos-gate/usr/src/lib/libresolv/
H A Dres_debug.c144 cp = p_cdname(cp, msg, file);
161 cp = p_rr(cp, msg, file);
173 cp = p_rr(cp, msg, file);
185 cp = p_rr(cp, msg, file);
256 (cp[5] << 8) + cp[6]);
271 cp = p_cdname(cp, msg, file);
288 cp = p_cdname(cp, msg, file);
290 cp = p_cdname(cp, msg, file);
307 cp = p_cdname(cp, msg, file);
328 cp = p_cdname(cp, msg, file);
[all …]
H A Dres_init.c197 while (*cp == ' ' || *cp == '\t') in res_init()
199 if ((*cp == '\0') || (*cp == '\n')) in res_init()
216 while (*cp == ' ' || *cp == '\t') in res_init()
218 if ((*cp == '\0') || (*cp == '\n')) in res_init()
235 if (*cp == ' ' || *cp == '\t') { in res_init()
244 while (*cp != '\0' && *cp != ' ' && *cp != '\t') in res_init()
255 while (*cp == ' ' || *cp == '\t') in res_init()
257 if ((*cp == '\0') || (*cp == '\n')) in res_init()
288 for (cp = _res.defdname, n = 0; *cp; cp++) in res_init()
294 cp = strchr(cp, (int)'.'); in res_init()
[all …]
H A Dres_mkquery.c191 cp += n;
207 cp += n;
213 putlong(0, cp);
215 putshort(0, cp);
231 putlong(0, cp);
241 cp += datalen;
265 cp += n;
270 putlong(0, cp);
280 cp += datalen;
293 cp += n;
[all …]
/illumos-gate/usr/src/lib/libumem/common/
H A Dumem.c936 cp = cp->cache_next) in umem_cache_applyall()
1042 cp = cp->cache_next) in umem_updateall()
1092 cp = cp->cache_prev) { in umem_error()
1545 cp->cache_bufmax = cp->cache_buftotal; in umem_slab_alloc()
1958 umem_depot_free(cp, &cp->cache_empty, in _umem_cache_alloc()
2069 umem_depot_free(cp, &cp->cache_full, in _umem_cache_free()
2309 cp->cache_reclaim(cp->cache_private); in umem_cache_reap()
2889 cp->cache_color = cp->cache_mincolor; in umem_cache_create()
2897 cp->cache_nullslab.slab_cache = cp; in umem_cache_create()
2972 cp->cache_prev = cp->cache_next = NULL; in umem_cache_destroy()
[all …]
/illumos-gate/usr/src/cmd/mailx/
H A Dutil.c65 for (cp = str; *cp; cp++) in savestr()
70 for (cp = str, cp2 = top; *cp; cp++) in savestr()
224 while (cp > linebuf && isspace(*cp)) in gethfield()
268 cp++; in hcontents()
269 while (*cp && isspace(*cp)) in hcontents()
417 for (cp = linebuf; *cp; cp++) in blankline()
609 for (cp = linebuf; *cp != ' '; cp++) in nameof()
646 for (cp = namebuf; *cp == '!'; cp++); in nameof()
648 cp = strchr(cp, '!') + 1; in nameof()
691 while (--cp >= buf && isspace(*cp)); in ripoff()
[all …]
H A Doptim.c467 for (h = 0, cp = name; *cp; h = (h << 2) + *cp++) in xlocate()
563 while (*cp && !any(*cp, metanet)) in optim()
638 if ((int)strlen(cp) > 1 && cp[strlen(cp) - 2] == LOCAL) in optim1()
645 while (*cp && tp == ntype(cp[1])) { in optim1()
723 if (cp[strlen(cp)-1] == LOCAL) { in optimex()
727 for (cp = name; *cp; cp++) { in optimex()
749 m = cp[strlen(cp) - 1]; in optimimp()
780 cp2 = rpair(cp+2, *cp); in optiboth()
818 for (cp = name; *cp; cp += 2) { in prefer()
970 while (*cp && isspace(*cp)) in yylex()
[all …]
/illumos-gate/usr/src/uts/common/io/ppp/spppcomp/
H A Dspppcomp.c278 (IS_CP_HASUNIT(cp) ? cp->cp_unit : -1), cp->cp_flags, in spppcomp_close()
286 (*cp->cp_xcomp->comp_free)(cp->cp_xstate); in spppcomp_close()
289 (*cp->cp_rcomp->decomp_free)(cp->cp_rstate); in spppcomp_close()
354 (IS_CP_HASUNIT(cp) ? cp->cp_unit : -1), in spppcomp_wput()
497 &cp->cp_vj, IS_COMP_VJCCID(cp), &vjhdr); in spppcomp_outpkt()
744 (IS_CP_HASUNIT(cp) ? cp->cp_unit : -1), in spppcomp_inner_ioctl()
870 cp->cp_unit, cp->cp_effort)); in spppcomp_inner_ioctl()
891 (IS_CP_HASUNIT(cp) ? cp->cp_unit : -1), in spppcomp_inner_ioctl()
1675 rc = (*cp->cp_rcomp->decomp_init)(cp-> in comp_ccp()
1693 (*cp->cp_xcomp->comp_reset)(cp-> in comp_ccp()
[all …]
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/edit/
H A Dhexpand.c85 if(*cp == del || *cp == '\n' || *cp == '\0')
108 cp++;
123 cp++;
187 while(cp && *cp)
190 if((*cp != hc[0] && *cp != hc[1] && *cp != hc[2])
191 || (*cp == hc[1] && cp != ln))
199 while(*++cp && *cp != '\'');
286 (*cp == ':' || isspace(*cp)
287 || *cp == '^' || *cp == '$'
288 || *cp == '*' || *cp == '-'
[all …]
/illumos-gate/usr/src/uts/common/fs/sockfs/
H A Dnl7chttp.c930 a->m.cp && b->m.cp && \
932 strncmp(a->m.cp, b->m.cp, (b->m.ep - b->m.cp))))
935 a->m.cp && ! b->m.cp || \
936 b->m.cp && ! a->m.cp || \
1086 bcopy(shttp->etag.cp, cp, cnt); in http_mkresponse()
1243 while (cp < ep && *HTTP == *cp) { in nl7c_http_request()
1254 if (*cp < '0' || *cp > '9') in nl7c_http_request()
1263 if (*cp < '0' || *cp > '9') in nl7c_http_request()
1510 if (*cp < '0' || *cp > '9') in nl7c_http_response()
1524 if (*cp < '0' || *cp > '9') in nl7c_http_response()
[all …]
/illumos-gate/usr/src/lib/libc/sparc/sys/
H A Dptrace.c142 cstatus_t *cp; in ptrace() local
415 cstatus_t *cp; in FindProc() local
417 for (cp = childp; cp != NULLCP; cp = cp->next) in FindProc()
421 return (cp); in FindProc()
438 cp = next; in CheckAllProcs()
501 (cp->asfd = Dupfd(fd, cp->asfd)) < 0) in OpenProc()
506 (cp->ctlfd = Dupfd(fd, cp->ctlfd)) < 0) in OpenProc()
511 (cp->statusfd = Dupfd(fd, cp->statusfd)) < 0) in OpenProc()
533 cp->asfd = 0; in CloseProc()
552 return (cp); in GrabProc()
[all …]
/illumos-gate/usr/src/lib/libc/i386/sys/
H A Dptrace.c142 cstatus_t *cp; in ptrace() local
407 cstatus_t *cp; in FindProc() local
409 for (cp = childp; cp != NULLCP; cp = cp->next) in FindProc()
413 return (cp); in FindProc()
430 cp = next; in CheckAllProcs()
493 (cp->asfd = Dupfd(fd, cp->asfd)) < 0) in OpenProc()
498 (cp->ctlfd = Dupfd(fd, cp->ctlfd)) < 0) in OpenProc()
503 (cp->statusfd = Dupfd(fd, cp->statusfd)) < 0) in OpenProc()
525 cp->asfd = 0; in CloseProc()
544 return (cp); in GrabProc()
[all …]
/illumos-gate/usr/src/contrib/ast/src/lib/libcmd/
H A Dfmt.c266 while (cp < lp && (*cp == ' ' || *cp == '\t')) in dofmt()
319 if (*cp == ']' || *cp == '@' && *(cp + 1) == '(') in dofmt()
326 if (*cp == '\\' && *(cp + 1) == 'n') in dofmt()
334 else if (*cp == 't' || *cp == ' ') in dofmt()
349 else if (*cp == ' ' || *cp == '\t') in dofmt()
399 else if (c == ']' && (cp >= lp || *cp != ':' && *cp != '#' && *cp != '!')) in dofmt()
401 if (cp < lp && *cp == ']') in dofmt()
489 while (cp < lp && *cp != ' ' && *cp != '\t' && *cp != ']' && dp < &buf[sizeof(buf)-3]) in dofmt()
491 if (cp < lp && (*cp == ' ' || *cp == '\t')) in dofmt()
504 for (c = ' '; *cp == ' ' || *cp == '\t'; cp++); in dofmt()
[all …]
/illumos-gate/usr/src/uts/common/io/ib/adapters/hermon/
H A Dhermon_cfg.c312 cp->cp_log_num_rdb = cp->cp_log_num_qp + in hermon_cfg_profile_init_phase2()
314 cp->cp_hca_max_rdma_in_qp = cp->cp_hca_max_rdma_out_qp = in hermon_cfg_profile_init_phase2()
318 cp->cp_num_qp_per_mcg = min(cp->cp_num_qp_per_mcg, in hermon_cfg_profile_init_phase2()
320 cp->cp_num_qp_per_mcg = (1 << highbit(cp->cp_num_qp_per_mcg + 7)) - 8; in hermon_cfg_profile_init_phase2()
385 cp->cp_log_num_mtt -= 6; in hermon_cfg_profile_init_phase2()
387 cp->cp_log_num_pd -= 6; in hermon_cfg_profile_init_phase2()
388 cp->cp_log_num_qp -= 6; in hermon_cfg_profile_init_phase2()
389 cp->cp_log_num_cq -= 6; in hermon_cfg_profile_init_phase2()
390 cp->cp_log_num_srq -= 6; in hermon_cfg_profile_init_phase2()
391 cp->cp_log_num_rdb = cp->cp_log_num_qp + in hermon_cfg_profile_init_phase2()
[all …]
/illumos-gate/usr/src/uts/sun4/os/
H A Dmp_startup.c139 cp->cpu_self = cp; in common_startup_init()
165 cpu_t *cp; in cold_flag_set() local
187 cpu_t *cp; in warm_flag_set() local
338 cp = &cpu0; in setup_cpu_common()
347 cp = cpus; in setup_cpu_common()
359 bzero(cp, sizeof (*cp)); in setup_cpu_common()
362 cp->cpu_self = cp; in setup_cpu_common()
465 kmem_free(cp->cpu_idstr, strlen(cp->cpu_idstr) + 1); in cleanup_cpu_common()
530 bzero(cp, sizeof (*cp)); in cleanup_cpu_common()
538 cpus = cp; in cleanup_cpu_common()
[all …]
/illumos-gate/usr/src/uts/sun4/io/efcode/
H A Dfc_ops.c238 cp->nresults = fc_int2cell(1); in fco_getproplen()
295 cp->nresults = fc_int2cell(1); in fco_getprop()
314 cp->nresults = fc_int2cell(1); in fco_ap_phandle()
346 cp->nresults = fc_int2cell(1); in fco_child()
378 cp->nresults = fc_int2cell(1); in fco_peer()
410 cp->nresults = fc_int2cell(1); in fco_parent()
444 cp->nresults = fc_int2cell(1); in fco_alloc_phandle()
636 cp->nresults = fc_int2cell(0); in fco_new_device()
680 cp->nresults = fc_int2cell(0); in fco_finish_device()
754 cp->nresults = fc_int2cell(0); in fco_create_property()
[all …]
/illumos-gate/usr/src/lib/libresolv2/common/resolv/
H A Dres_mkquery.c171 if ((n = dn_comp(dname, cp, ep - cp - QFIXEDSZ, dnptrs, in res_nmkquery()
174 cp += n; in res_nmkquery()
187 n = dn_comp((const char *)data, cp, ep - cp - RRFIXEDSZ, in res_nmkquery()
191 cp += n; in res_nmkquery()
251 cp = buf + n0; in res_nopt()
259 cp += INT16SZ; in res_nopt()
261 cp += INT16SZ; in res_nopt()
273 cp += INT16SZ; in res_nopt()
276 cp += INT16SZ; in res_nopt()
305 cp = buf + n0; in res_nopt_rdata()
[all …]
/illumos-gate/usr/src/uts/i86pc/os/
H A Dmp_startup.c310 cp = kmem_zalloc(sizeof (*cp), KM_SLEEP); in mp_cpu_configure_common()
368 cp->cpu_self = cp; in mp_cpu_configure_common()
455 cp->cpu_m.mcpu_mwait = cpuid_mwait_alloc(cp); in mp_cpu_configure_common()
500 return (cp); in mp_cpu_configure_common()
610 bzero(cp, sizeof (*cp)); in mp_cpu_unconfigure_common()
1474 cpu_t *cp; in start_cpu() local
1642 cpu_t *cp; in mp_cpu_configure() local
1667 ASSERT(cp != NULL && cpu_get(cpuid) == cp); in mp_cpu_configure()
1675 cpu_t *cp; in mp_cpu_unconfigure() local
2040 cmi_ntv_hwcoreid(cp), cmi_ntv_hwstrandid(cp)); in mp_cpu_faulted_enter()
[all …]
/illumos-gate/usr/src/lib/libadm/common/
H A Dfulldevnm.c349 if ((cp = getfullname(cp)) == NULL) in getfullblkname()
356 free(cp); in getfullblkname()
364 free(cp); in getfullblkname()
369 free(cp); in getfullblkname()
384 free(cp); in getfullblkname()
390 free(cp); in getfullblkname()
397 (void) strncpy(new_path, cp, dp - cp); in getfullblkname()
410 free(cp); in getfullblkname()
431 if ((cp = getfullname(cp)) == NULL) in getfullrawname()
475 (void) strncpy(new_path, cp, dp - cp); in getfullrawname()
[all …]

12345678910>>...75