Searched defs:sr (Results 1 - 25 of 54) sorted by relevance

123

/freebsd-head/tools/tools/aac/
H A Daac_checkq.c58 union aac_statrequest sr; local
72 bzero(&sr, sizeof(union aac_statrequest));
73 sr.as_item = queue;
74 retval = ioctl(fd, AACIO_STATS, &sr);
80 printf("length= %d, max= %d\n",sr.as_qstat.q_length, sr.as_qstat.q_max);
/freebsd-head/tools/tools/mfi/
H A Dmfi_checkq.c55 union mfi_statrequest sr; local
69 bzero(&sr, sizeof(union mfi_statrequest));
70 sr.ms_item = queue;
71 retval = ioctl(fd, MFIIO_STATS, &sr);
77 printf("length= %d, max= %d\n",sr.ms_qstat.q_length, sr.ms_qstat.q_max);
/freebsd-head/contrib/ipfilter/ipsend/
H A Dsirix.c37 struct sockaddr_raw sr; local
45 memset(&sr, 0, sizeof(sr));
46 sr.sr_family = AF_RAW;
47 sr.sr_port = ETHERTYPE_IP;
48 strncpy(sr.sr_ifname, device, sizeof(sr.sr_ifname));
49 if (bind(fd, &sr, sizeof(sr)) < 0)
64 struct sockaddr_raw sr; local
[all...]
/freebsd-head/sys/mips/include/
H A Dsignal.h73 __register_t sr; /* status register */ member in struct:sigcontext
H A Ducontext.h53 __register_t sr; /* status register */ member in struct:__mcontext
69 int32_t sr; member in struct:__mcontext32
H A Dframe.h88 register_t sr; member in struct:trapframe
/freebsd-head/contrib/llvm-project/compiler-rt/lib/builtins/
H A Dudivmoddi4.c36 unsigned sr; local
90 sr = clzsi(d.s.high) - clzsi(n.s.high);
91 // 0 <= sr <= n_uword_bits - 2 or sr large
92 if (sr > n_uword_bits - 2) {
97 ++sr;
98 // 1 <= sr <= n_uword_bits - 1
99 // q.all = n.all << (n_udword_bits - sr);
101 q.s.high = n.s.low << (n_uword_bits - sr);
102 // r.all = n.all >> sr;
[all...]
/freebsd-head/contrib/unbound/util/
H A Dtube.h66 int sr; member in struct:tube
/freebsd-head/lib/libc/tests/string/
H A Dwcscoll_test.c139 int sr = strcoll(data[i].sval, data[j].sval); local
142 ATF_CHECK_MSG(!((sr * sx < 0) ||
143 (sr * sx == 0 && sr + sx != 0)),
/freebsd-head/sys/dev/mii/
H A Dtruephy.c280 int bmsr, bmcr, sr; local
285 sr = PHY_READ(sc, TRUEPHY_SR);
299 switch (sr & TRUEPHY_SR_SPD_MASK) {
311 printf("invalid media SR %#x\n", sr);
316 if (sr & TRUEPHY_SR_FDX)
/freebsd-head/sys/contrib/openzfs/module/zfs/
H A Dspace_reftree.c77 space_ref_t *sr; local
80 while ((sr = avl_destroy_nodes(t, &cookie)) != NULL)
81 kmem_free(sr, sizeof (*sr));
89 space_ref_t *sr; local
91 sr = kmem_alloc(sizeof (*sr), KM_SLEEP);
92 sr->sr_offset = offset;
93 sr->sr_refcnt = refcnt;
95 avl_add(t, sr);
130 space_ref_t *sr; local
[all...]
/freebsd-head/lib/msun/tests/
H A Dfenv_test.c75 unsigned i, j, sr; local
78 for (sr = i, j = 0; sr != 0; sr >>= 1, j++)
79 std_except_sets[i] |= std_excepts[j] & ((~sr & 1) - 1);
/freebsd-head/lib/libiconv_modules/mapper_serial/
H A Dcitrus_mapper_serial.c106 uninit(struct _citrus_mapper_serial *sr) argument
110 while ((ml = STAILQ_FIRST(&sr->sr_mappers)) != NULL) {
111 STAILQ_REMOVE_HEAD(&sr->sr_mappers, ml_entry);
119 struct _citrus_mapper_serial *sr, struct _memstream *ms)
126 STAILQ_INIT(&sr->sr_mappers);
154 STAILQ_INSERT_TAIL(&sr->sr_mappers, ml, ml_entry);
166 struct _citrus_mapper_serial *sr; local
173 sr = malloc(sizeof(*sr));
174 if (sr
118 parse_var(struct _citrus_mapper_area *__restrict ma, struct _citrus_mapper_serial *sr, struct _memstream *ms) argument
207 struct _citrus_mapper_serial *sr; local
226 struct _citrus_mapper_serial *sr; local
[all...]
/freebsd-head/sys/mips/nlm/hal/
H A Dhaldefs.h53 uint32_t sr = mips_rd_status(); local
55 mips_wr_status((sr & ~MIPS_SR_INT_IE) | MIPS_SR_KX);
56 return (sr);
61 uint32_t sr = mips_rd_status(); local
63 mips_wr_status((sr & ~MIPS_SR_INT_IE) | MIPS_SR_COP_2_BIT);
64 return (sr);
67 static inline void nlm_restore_flags(uint32_t sr) argument
69 mips_wr_status(sr);
110 uint32_t valhi, vallo, sr; local
112 sr
132 uint32_t valhi, vallo, sr; local
247 uint32_t val, addrhi, addrlo, sr; local
274 uint32_t addrhi, addrlo, sr; local
297 uint32_t addrh, addrl, sr; local
326 uint32_t addrh, addrl, sr; local
[all...]
/freebsd-head/tests/sys/kern/
H A Dreaper.c297 ssize_t sr; local
344 sr = read(pip[0], &st, sizeof(st));
345 ATF_REQUIRE_EQ((ssize_t)sizeof(st), sr);
352 sr = read(pip[0], &st, sizeof(st));
353 ATF_REQUIRE_EQ((ssize_t)sizeof(st), sr);
381 ssize_t sr; local
443 sr = write(pipa[1], &(uint8_t){ 0 }, 1);
444 ATF_REQUIRE_EQ(1, sr);
445 sr = read(pipb[0], &(uint8_t){ 0 }, 1);
446 ATF_REQUIRE_EQ(1, sr);
588 ssize_t sr; local
647 ssize_t sr; local
[all...]
/freebsd-head/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DStore.h299 inline StoreRef::StoreRef(const StoreRef &sr) argument
300 : store(sr.store), mgr(sr.mgr)
/freebsd-head/sys/powerpc/mpc85xx/
H A Dmpc85xx.c114 law_write(uint32_t n, uint64_t bar, uint32_t sr) argument
120 ccsr_write4(OCP85XX_LAWSR_QORIQ(n), sr); local
124 ccsr_write4(OCP85XX_LAWSR_85XX(n), sr); local
139 law_read(uint32_t n, uint64_t *bar, uint32_t *sr) argument
145 *sr = ccsr_read4(OCP85XX_LAWSR_QORIQ(n));
148 *sr = ccsr_read4(OCP85XX_LAWSR_85XX(n));
155 uint32_t i,sr; local
162 law_read(i, &bar, &sr);
163 if ((sr & 0x80000000) == 0)
177 uint32_t sr, sr_tm local
207 uint32_t sr, sr_tmp; local
[all...]
/freebsd-head/sys/arm/amlogic/aml8726/
H A Duart_dev_aml8726.c554 uint32_t sr; local
561 sr = uart_getreg(bas, AML_UART_STATUS_REG);
564 if ((sr & AML_UART_STATUS_RX_FIFO_OVERFLOW) != 0)
567 if ((sr & AML_UART_STATUS_TX_FIFO_EMPTY) != 0 &&
576 if ((sr & AML_UART_STATUS_RX_FIFO_EMPTY) == 0)
606 uint32_t sr; local
611 sr = uart_getreg(bas, AML_UART_STATUS_REG);
612 while ((sr & AML_UART_STATUS_RX_FIFO_EMPTY) == 0) {
618 if (sr & AML_UART_STATUS_FRAME_ERR)
620 if (sr
[all...]
/freebsd-head/contrib/libpcap/
H A Dpcap-snoop.c206 struct sockaddr_raw sr; local
220 memset(&sr, 0, sizeof(sr));
221 sr.sr_family = AF_RAW;
222 (void)strncpy(sr.sr_ifname, p->opt.device, sizeof(sr.sr_ifname));
223 if (bind(fd, (struct sockaddr *)&sr, sizeof(sr))) {
/freebsd-head/contrib/llvm-project/lldb/source/Plugins/Process/Utility/
H A DRegisterContextFreeBSD_mips64.cpp72 uint64_t sr; member in struct:_GPR
/freebsd-head/sys/mips/mips/
H A Dpm_machdep.c318 register_t sr; local
324 sr = f->sr;
326 f->sr = sr;
440 td->td_frame->sr = MIPS_SR_KSU_USER | MIPS_SR_EXL | MIPS_SR_INT_IE |
443 td->td_frame->sr |= MIPS_SR_PX;
447 td->td_frame->sr |= MIPS_SR_UX;
448 td->td_frame->sr |= MIPS_SR_KX;
H A Dvm_machdep.c176 td2->td_frame->sr &= ~MIPS_SR_COP_2_BIT;
418 register_t sp, sr; local
428 sr = tf->sr;
431 tf->sr = sr;
544 DB_PRINT_REG(trapframe, sr);
/freebsd-head/sys/dev/ath/ath_rate/amrr/
H A Damrr.c167 int sr = ts->ts_shortretry; local
169 int retry_count = sr + lr;
/freebsd-head/contrib/binutils/binutils/
H A Dcoffgrok.c190 arelent *sr = section->relocation + j; local
191 r->offset = sr->address;
192 r->addend = sr->addend;
193 idx = ((coff_symbol_type *) (sr->sym_ptr_ptr[0]))->native - rawsyms;
/freebsd-head/contrib/tcpdump/
H A Dprint-udp.c224 const struct rtcp_sr *sr; local
238 sr = (const struct rtcp_sr *)(rh + 1);
239 ND_PRINT((ndo, " sr"));
240 if (len != cnt * sizeof(*rr) + sizeof(*sr) + sizeof(*rh))
244 if ((const u_char *)(sr + 1) > ep)
246 ND_TCHECK(*sr);
247 ts = (double)(EXTRACT_32BITS(&sr->sr_ntp.upper)) +
248 ((double)(EXTRACT_32BITS(&sr->sr_ntp.lower)) /
250 ND_PRINT((ndo, " @%.2f %u %up %ub", ts, EXTRACT_32BITS(&sr->sr_ts),
251 EXTRACT_32BITS(&sr
[all...]

Completed in 120 milliseconds

123