Home
last modified time | relevance | path

Searched refs:lc (Results 1 – 25 of 192) sorted by relevance

12345678

/freebsd-14.2/sys/kern/
H A Dkern_loginclass.c96 free(lc, M_LOGINCLASS); in loginclass_free()
107 struct loginclass *lc; in loginclass_lookup() local
112 loginclass_hold(lc); in loginclass_lookup()
116 return (lc); in loginclass_lookup()
136 loginclass_hold(lc); in loginclass_find()
137 return (lc); in loginclass_find()
143 if (lc != NULL) in loginclass_find()
144 return (lc); in loginclass_find()
160 lc = new_lc; in loginclass_find()
167 return (lc); in loginclass_find()
[all …]
H A Dkern_ctf.c63 bzero(lc, sizeof(*lc)); in link_elf_ctf_get()
77 lc->ctftab = ef->ctftab; in link_elf_ctf_get()
78 lc->ctfcnt = ef->ctfcnt; in link_elf_ctf_get()
79 lc->symtab = ef->ddbsymtab; in link_elf_ctf_get()
80 lc->strtab = ef->ddbstrtab; in link_elf_ctf_get()
81 lc->strcnt = ef->ddbstrcnt; in link_elf_ctf_get()
82 lc->nsym = ef->ddbsymcnt; in link_elf_ctf_get()
85 lc->typlenp = &ef->typlen; in link_elf_ctf_get()
261 lc->ctftab = ef->ctftab; in link_elf_ctf_get()
262 lc->ctfcnt = ef->ctfcnt; in link_elf_ctf_get()
[all …]
/freebsd-14.2/crypto/openssl/providers/implementations/include/prov/
H A Dciphercommon_aead.h14 #define IMPLEMENT_aead_cipher(alg, lc, UCMODE, flags, kbits, blkbits, ivbits) \ argument
15 static OSSL_FUNC_cipher_get_params_fn alg##_##kbits##_##lc##_get_params; \
16 static int alg##_##kbits##_##lc##_get_params(OSSL_PARAM params[]) \
21 static OSSL_FUNC_cipher_newctx_fn alg##kbits##lc##_newctx; \
22 static void * alg##kbits##lc##_newctx(void *provctx) \
24 return alg##_##lc##_newctx(provctx, kbits); \
26 static void * alg##kbits##lc##_dupctx(void *src) \
28 return alg##_##lc##_dupctx(src); \
30 const OSSL_DISPATCH ossl_##alg##kbits##lc##_functions[] = { \
31 { OSSL_FUNC_CIPHER_NEWCTX, (void (*)(void))alg##kbits##lc##_newctx }, \
[all …]
/freebsd-14.2/sys/netinet/
H A Dtcp_lro.c189 lc->ifp = ifp; in tcp_lro_init_args()
197 memset(lc, 0, sizeof(*lc)); in tcp_lro_init_args()
210 memset(lc, 0, sizeof(*lc)); in tcp_lro_init_args()
861 (*lc->ifp->if_input)(lc->ifp, le->m_head); in tcp_flush_out_entry()
1226 tcp_lro_sort(lc->lro_mbuf_data, lc->lro_mbuf_count); in tcp_lro_flush_all()
1252 (*lc->ifp->if_input)(lc->ifp, mb); in tcp_lro_flush_all()
1276 return (&lc->lro_hash[hash % lc->lro_hashsz]); in tcp_lro_rx_get_bucket()
1474 (*lc->ifp->if_input) (lc->ifp, mb); in tcp_lro_queue_mbuf()
1489 lc->lro_mbuf_data[lc->lro_mbuf_count].seq = in tcp_lro_queue_mbuf()
1495 lc->lro_mbuf_data[lc->lro_mbuf_count].mb = mb; in tcp_lro_queue_mbuf()
[all …]
H A Dtcp_lro_hpts.c186 bintime2timeval(&lc->lro_last_queue_time, &btv); in tcp_lro_log()
222 tcp_lro_log(tp, lc, le, NULL, 21, 0, 0, 0, 0); in tcp_lro_get_last_if_ackcmp()
233 m->m_pkthdr.rcvif = lc->ifp; in tcp_lro_get_last_if_ackcmp()
271 ETHER_BPF_MTAP(lc->ifp, m); in do_bpf_strip_and_compress()
536 CURVNET_SET(lc->ifp->if_vnet); in _tcp_lro_flush_tcphpts()
554 tp = tcp_lro_lookup(lc->ifp, in _tcp_lro_flush_tcphpts()
568 tp->t_lro_cpu = lc->lro_last_cpu; in _tcp_lro_flush_tcphpts()
580 bpf_req = bpf_peers_present(lc->ifp->if_bpf); in _tcp_lro_flush_tcphpts()
583 if (lc->ifp->if_type == IFT_IEEE8023ADLAG || in _tcp_lro_flush_tcphpts()
584 lc->ifp->if_type == IFT_INFINIBANDLAG) { in _tcp_lro_flush_tcphpts()
[all …]
/freebsd-14.2/lib/libutil/
H A Dlogin_class.c79 if (lc == NULL) in setclassresources()
372 login_cap_t *lc; in setclasscontext() local
379 rc = lc ? setusercontext(lc, NULL, 0, flags) : -1; in setclasscontext()
380 login_close(lc); in setclasscontext()
418 lc->lc_class, in setclassumask()
435 if (lc == NULL) in setlogincontext()
456 setclasscpumask(lc); in setlogincontext()
484 lc->lc_class, in setclasspriority()
514 lc ? lc->lc_class : "<none>"); in setclasspriority()
537 if (lc == NULL) { in setusercontext()
[all …]
H A Dlogin_cap.c258 if (lc) { in login_close()
259 free(lc->lc_style); in login_close()
261 free(lc->lc_cap); in login_close()
262 free(lc); in login_close()
364 return lc; in login_getclassbyname()
387 free(lc); in login_getclassbyname()
642 if (lc == NULL || lc->lc_cap == NULL) in login_getcaptime()
730 if (lc == NULL || lc->lc_cap == NULL) in login_getcapnum()
827 if (lc == NULL || lc->lc_cap == NULL) in login_getcapsize()
894 if (lc == NULL || lc->lc_cap == NULL) in login_getcapbool()
[all …]
H A Dlogin_ok.c89 login_timelist(login_cap_t *lc, char const *cap, int *ltno, in login_timelist() argument
96 if ((tl = login_getcaplist(lc, cap, NULL)) != NULL) { in login_timelist()
131 if (lc != NULL && tty != NULL && *tty != '\0') { in login_ttyok()
138 ttl = login_getcaplist(lc, allowcap, NULL); in login_ttyok()
144 ttl = login_getcaplist(lc, denycap, NULL); in login_ttyok()
161 auth_ttyok(login_cap_t *lc, const char * tty) in auth_ttyok() argument
180 if (lc != NULL && in login_hostok()
184 hl = login_getcaplist(lc, allowcap, NULL); in login_hostok()
189 hl = login_getcaplist(lc, denycap, NULL); in login_hostok()
217 auth_timeok(login_cap_t *lc, time_t t) in auth_timeok() argument
[all …]
/freebsd-14.2/crypto/openssl/providers/implementations/ciphers/
H A Dcipher_aes_siv.c255 #define IMPLEMENT_cipher(alg, lc, UCMODE, flags, kbits, blkbits, ivbits) \ argument
256 static OSSL_FUNC_cipher_newctx_fn alg##kbits##lc##_newctx; \
257 static OSSL_FUNC_cipher_freectx_fn alg##_##lc##_freectx; \
258 static OSSL_FUNC_cipher_dupctx_fn lc##_dupctx; \
259 static OSSL_FUNC_cipher_encrypt_init_fn lc##_einit; \
260 static OSSL_FUNC_cipher_decrypt_init_fn lc##_dinit; \
261 static OSSL_FUNC_cipher_update_fn lc##_stream_update; \
262 static OSSL_FUNC_cipher_final_fn lc##_stream_final; \
263 static OSSL_FUNC_cipher_cipher_fn lc##_cipher; \
264 static OSSL_FUNC_cipher_get_params_fn alg##_##kbits##_##lc##_get_params; \
[all …]
/freebsd-14.2/lib/libc/stdlib/
H A Dstrfmon.c133 lc = localeconv_l(loc); in vstrfmon_l()
267 currency_symbol, lc) - in vstrfmon_l()
285 &signstr, lc); in vstrfmon_l()
433 lc->negative_sign; in __setup_vars()
438 *signstr = lc->positive_sign; in __setup_vars()
440 *cs_precedes = lc->n_cs_precedes; in __setup_vars()
444 lc->negative_sign; in __setup_vars()
449 *signstr = lc->positive_sign; in __setup_vars()
468 lc); in __calc_left_pad()
538 grouping = lc->mon_grouping; in __format_grouped_double()
[all …]
/freebsd-14.2/usr.bin/env/
H A Denv.c79 login_cap_t *lc; in main() local
90 lc = NULL; in main()
168 if (lc == NULL) in main()
172 lc = login_getpwclass(pw); in main()
173 if (lc == NULL) in main()
181 setclassenvironment(lc, pw, 1); in main()
182 setclassenvironment(lc, pw, 0); in main()
184 login_close(lc); in main()
186 setclassenvironment(lc, pw, 1); in main()
191 if (lc != NULL) in main()
[all …]
/freebsd-14.2/lib/libc/tests/stdlib/
H A Dstrfmon_test.c39 struct lconv *lc; in ATF_TC_BODY() local
45 lc = localeconv(); in ATF_TC_BODY()
49 ts = lc->thousands_sep; in ATF_TC_BODY()
119 struct lconv *lc; in ATF_TC_BODY() local
125 lc = localeconv(); in ATF_TC_BODY()
126 lc->n_cs_precedes = 0; in ATF_TC_BODY()
133 lc->n_sign_posn = j; in ATF_TC_BODY()
162 struct lconv *lc; in ATF_TC_BODY() local
168 lc = localeconv(); in ATF_TC_BODY()
169 lc->n_cs_precedes = 1; in ATF_TC_BODY()
[all …]
/freebsd-14.2/sys/cddl/dev/fbt/
H A Dfbt.c376 if (lc->symtab == NULL) { in fbt_ctfoff_init()
382 *lc->ctfoffp = ctfoff; in fbt_ctfoff_init()
637 *lc->typlenp = ctf_typemax; in fbt_typoff_init()
642 *lc->typoffp = xp; in fbt_typoff_init()
977 ctf_decl_push(cd, lc, t); in ctf_decl_push()
982 ctf_decl_push(cd, lc, t); in ctf_decl_push()
989 ctf_decl_push(cd, lc, t); in ctf_decl_push()
1142 linker_ctf_t lc; in fbt_getargdesc() local
1165 if (*lc.ctfoffp == NULL) { in fbt_getargdesc()
1178 ctfoff = *lc.ctfoffp; in fbt_getargdesc()
[all …]
/freebsd-14.2/lib/libpam/modules/pam_nologin/
H A Dpam_nologin.c63 login_cap_t *lc; in pam_sm_acct_mgmt() local
86 lc = login_getpwclass(pwd); in pam_sm_acct_mgmt()
87 if (lc == NULL) { in pam_sm_acct_mgmt()
92 if (login_getcapbool(lc, "ignorenologin", 0)) { in pam_sm_acct_mgmt()
93 login_close(lc); in pam_sm_acct_mgmt()
97 nologin = login_getcapstr(lc, "nologin", nologin_def, nologin_def); in pam_sm_acct_mgmt()
101 login_close(lc); in pam_sm_acct_mgmt()
122 login_close(lc); in pam_sm_acct_mgmt()
/freebsd-14.2/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_procmaps_mac.cpp252 const char *lc = layout_data->current_load_cmd_addr; in NextSegmentLoad() local
256 if (((const load_command *)lc)->cmd == kLCSegment) { in NextSegmentLoad()
257 const SegmentCommand* sc = (const SegmentCommand *)lc; in NextSegmentLoad()
281 (const char *)lc + sizeof(SegmentCommand); in NextSegmentLoad()
334 return (const load_command *)((const char *)lc + lc->cmdsize); in NextCommand()
338 for (const load_command *lc = first_lc; lc->cmd != 0; lc = NextCommand(lc)) { in FindUUID() local
339 if (lc->cmd != LC_UUID) continue; in FindUUID()
341 const uuid_command *uuid_lc = (const uuid_command *)lc; in FindUUID()
349 for (const load_command *lc = first_lc; lc->cmd != 0; lc = NextCommand(lc)) { in IsModuleInstrumented() local
350 if (lc->cmd != LC_LOAD_DYLIB) continue; in IsModuleInstrumented()
[all …]
/freebsd-14.2/lib/libpam/modules/pam_unix/
H A Dpam_unix.c91 login_cap_t *lc; in pam_sm_authenticate() local
127 lc = login_getpwclass(pwd); in pam_sm_authenticate()
131 lc = login_getclass(NULL); in pam_sm_authenticate()
135 login_close(lc); in pam_sm_authenticate()
168 login_cap_t *lc; in pam_sm_acct_mgmt() local
199 lc = login_getpwclass(pwd); in pam_sm_acct_mgmt()
200 if (lc == NULL) { in pam_sm_acct_mgmt()
219 login_close(lc); in pam_sm_acct_mgmt()
269 login_close(lc); in pam_sm_acct_mgmt()
288 login_cap_t *lc; in pam_sm_chauthtok() local
[all …]
/freebsd-14.2/cddl/contrib/opensolaris/lib/libgen/common/
H A Dgmatch.c92 wchar_t lc = 0; in gmatch() local
103 if (c == '-' && lc && *p != ']') { in gmatch()
110 valid_range(lc, c)) { in gmatch()
111 if (scc < lc || scc > c) in gmatch()
118 valid_range(lc, c)) in gmatch()
119 if (lc <= scc && in gmatch()
127 lc = c; in gmatch()
129 if (scc != lc) in gmatch()
136 if (scc == lc) in gmatch()
/freebsd-14.2/contrib/unbound/sldns/
H A Dparse.c289 int c, lc; in sldns_bget_token_par() local
310 lc = 0; in sldns_bget_token_par()
324 lc = c; in sldns_bget_token_par()
334 lc = c; in sldns_bget_token_par()
346 if (lc != '\\') { in sldns_bget_token_par()
358 lc = c; in sldns_bget_token_par()
364 lc = c; in sldns_bget_token_par()
379 lc = c; in sldns_bget_token_par()
386 lc = c; in sldns_bget_token_par()
407 lc = 0; in sldns_bget_token_par()
[all …]
/freebsd-14.2/contrib/xz/src/liblzma/lzma/
H A Dlzma_common.h35 return options->lc <= LZMA_LCLP_MAX && options->lp <= LZMA_LCLP_MAX in is_lclppb_valid()
36 && options->lc + options->lp <= LZMA_LCLP_MAX in is_lclppb_valid()
124 #define literal_subcoder(probs, lc, lp_mask, pos, prev_byte) \ argument
125 ((probs)[(((pos) & (lp_mask)) << (lc)) \
126 + ((uint32_t)(prev_byte) >> (8U - (lc)))])
131 uint32_t lc, uint32_t lp) in literal_init() argument
133 assert(lc + lp <= LZMA_LCLP_MAX); in literal_init()
135 const uint32_t coders = 1U << (lc + lp); in literal_init()
H A Dlzma_encoder.c80 const uint32_t table_size = lc->table_size; in length_update_prices()
81 lc->counters[pos_state] = table_size; in length_update_prices()
83 const uint32_t a0 = rc_bit_0_price(lc->choice); in length_update_prices()
84 const uint32_t a1 = rc_bit_1_price(lc->choice); in length_update_prices()
114 rc_bit(rc, &lc->choice, 0); in length()
117 rc_bit(rc, &lc->choice, 1); in length()
121 rc_bit(rc, &lc->choice2, 0); in length()
124 rc_bit(rc, &lc->choice2, 1); in length()
133 if (--lc->counters[pos_state] == 0) in length()
134 length_update_prices(lc, pos_state); in length()
[all …]
/freebsd-14.2/usr.bin/locale/
H A Dlocale.c660 struct lconv *lc; in kwval_lconv() local
664 lc = localeconv(); in kwval_lconv()
670 rval = lc->int_curr_symbol; in kwval_lconv()
673 rval = lc->currency_symbol; in kwval_lconv()
685 rval = lc->positive_sign; in kwval_lconv()
688 rval = lc->negative_sign; in kwval_lconv()
694 rval = &(lc->frac_digits); in kwval_lconv()
697 rval = &(lc->p_cs_precedes); in kwval_lconv()
703 rval = &(lc->n_cs_precedes); in kwval_lconv()
709 rval = &(lc->p_sign_posn); in kwval_lconv()
[all …]
/freebsd-14.2/contrib/ldns/
H A Dparse.c303 int c, lc; in ldns_bget_token() local
324 lc = 0; in ldns_bget_token()
337 lc = c; in ldns_bget_token()
346 lc = c; in ldns_bget_token()
358 if (lc != '\\') { in ldns_bget_token()
370 lc = c; in ldns_bget_token()
376 lc = c; in ldns_bget_token()
383 lc = c; in ldns_bget_token()
401 if (c == '\\' && lc == '\\') { in ldns_bget_token()
402 lc = 0; in ldns_bget_token()
[all …]
/freebsd-14.2/usr.bin/limits/
H A Dlimits.c281 login_cap_t * lc = NULL; in main() local
386 lc = login_getpwclass(pwd); in main()
388 lc = login_getclassbyname(cls, NULL); in main()
389 if (lc == NULL || strcmp(cls, lc->lc_class) != 0) in main()
391 cls, lc?lc->lc_class:"current settings"); in main()
395 if (lc != NULL) { in main()
403 limits[rcswhich].rlim_cur = resources[rcswhich].func(lc, str, val, val); in main()
468 login_close(lc); in main()
508 lc ? " for class " : " (current)", in main()
509 lc ? lc->lc_class : ""); in main()
[all …]
/freebsd-14.2/tests/sys/kern/
H A Dsonewconn_overflow.py114 lc = LogChecker()
121 if not lc.checkForMsg(V4LOGMSG):
126 if lc.checkForMsg(V4LOGMSG):
132 if not lc.checkForMsg(V6LOGMSG):
137 if lc.checkForMsg(V6LOGMSG):
143 if not lc.checkForMsg(UNIXLOGMSG):
148 if lc.checkForMsg(UNIXLOGMSG):
/freebsd-14.2/usr.bin/systat/
H A Ddevs.c392 dsshow2(int diskcol, int diskrow, int dn, int lc, struct statinfo *now, struct statinfo *then) in dsshow2() argument
419 lc = diskcol + lc * 6; in dsshow2()
420 putlongdouble(kb_per_transfer, diskrow + 1, lc, 5, 2, 0); in dsshow2()
421 putlongdouble(transfers_per_second, diskrow + 2, lc, 5, 0, 0); in dsshow2()
422 putlongdouble(mb_per_second, diskrow + 3, lc, 5, 2, 0); in dsshow2()
423 putlongdouble(device_busy, diskrow + 4, lc, 5, 0, 0); in dsshow2()
429 int i, lc; in dsshow() local
431 for (i = 0, lc = 0; i < num_devices && lc < maxdrives; i++) in dsshow()
433 dsshow2(diskcol, diskrow, i, ++lc, now, then); in dsshow()

12345678