Home
last modified time | relevance | path

Searched refs:ccp (Results 1 – 24 of 24) sorted by relevance

/titanic_41/usr/src/uts/common/syscall/
H A Dcorectl.c74 corectl_content_t *ccp; in corectl_content_alloc() local
76 ccp = kmem_zalloc(sizeof (corectl_content_t), KM_SLEEP); in corectl_content_alloc()
77 ccp->ccc_content = cc; in corectl_content_alloc()
78 ccp->ccc_refcnt = 1; in corectl_content_alloc()
80 return (ccp); in corectl_content_alloc()
84 corectl_content_value(corectl_content_t *ccp) in corectl_content_value() argument
88 mutex_enter(&ccp->ccc_mtx); in corectl_content_value()
89 content = ccp->ccc_content; in corectl_content_value()
90 mutex_exit(&ccp->ccc_mtx); in corectl_content_value()
96 corectl_content_set(corectl_content_t *ccp, core_content_t content) in corectl_content_set() argument
[all …]
/titanic_41/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/
H A Dwalk_rtree.c126 register char *ccp, *scp; in krb5_walk_realm_tree() local
205 for (com_cdot = ccp = client->data + clen - 1, in krb5_walk_realm_tree()
207 clen && slen && *ccp == *scp ; in krb5_walk_realm_tree()
208 ccp--, scp--, clen--, slen--) { in krb5_walk_realm_tree()
209 if (*ccp == realm_branch_char) { in krb5_walk_realm_tree()
210 com_cdot = ccp; in krb5_walk_realm_tree()
239 if (*ccp == realm_branch_char) { in krb5_walk_realm_tree()
242 com_cdot = ccp; in krb5_walk_realm_tree()
253 for (ccp = client->data; ccp < com_cdot; ccp++) { in krb5_walk_realm_tree()
254 if (*ccp == realm_branch_char) { in krb5_walk_realm_tree()
[all …]
/titanic_41/usr/src/uts/common/os/
H A Dkmem.c2209 kmem_cpu_reload(kmem_cpu_cache_t *ccp, kmem_magazine_t *mp, int rounds) in kmem_cpu_reload() argument
2211 ASSERT((ccp->cc_loaded == NULL && ccp->cc_rounds == -1) || in kmem_cpu_reload()
2212 (ccp->cc_loaded && ccp->cc_rounds + rounds == ccp->cc_magsize)); in kmem_cpu_reload()
2213 ASSERT(ccp->cc_magsize > 0); in kmem_cpu_reload()
2215 ccp->cc_ploaded = ccp->cc_loaded; in kmem_cpu_reload()
2216 ccp->cc_prounds = ccp->cc_rounds; in kmem_cpu_reload()
2217 ccp->cc_loaded = mp; in kmem_cpu_reload()
2218 ccp->cc_rounds = rounds; in kmem_cpu_reload()
2299 kmem_cpu_cache_t *ccp = KMEM_CPU_CACHE(cp); in kmem_dump_begin() local
2303 ccp->cc_flags |= KMF_DUMPDIVERT; in kmem_dump_begin()
[all …]
H A Dcallb.c372 callb_cpr_t *ccp = (callb_cpr_t *)cp->c_arg; in callb_is_stopped() local
375 mutex_enter(ccp->cc_lockp); in callb_is_stopped()
377 if (ccp->cc_events & CALLB_CPR_SAFE) { in callb_is_stopped()
380 mutex_exit(ccp->cc_lockp); in callb_is_stopped()
393 (ccp->cc_events & CALLB_CPR_ALWAYS_SAFE) != 0; in callb_is_stopped()
394 mutex_exit(ccp->cc_lockp); in callb_is_stopped()
/titanic_41/usr/src/lib/libumem/common/
H A Dumem.c1885 umem_cpu_reload(umem_cpu_cache_t *ccp, umem_magazine_t *mp, int rounds) in umem_cpu_reload() argument
1887 ASSERT((ccp->cc_loaded == NULL && ccp->cc_rounds == -1) || in umem_cpu_reload()
1888 (ccp->cc_loaded && ccp->cc_rounds + rounds == ccp->cc_magsize)); in umem_cpu_reload()
1889 ASSERT(ccp->cc_magsize > 0); in umem_cpu_reload()
1891 ccp->cc_ploaded = ccp->cc_loaded; in umem_cpu_reload()
1892 ccp->cc_prounds = ccp->cc_rounds; in umem_cpu_reload()
1893 ccp->cc_loaded = mp; in umem_cpu_reload()
1894 ccp->cc_rounds = rounds; in umem_cpu_reload()
1904 umem_cpu_cache_t *ccp; in _umem_cache_alloc() local
1910 ccp = UMEM_CPU_CACHE(cp, CPU(cp->cache_cpu_mask)); in _umem_cache_alloc()
[all …]
/titanic_41/usr/src/cmd/sgs/lex/common/
H A Dsub3.c273 CHR *ccp; in repbycgid() local
340 ccp = ccl; in repbycgid()
341 while (ccp < ccptr && scomp(ccltoken, ccp) != 0) in repbycgid()
342 ccp++; in repbycgid()
343 if (ccp < ccptr) { /* character class found in ccl */ in repbycgid()
344 left[i] = (int)ccp; in repbycgid()
H A Dparser.y309 CHR *ccp; variable
887 ccp = ccl;
888 while (ccp < ccptr && scomp(token, ccp) != 0) ccp++;
889 if (ccp < ccptr) { /* found in ccl */
890 yylval.cp = ccp;
/titanic_41/usr/src/lib/libbsm/common/
H A Dgetdaent.c132 char *ccp; in getdadmline() local
143 ccp = strchr(cp, '\n'); in getdadmline()
144 if (ccp != NULL) { in getdadmline()
145 if (ccp != cp && ccp[-1] == '\\') { in getdadmline()
146 ccp--; in getdadmline()
151 *ccp = NULL; in getdadmline()
157 ccp = strpbrk(buff, "#"); in getdadmline()
158 if (ccp != NULL) in getdadmline()
159 *ccp = NULL; in getdadmline()
/titanic_41/usr/src/cmd/cpc/common/
H A Dcaps.c158 const char *ccp; in capabilities() local
164 if ((ccp = cpc_cciname(cpc)) == NULL) in capabilities()
165 ccp = "No information available"; in capabilities()
167 gettext("CPU performance counter interface"), ccp); in capabilities()
226 if ((ccp = cpc_cpuref(cpc)) == NULL) in capabilities()
227 ccp = "No information available"; in capabilities()
228 if ((text = strdup(ccp)) == NULL) { in capabilities()
/titanic_41/usr/src/cmd/sgs/prof/common/
H A Dprof.c325 struct cnt *ccp; /* For scanning ccounts. */ in main() local
528 ccp = &ccounts[n_cc]; /* Point to last (+1) of call counters ... */ in main()
530 if ((--ccp)->mcnt) in main()
699 ccp = ccounts; /* Point to first call counter. */ in main()
702 qsort((char *)ccp, (unsigned)n_cc, sizeof (struct cnt), c_ccaddr); in main()
714 if (slp->sl_addr < ccp->fnpc && in main()
715 ccp->fnpc <= slp->sl_addr + sz) { in main()
722 } while (n > 0 && slp->sl_addr < ccp->fnpc); in main()
731 ccp->fnpc-slp->sl_addr, in main()
732 ccp->fnpc); in main()
[all …]
/titanic_41/usr/src/uts/sun4u/io/
H A Dppm_xgsubr.c521 struct ctlop_cmd *ccp; in ppm_get_ctlstr() local
549 for (ccp = cmds; ccp->ctlop != PMR_UNKNOWN; ccp++) in ppm_get_ctlstr()
550 if (ctlop == ccp->ctlop) in ppm_get_ctlstr()
553 if (ccp->flags & mask) in ppm_get_ctlstr()
554 return (ccp->str); in ppm_get_ctlstr()
/titanic_41/usr/src/cmd/mdb/common/modules/libumem/
H A Dlibumem.c86 umastat_cpu_avail(uintptr_t addr, const umem_cpu_cache_t *ccp, int *avail) in umastat_cpu_avail() argument
88 if (ccp->cc_rounds > 0) in umastat_cpu_avail()
89 *avail += ccp->cc_rounds; in umastat_cpu_avail()
90 if (ccp->cc_prounds > 0) in umastat_cpu_avail()
91 *avail += ccp->cc_prounds; in umastat_cpu_avail()
98 umastat_cpu_alloc(uintptr_t addr, const umem_cpu_cache_t *ccp, int *alloc) in umastat_cpu_alloc() argument
100 *alloc += ccp->cc_alloc; in umastat_cpu_alloc()
H A Dumem.c963 umem_cpu_cache_t *ccp = &cp->cache_cpu[cpu]; in umem_read_magazines() local
966 (uintptr_t)ccp - (uintptr_t)cp + addr)); in umem_read_magazines()
968 if (ccp->cc_rounds > 0 && in umem_read_magazines()
969 (ump = ccp->cc_loaded) != NULL) { in umem_read_magazines()
970 dprintf(("reading %d loaded rounds\n", ccp->cc_rounds)); in umem_read_magazines()
971 READMAG_ROUNDS(ccp->cc_rounds); in umem_read_magazines()
974 if (ccp->cc_prounds > 0 && in umem_read_magazines()
975 (ump = ccp->cc_ploaded) != NULL) { in umem_read_magazines()
977 ccp->cc_prounds)); in umem_read_magazines()
978 READMAG_ROUNDS(ccp->cc_prounds); in umem_read_magazines()
/titanic_41/usr/src/stand/lib/fs/common/
H A Dcache.c203 set_cache(cache_t **ccp, head_t *chp, int noreclaim) in set_cache() argument
242 cap->chn = ccp; in set_cache()
247 if ((cap->link[Hash+Next] = *ccp) != 0) in set_cache()
248 (*ccp)->link[Hash+Prev] = cap; in set_cache()
249 return (*ccp = cap); in set_cache()
/titanic_41/usr/src/lib/nsswitch/nis/common/
H A Dgetnetgrent.c333 typedef const char *ccp; typedef
337 int (*func)(ccp triple[3], void *iter_args, nss_status_t *return_val), in top_down()
403 ccp triple[NSS_NETGR_N]; in top_down()
513 save_triple(ccp trippp[NSS_NETGR_N], void *headp_arg, in save_triple()
589 match_triple(ccp triple[NSS_NETGR_N], void *ia_arg, nss_status_t *return_val) in match_triple()
/titanic_41/usr/src/uts/intel/io/dktp/hba/ghd/
H A Dghd_dma.h44 int ghd_dma_buf_bind_attr(ccc_t *ccp, gcmd_t *gcmdp, struct buf *bp,
/titanic_41/usr/src/uts/common/io/ppm/
H A Dppm_subr.c1359 struct ctlop_cmd *ccp; in ppm_get_ctlstr() local
1391 for (ccp = cmds; ccp->ctlop != PMR_UNKNOWN; ccp++) in ppm_get_ctlstr()
1392 if (ctlop == ccp->ctlop) in ppm_get_ctlstr()
1395 if (ccp->flags & mask) in ppm_get_ctlstr()
1396 return (ccp->str); in ppm_get_ctlstr()
/titanic_41/usr/src/lib/libcurses/screen/
H A Dsetupterm.c237 char *lcp, *ccp, **on_sequences, **str_array; in setupterm() local
581 ccp = getenv("COLUMNS"); in setupterm()
591 if (ccp) in setupterm()
592 if ((icolumns = atoi(ccp)) > 0) { in setupterm()
/titanic_41/usr/src/uts/common/sys/
H A Dkmem_impl.h181 #define KMEM_DUMPCC(ccp) ((ccp)->cc_flags & KMF_DUMPDIVERT) argument
/titanic_41/usr/src/cmd/cmd-inet/usr.bin/pppd/
H A DMakefile13 OBJS= auth.o ccp.o chap.o demand.o fsm.o ipcp.o ipv6cp.o \
/titanic_41/usr/src/uts/common/sys/fibre-channel/fca/emlxs/
H A Demlxs_iocb.h565 uint32_t ccp:8; /* word 10 */ member
578 uint32_t ccp:8; member
/titanic_41/usr/src/cmd/mdb/common/modules/genunix/
H A Dkmem.c1050 kmem_cpu_cache_t *ccp = &cp->cache_cpu[cpu]; in kmem_read_magazines() local
1053 if (KMEM_DUMPCC(ccp)) { in kmem_read_magazines()
1054 rounds = ccp->cc_dump_rounds; in kmem_read_magazines()
1055 prounds = ccp->cc_dump_prounds; in kmem_read_magazines()
1057 rounds = ccp->cc_rounds; in kmem_read_magazines()
1058 prounds = ccp->cc_prounds; in kmem_read_magazines()
1062 (uintptr_t)ccp - (uintptr_t)cp + addr)); in kmem_read_magazines()
1065 (kmp = ccp->cc_loaded) != NULL) { in kmem_read_magazines()
1071 (kmp = ccp->cc_ploaded) != NULL) { in kmem_read_magazines()
H A Dgenunix.c1931 kmastat_cpu_avail(uintptr_t addr, const kmem_cpu_cache_t *ccp, int *avail) in kmastat_cpu_avail() argument
1935 if (KMEM_DUMPCC(ccp)) { in kmastat_cpu_avail()
1936 rounds = ccp->cc_dump_rounds; in kmastat_cpu_avail()
1937 prounds = ccp->cc_dump_prounds; in kmastat_cpu_avail()
1939 rounds = ccp->cc_rounds; in kmastat_cpu_avail()
1940 prounds = ccp->cc_prounds; in kmastat_cpu_avail()
1952 kmastat_cpu_alloc(uintptr_t addr, const kmem_cpu_cache_t *ccp, int *alloc) in kmastat_cpu_alloc() argument
1954 *alloc += ccp->cc_alloc; in kmastat_cpu_alloc()
/titanic_41/usr/src/uts/common/io/fibre-channel/fca/emlxs/
H A Demlxs_sli4.c6528 iocb->unsli3.ext_rcv.ccp = fchdr.rsvd; in emlxs_sli4_process_unsol_rcv()
6596 iocb->unsli3.ext_rcv.ccp = fchdr.rsvd; in emlxs_sli4_process_unsol_rcv()
6687 iocb->unsli3.ext_rcv.ccp = fchdr.rsvd; in emlxs_sli4_process_unsol_rcv()