Searched defs:sr (Results 1 - 25 of 59) 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/compiler-rt/lib/builtins/
H A Dudivsi3.c24 unsigned sr; local
30 sr = __builtin_clz(d) - __builtin_clz(n);
31 // 0 <= sr <= n_uword_bits - 1 or sr large
32 if (sr > n_uword_bits - 1) // d > r
34 if (sr == n_uword_bits - 1) // d == 1
36 ++sr;
37 // 1 <= sr <= n_uword_bits - 1
39 q = n << (n_uword_bits - sr);
40 r = n >> sr;
[all...]
H A Dudivmoddi4.c29 unsigned sr; local
83 sr = __builtin_clz(d.s.high) - __builtin_clz(n.s.high);
84 // 0 <= sr <= n_uword_bits - 2 or sr large
85 if (sr > n_uword_bits - 2) {
90 ++sr;
91 // 1 <= sr <= n_uword_bits - 1
92 // q.all = n.all << (n_udword_bits - sr);
94 q.s.high = n.s.low << (n_uword_bits - sr);
95 // r.all = n.all >> sr;
[all...]
H A Dudivmodti4.c31 unsigned sr; local
85 sr = __builtin_clzll(d.s.high) - __builtin_clzll(n.s.high);
86 // 0 <= sr <= n_udword_bits - 2 or sr large
87 if (sr > n_udword_bits - 2) {
92 ++sr;
93 // 1 <= sr <= n_udword_bits - 1
94 // q.all = n.all << (n_utword_bits - sr);
96 q.s.high = n.s.low << (n_udword_bits - sr);
97 // r.all = n.all >> sr;
[all...]
/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
/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/cddl/contrib/opensolaris/uts/common/fs/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);
127 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/sys/powerpc/mpc85xx/
H A Dmpc85xx.c115 law_write(uint32_t n, uint64_t bar, uint32_t sr) argument
121 ccsr_write4(OCP85XX_LAWSR_QORIQ(n), sr); local
125 ccsr_write4(OCP85XX_LAWSR_85XX(n), sr); local
140 law_read(uint32_t n, uint64_t *bar, uint32_t *sr) argument
146 *sr = ccsr_read4(OCP85XX_LAWSR_QORIQ(n));
149 *sr = ccsr_read4(OCP85XX_LAWSR_85XX(n));
156 uint32_t i,sr; local
163 law_read(i, &bar, &sr);
164 if ((sr & 0x80000000) == 0)
178 uint32_t sr, sr_tm local
208 uint32_t sr, sr_tmp; 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/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/sys/dev/ath/ath_rate/amrr/
H A Damrr.c165 int sr = ts->ts_shortretry; local
167 int retry_count = sr + lr;
/freebsd-head/contrib/llvm/tools/lldb/source/Plugins/Process/Utility/
H A DRegisterContextFreeBSD_mips64.cpp72 uint64_t sr; member in struct:_GPR
/freebsd-head/contrib/llvm/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DStore.h307 inline StoreRef::StoreRef(const StoreRef &sr) argument
308 : store(sr.store), mgr(sr.mgr)
/freebsd-head/sys/mips/mips/
H A Dpm_machdep.c321 register_t sr; local
327 sr = f->sr;
329 f->sr = sr;
444 td->td_frame->sr = MIPS_SR_KSU_USER | MIPS_SR_EXL | MIPS_SR_INT_IE |
447 td->td_frame->sr |= MIPS_SR_PX;
449 td->td_frame->sr |= MIPS_SR_PX | MIPS_SR_UX | MIPS_SR_KX;
/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/cddl/contrib/opensolaris/lib/libnvpair/
H A Dlibnvpair.c963 int sr; local
988 sr = EOF;
1027 sr = sscanf(value, "%c", &val_arg);
1028 if ((sr == 1) && (nvpair_value_byte(nvp, &val) == 0) &&
1038 sr = sscanf(value, "%c", &val_arg);
1039 if ((sr == 1) &&
1050 sr = sscanf(value, "%"SCNi8, &val_arg);
1051 if ((sr == 1) &&
1061 sr = sscanf(value, "%"SCNi8, &val_arg);
1062 if ((sr
[all...]

Completed in 353 milliseconds

123