Searched refs:off (Results 176 - 200 of 1205) sorted by relevance

1234567891011>>

/freebsd-11-stable/sys/arm/amlogic/aml8726/
H A Daml8726_uart_console.c61 ub_getreg(uint32_t off) argument
64 return *((volatile uint32_t *)(AML_UART_KVM_BASE + off));
68 ub_setreg(uint32_t off, uint32_t val) argument
71 *((volatile uint32_t *)(AML_UART_KVM_BASE + off)) = val;
/freebsd-11-stable/usr.bin/mail/
H A Ddef.h96 #define blockof(off) ((int)((off) / 4096))
97 #define boffsetof(off) ((int)((off) % 4096))
145 * line (hats off to Bill Joy!)
/freebsd-11-stable/sys/mips/mips/
H A Dmem.c79 vm_offset_t va, eva, off, v; local
101 off = uio->uio_offset & PAGE_MASK;
104 cnt = min(cnt, PAGE_SIZE - off);
109 error = uiomove_fromphys(&marr, off, cnt, uio);
/freebsd-11-stable/sys/arm/freescale/imx/
H A Dimx6_src.c59 RD4(struct src_softc *sc, bus_size_t off) argument
62 return (bus_read_4(sc->mem_res, off));
66 WR4(struct src_softc *sc, bus_size_t off, uint32_t val) argument
69 bus_write_4(sc->mem_res, off, val);
/freebsd-11-stable/sys/dev/sdhci/
H A Dsdhci_acpi.c113 bus_size_t off)
119 return bus_read_1(sc->mem_res, off);
124 bus_size_t off, uint8_t val)
130 bus_write_1(sc->mem_res, off, val);
135 bus_size_t off)
141 return bus_read_2(sc->mem_res, off);
146 bus_size_t off, uint16_t val)
152 bus_write_2(sc->mem_res, off, val);
157 bus_size_t off)
163 return bus_read_4(sc->mem_res, off);
112 sdhci_acpi_read_1(device_t dev, struct sdhci_slot *slot __unused, bus_size_t off) argument
123 sdhci_acpi_write_1(device_t dev, struct sdhci_slot *slot __unused, bus_size_t off, uint8_t val) argument
134 sdhci_acpi_read_2(device_t dev, struct sdhci_slot *slot __unused, bus_size_t off) argument
145 sdhci_acpi_write_2(device_t dev, struct sdhci_slot *slot __unused, bus_size_t off, uint16_t val) argument
156 sdhci_acpi_read_4(device_t dev, struct sdhci_slot *slot __unused, bus_size_t off) argument
167 sdhci_acpi_write_4(device_t dev, struct sdhci_slot *slot __unused, bus_size_t off, uint32_t val) argument
178 sdhci_acpi_read_multi_4(device_t dev, struct sdhci_slot *slot __unused, bus_size_t off, uint32_t *data, bus_size_t count) argument
187 sdhci_acpi_write_multi_4(device_t dev, struct sdhci_slot *slot __unused, bus_size_t off, uint32_t *data, bus_size_t count) argument
[all...]
/freebsd-11-stable/contrib/apr/file_io/unix/
H A Dseek.c110 apr_off_t off = len - offset; local
111 if (off >= 0 && off <= fp->bufpos)
112 fp->bufpos = fp->bufpos - (size_t)off;
/freebsd-11-stable/contrib/elftoolchain/libdwarf/
H A Dlibdwarf_macinfo.c34 _dwarf_macinfo_parse(Dwarf_Debug dbg, Dwarf_Section *ds, uint64_t *off, argument
45 while (*off < ds->ds_size) {
48 dmd[i].dmd_offset = *off;
50 type = dbg->read(ds->ds_data, off, 1);
63 lineno = _dwarf_read_uleb128(ds->ds_data, off);
67 dmd[i].dmd_macro = p + *off;
70 while (p[(*off)++] != '\0')
74 lineno = _dwarf_read_uleb128(ds->ds_data, off);
78 fileindex[++sp] = _dwarf_read_uleb128(ds->ds_data, off);
/freebsd-11-stable/sys/geom/linux_lvm/
H A Dg_linux_lvm.c291 /* Fire off bio's here */
700 uint64_t off; local
723 off = ll->ll_offset;
729 bcopy(data + off, uuid, 6);
730 off += 6;
734 bcopy(data + off, uuid, 4);
735 off += 4;
739 bcopy(data + off, uuid, 6);
740 off += 6;
744 ll->ll_size = le64dec(data + off);
782 uint64_t off; local
[all...]
/freebsd-11-stable/usr.bin/tail/
H A Dreverse.c80 reverse(FILE *fp, const char *fn, enum STYLE style, off_t off, struct stat *sbp) argument
82 if (style != REVERSE && off == 0)
86 r_reg(fp, fn, style, off, sbp);
91 bytes(fp, fn, off);
95 lines(fp, fn, off);
109 r_reg(FILE *fp, const char *fn, enum STYLE style, off_t off, struct stat *sbp) argument
138 if (style == RBYTES && --off == 0)
157 off--;
159 if (off == 0 && style != REVERSE) {
/freebsd-11-stable/sys/arm/allwinner/
H A Da10_ahci.c123 ahci_set(struct resource *m, bus_size_t off, uint32_t set) argument
125 uint32_t val = ATA_INL(m, off);
128 ATA_OUTL(m, off, val);
132 ahci_clr(struct resource *m, bus_size_t off, uint32_t clr) argument
134 uint32_t val = ATA_INL(m, off);
137 ATA_OUTL(m, off, val);
141 ahci_mask_set(struct resource *m, bus_size_t off, uint32_t mask, uint32_t set) argument
143 uint32_t val = ATA_INL(m, off);
147 ATA_OUTL(m, off, val);
/freebsd-11-stable/contrib/elftoolchain/elfcopy/
H A Dbinary.c54 off_t baseoff, off; local
118 off = sh.sh_addr - baseaddr;
119 if (lseek(ofd, off, SEEK_SET) < 0)
147 uint64_t off, data_start, data_end, data_size; local
195 ecp->shstrtab->off = 0;
201 off = gelf_fsize(ecp->eout, ELF_T_EHDR, 1, EV_CURRENT);
202 if (off == 0)
205 off, SHT_PROGBITS, ELF_T_BYTE, SHF_ALLOC | SHF_WRITE, 1, 0, 1);
279 oeh.e_shoff = shtab->off;
/freebsd-11-stable/sys/dev/ath/ath_hal/
H A Dah_eeprom_v3.c75 uint16_t eeval, off; local
87 off = GROUPS_OFFSET3_3 + GROUP1_OFFSET;
89 EEREAD(off++);
94 off = GROUPS_OFFSET3_2 + GROUP1_OFFSET;
96 EEREAD(off++);
101 EEREAD(off++);
106 EEREAD(off++);
111 EEREAD(off++);
117 EEREAD(off++);
287 uint32_t off; local
738 uint32_t off; local
818 uint32_t off; local
924 uint32_t off; local
1021 uint32_t off; local
1137 uint32_t off; local
[all...]
/freebsd-11-stable/stand/i386/zfsboot/
H A Dzfsboot.c195 vdev_read(void *xvdev, void *priv, off_t off, void *buf, size_t bytes) argument
203 if ((off & (DEV_BSIZE - 1)) || (bytes & (DEV_BSIZE - 1)))
207 lba = off / DEV_BSIZE;
213 alignlba = rounddown2(off, DEV_GELIBOOT_BSIZE) / DEV_BSIZE;
267 vdev_read2(vdev_t *vdev, void *priv, off_t off, void *buf, size_t bytes) argument
269 return vdev_read(vdev, priv, off, buf, bytes);
274 vdev_write(vdev_t *vdev, void *priv, off_t off, void *buf, size_t bytes) argument
281 if ((off & (DEV_BSIZE - 1)) || (bytes & (DEV_BSIZE - 1)))
285 lba = off / DEV_BSIZE;
321 off_t off local
331 DVA_SET_OFFSET(BP_IDENTITY(&bp), off); local
343 off_t off = offsetof(vdev_label_t, vl_pad2); local
708 off_t off; local
929 off_t off; local
[all...]
/freebsd-11-stable/sys/contrib/ipfilter/netinet/
H A Dip_rpcb_pxy.c203 /* Given a presumed RPCB request, perform some minor tests and pass off */
204 /* for decoding. Also pass packet off for a rewrite if necessary. */
215 u_int off, dlen; local
227 off = (char *)fin->fin_dp - (char *)fin->fin_ip;
228 off += sizeof(udphdr_t) + fin->fin_ipoff;
238 COPYDATA(m, off, dlen, (caddr_t)&rm->rm_msgbuf);
241 /* Send off to decode request. */
253 rv = ipf_p_rpcb_modreq(fin, nat, rm, m, off);
273 /* Given a presumed RPCB reply, perform some minor tests and pass off */
288 u_int off, dle local
[all...]
/freebsd-11-stable/sys/kern/
H A Dkern_sendfile.c195 xfsize(int i, int n, off_t off, off_t len) argument
199 return (omin(PAGE_SIZE - (off & PAGE_MASK), len));
201 if (i == n - 1 && ((off + len) & PAGE_MASK) > 0)
202 return ((off + len) & PAGE_MASK);
211 vmoff(int i, off_t off) argument
215 return ((vm_ooffset_t)off);
217 return (trunc_page(off + i * PAGE_SIZE));
226 fixspace(int old, int new, off_t off, int *space) argument
232 *space -= xfsize(old - 1, old, off, *space);
241 *space -= xfsize(0, old, off, *spac
307 sendfile_swapin(vm_object_t obj, struct sf_io *sfio, off_t off, off_t len, int npages, int rhpages, int flags) argument
530 off_t off, sbytes, rem, obj_size; local
[all...]
/freebsd-11-stable/sys/netipsec/
H A Dxform_ah.c280 int off, count; local
321 for (off = sizeof(struct ip); off < skip;) {
322 if (ptr[off] == IPOPT_EOL || ptr[off] == IPOPT_NOP ||
323 off + 1 < skip)
327 "option %d\n", __func__, ptr[off]));
333 switch (ptr[off]) {
335 off = skip; /* End the loop. */
339 off
[all...]
/freebsd-11-stable/sys/netinet/
H A Dip_options.c105 int opt, optlen, cnt, off, code, type = ICMP_PARAMPROB, forward = 0; local
163 if ((off = cp[IPOPT_OFFSET]) < IPOPT_MINOFF) {
183 off--; /* 0 origin */
184 if (off > optlen - (int)sizeof(struct in_addr)) {
232 (void)memcpy(&ipaddr.sin_addr, cp + off,
249 memcpy(cp + off, &(IA_SIN(ia)->sin_addr),
258 memcpy(cp + off, &nh_ext.nh_src,
279 if ((off = cp[IPOPT_OFFSET]) < IPOPT_MINOFF) {
286 off--; /* 0 origin */
287 if (off > optle
[all...]
/freebsd-11-stable/contrib/gdb/gdb/
H A Dnto-tdep.h108 #define nto_register_area(reg, regset, off) \
109 (*current_nto_target.nto_register_area) (reg, regset, off)
/freebsd-11-stable/contrib/dialog/samples/
H A Dbuildlist215 state=off
/freebsd-11-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/misc/
H A Dtst.boolopt.d43 #pragma D option flowindent=off
/freebsd-11-stable/contrib/binutils/gas/
H A Dfrags.c119 /* Call this to close off a completed frag, and start up a new (empty)
184 Close off the old frag with a .fill 0.
203 current frag. Close off the old frag with a .fill 0.
405 bfd_vma off;
409 off = frag1->fr_address - frag2->fr_address;
412 *offset = off;
420 off += frag->fr_fix + frag->fr_offset * frag->fr_var;
426 *offset = off;
432 off = frag1->fr_address - frag2->fr_address;
436 off
395 bfd_vma off; local
[all...]
/freebsd-11-stable/sys/ddb/
H A Ddb_sym.h98 char **filename, int *linenum, db_expr_t off);
100 c_db_sym_t X_db_search_symbol(db_symtab_t *symtab, db_addr_t off,
H A Ddb_main.c68 db_expr_t off)
95 X_db_search_symbol(db_symtab_t *symtab, db_addr_t off, db_strategy_t strat, argument
103 if (!linker_ddb_search_symbol((caddr_t)off, &lsym, &diff)) {
115 if (off < sym->st_value)
121 if ((off - sym->st_value) > diff)
123 if ((off - sym->st_value) < diff) {
124 diff = off - sym->st_value;
144 *diffp = (match == NULL) ? off : diff;
67 X_db_line_at_pc(db_symtab_t *symtab, c_db_sym_t sym, char **file, int *line, db_expr_t off) argument
/freebsd-11-stable/sys/dev/usb/net/
H A Dif_cdcereg.h50 #define CDCE_NCM_ALIGN(rem,off,mod) \
52 ((uint32_t)((-(uint32_t)(off)) & (-(uint32_t)(mod))))))
/freebsd-11-stable/libexec/rtld-elf/i386/
H A Drtld_machdep.h68 #define calculate_tls_end(off, size) (off)

Completed in 174 milliseconds

1234567891011>>