Searched defs:cr (Results 1 - 25 of 124) sorted by relevance

12345

/freebsd-head/sys/dev/superio/
H A Dsuperio_io.h37 uint8_t cr; member in struct:superiocmd
/freebsd-head/sys/arm/freescale/imx/
H A Dimx_machdep.c70 volatile uint16_t cr, *pcr; local
78 cr = *pcr;
92 if (cr & WDOG_CR_WDT) {
93 cr &= ~WDOG_CR_WDA; /* Assert active-low ext reset bit. */
94 *pcr = cr;
107 cr &= ~WDOG_CR_SRS; /* Assert active-low software reset bit. */
108 *pcr = cr;
109 *pcr = cr;
110 *pcr = cr;
/freebsd-head/sys/arm/amlogic/aml8726/
H A Daml8726_uart_console.c95 uint32_t cr; local
110 cr = ub_getreg(AML_UART_CONTROL_REG);
112 cr &= ~(AML_UART_CONTROL_TX_INT_EN | AML_UART_CONTROL_RX_INT_EN);
114 cr |= (AML_UART_CONTROL_TX_RST | AML_UART_CONTROL_RX_RST);
116 cr |= AML_UART_CONTROL_TWO_WIRE_EN;
118 cr |= (AML_UART_CONTROL_TX_EN | AML_UART_CONTROL_RX_EN);
119 ub_setreg(AML_UART_CONTROL_REG, cr);
127 cr &= ~(AML_UART_CONTROL_TX_RST | AML_UART_CONTROL_RX_RST);
128 ub_setreg(AML_UART_CONTROL_REG, cr);
/freebsd-head/sys/fs/procfs/
H A Dprocfs_status.c71 struct ucred *cr; local
146 cr = p->p_ucred;
149 (u_long)cr->cr_uid,
150 (u_long)cr->cr_ruid,
151 (u_long)cr->cr_rgid);
153 /* egid (cr->cr_svgid) is equal to cr_ngroups[0]
156 for (i = 0; i < cr->cr_ngroups; i++) {
157 sbuf_printf(sb, ",%lu", (u_long)cr->cr_groups[i]);
160 if (jailed(cr)) {
161 mtx_lock(&cr
[all...]
/freebsd-head/sys/kern/
H A Dsubr_counter.c130 counter_ratecheck(struct counter_rate *cr, int64_t limit) argument
135 val = cr->cr_over;
138 if ((u_int)(now - cr->cr_ticks) >= hz) {
143 if ((cr->cr_lock == 0) &&
144 atomic_cmpset_acq_int(&cr->cr_lock, 0, 1)) {
149 if ((u_int)(now - cr->cr_ticks) >= hz) {
150 val = counter_u64_fetch(cr->cr_rate);
151 counter_u64_zero(cr->cr_rate);
152 cr->cr_over = 0;
153 cr
[all...]
/freebsd-head/contrib/opie/libopie/
H A Dbtoe.c2231 unsigned char cr; local
2239 cr = y & 0xff;
2243 s[start / 8 + 2] |= cr;
2247 s[start / 8 + 1] |= cr;
2249 s[start / 8] |= cr;
2258 unsigned char cr; local
2262 cr = s[start / 8 + 2];
2263 x = ((UINT4) (cl << 8 | cc) << 8 | cr);
/freebsd-head/contrib/blacklist/test/
H A Dsrvtest.c102 cr(int af, int type, in_port_t p) function
204 pfd[0].fd = cr(AF_INET, type, port);
207 pfd[1].fd = cr(AF_INET6, type, port);
/freebsd-head/contrib/netbsd-tests/lib/libc/gen/
H A Dt_vis.c157 int jr, cr; local
170 cr = strvisx(cd, s, sizeof(s), VIS_WHITE);
171 ATF_REQUIRE(jr == cr);
/freebsd-head/sys/dev/pty/
H A Dpty.c94 pty_clone(void *arg, struct ucred *cr, char *name, int namelen, argument
/freebsd-head/sys/powerpc/include/
H A Dreg.h11 register_t cr; member in struct:reg
39 int32_t cr; member in struct:reg32
H A Dframe.h55 register_t cr; member in struct:trapframe
/freebsd-head/contrib/llvm-project/lldb/source/Plugins/SymbolFile/NativePDB/
H A DUdtRecordCompleter.h46 llvm::codeview::ClassRecord cr; member in union:lldb_private::npdb::UdtRecordCompleter::UdtTagRecord
/freebsd-head/sys/rpc/
H A Dsvc_auth.c179 struct ucred *cr = NULL; local
196 cr = crget();
197 cr->cr_uid = cr->cr_ruid = cr->cr_svuid = xprt->xp_uid;
198 crsetgroups(cr, xprt->xp_ngrps, xprt->xp_gidp);
199 cr->cr_rgid = cr->cr_svgid = xprt->xp_gidp[0];
200 cr->cr_prison = &prison0;
201 prison_hold(cr
[all...]
/freebsd-head/sys/contrib/openzfs/module/icp/api/
H A Dkcf_digest.c72 * cr: crypto_call_req_t calling conditions and call back info.
83 * Process or interrupt, according to the semantics dictated by the 'cr'.
193 * cr: crypto_call_req_t calling conditions and call back info.
318 * cr: crypto_call_req_t calling conditions and call back info.
325 * Process or interrupt, according to the semantics dictated by the 'cr'.
332 crypto_call_req_t *cr)
349 if (CHECK_FASTPATH(cr, pd)) {
355 error = kcf_submit_request(pd, ctx, cr, &params, B_FALSE);
367 * cr: crypto_call_req_t calling conditions and call back info.
374 * Process or interrupt, according to the semantics dictated by the 'cr'
331 crypto_digest_update(crypto_context_t context, crypto_data_t *data, crypto_call_req_t *cr) argument
380 crypto_digest_final(crypto_context_t context, crypto_data_t *digest, crypto_call_req_t *cr) argument
417 crypto_digest_key_prov(crypto_context_t context, crypto_key_t *key, crypto_call_req_t *cr) argument
451 crypto_digest_single(crypto_context_t context, crypto_data_t *data, crypto_data_t *digest, crypto_call_req_t *cr) argument
[all...]
H A Dkcf_mac.c73 * cr: crypto_call_req_t calling conditions and call back info.
347 * cr: crypto_call_req_t calling conditions and call back info.
361 * Process or interrupt, according to the semantics dictated by the 'cr'.
505 * cr: crypto_call_req_t calling conditions and call back info.
512 * Process or interrupt, according to the semantics dictated by the 'cr'.
519 crypto_call_req_t *cr)
536 if (CHECK_FASTPATH(cr, pd)) {
542 rv = kcf_submit_request(pd, ctx, cr, &params, B_FALSE);
554 * cr: crypto_call_req_t calling conditions and call back info.
561 * Process or interrupt, according to the semantics dictated by the 'cr'
518 crypto_mac_update(crypto_context_t context, crypto_data_t *data, crypto_call_req_t *cr) argument
567 crypto_mac_final(crypto_context_t context, crypto_data_t *mac, crypto_call_req_t *cr) argument
603 crypto_mac_single(crypto_context_t context, crypto_data_t *data, crypto_data_t *mac, crypto_call_req_t *cr) argument
[all...]
/freebsd-head/sys/contrib/openzfs/module/os/freebsd/spl/
H A Dspl_vfs.c128 struct ucred *cr; local
201 cr = td->td_ucred;
204 td->td_ucred = cr;
/freebsd-head/sys/contrib/openzfs/module/os/linux/spl/
H A Dspl-cred.c57 crhold(cred_t *cr) argument
59 (void) get_cred((const cred_t *)cr);
64 crfree(cred_t *cr) argument
66 put_cred((const cred_t *)cr);
71 crgetngroups(const cred_t *cr) argument
76 gi = cr->group_info;
100 crgetgroups(const cred_t *cr) argument
105 gi = cr->group_info;
117 groupmember(gid_t gid, const cred_t *cr) argument
122 gi = cr
130 crgetuid(const cred_t *cr) argument
137 crgetruid(const cred_t *cr) argument
144 crgetsuid(const cred_t *cr) argument
151 crgetfsuid(const cred_t *cr) argument
158 crgetgid(const cred_t *cr) argument
165 crgetrgid(const cred_t *cr) argument
172 crgetsgid(const cred_t *cr) argument
179 crgetfsgid(const cred_t *cr) argument
[all...]
/freebsd-head/sys/contrib/openzfs/module/os/linux/zfs/
H A Dzpl_export.c111 cred_t *cr = CRED(); local
116 crhold(cr);
118 error = -zfs_lookup(ITOZ(child->d_inode), "..", &zp, 0, cr, NULL, NULL);
120 crfree(cr);
132 cred_t *cr = CRED(); local
139 crhold(cr);
141 error = -zfs_fsync(ITOZ(inode), 0, cr);
143 crfree(cr);
/freebsd-head/sys/contrib/ncsw/Peripherals/BM/
H A Dbman_private.h148 struct bm_mc_command *cr; member in struct:bm_mc
/freebsd-head/libexec/comsat/
H A Dcomsat.c156 static const char *cr; variable
196 cr = ((tio.c_oflag & (OPOST|ONLCR)) == (OPOST|ONLCR)) ? "\n" : "\n\r";
202 cr, utp->ut_user, (int)sizeof(hostname), hostname,
203 folder ? cr : "", folder ? "to " : "", folder ? file : "",
204 cr, cr);
257 (void)fprintf(tp, "...more...%s", cr);
281 (void)fputs(cr, tp);
284 (void)fprintf(tp, "----%s\n", cr);
/freebsd-head/usr.bin/tabs/
H A Dtabs.c84 const char *cr, *ct, *st, *ML; local
149 if ((cr = tgetstr("cr", &ap)) == NULL)
150 cr = "\r";
155 putp(cr);
183 putp(cr);
/freebsd-head/usr.sbin/bluetooth/sdpd/
H A Dserver.c349 struct xucred cr; local
353 memset(&cr, 0, sizeof(cr));
354 size = sizeof(cr);
356 if (getsockopt(cfd, 0, LOCAL_PEERCRED, &cr, &size) < 0) {
364 pw = getpwuid(cr.cr_uid);
369 cr.cr_uid);
/freebsd-head/contrib/binutils/opcodes/
H A Dppc-dis.c310 (*info->fprintf_func) (info->stream, "cr%ld", value);
314 int cr; local
317 cr = value >> 2;
318 if (cr != 0)
319 (*info->fprintf_func) (info->stream, "4*cr%d+", cr); local
/freebsd-head/sys/fs/smbfs/
H A Dsmbfs_io.c308 smbfs_doio(struct vnode *vp, struct buf *bp, struct ucred *cr, struct thread *td) argument
324 smb_makescred(scred, td, cr);
/freebsd-head/contrib/gdb/gdb/mi/
H A Dmi-cmd-var.c426 struct varobj **cr; local
451 cr = rootlist;
452 while (*cr != NULL)
454 varobj_update_one (*cr);
455 cr++;

Completed in 120 milliseconds

12345