Searched refs:off (Results 276 - 300 of 1205) sorted by relevance

<<11121314151617181920>>

/freebsd-11-stable/usr.sbin/fstyp/
H A Dfstyp.h37 void *read_buf(FILE *fp, off_t off, size_t len);
/freebsd-11-stable/usr.sbin/uefisign/
H A Duefisign.h91 off_t off, size_t len, const char *name);
/freebsd-11-stable/sys/dev/sdhci/
H A Dsdhci_pci.c169 sdhci_pci_read_1(device_t dev, struct sdhci_slot *slot __unused, bus_size_t off) argument
175 return bus_read_1(sc->mem_res[slot->num], off);
180 bus_size_t off, uint8_t val)
186 bus_write_1(sc->mem_res[slot->num], off, val);
190 sdhci_pci_read_2(device_t dev, struct sdhci_slot *slot __unused, bus_size_t off) argument
196 return bus_read_2(sc->mem_res[slot->num], off);
201 bus_size_t off, uint16_t val)
207 bus_write_2(sc->mem_res[slot->num], off, val);
211 sdhci_pci_read_4(device_t dev, struct sdhci_slot *slot __unused, bus_size_t off) argument
217 return bus_read_4(sc->mem_res[slot->num], off);
179 sdhci_pci_write_1(device_t dev, struct sdhci_slot *slot __unused, bus_size_t off, uint8_t val) argument
200 sdhci_pci_write_2(device_t dev, struct sdhci_slot *slot __unused, bus_size_t off, uint16_t val) argument
221 sdhci_pci_write_4(device_t dev, struct sdhci_slot *slot __unused, bus_size_t off, uint32_t val) argument
232 sdhci_pci_read_multi_4(device_t dev, struct sdhci_slot *slot __unused, bus_size_t off, uint32_t *data, bus_size_t count) argument
241 sdhci_pci_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/sys/netpfil/pf/
H A Dpf_norm.c482 uint16_t off, total; local
493 off = 0;
497 off += frent->fe_len;
498 if (off < total && (next == NULL || next->fe_off != off)) {
500 off, next == NULL ? -1 : next->fe_off, total));
504 DPFPRINTF(("%d < %d?", off, total));
505 if (off < total)
507 KASSERT(off == total, ("off
621 int off; local
755 int off; local
962 int off; local
1141 pf_normalize_tcp(int dir, struct pfi_kif *kif, struct mbuf *m, int ipoff, int off, void *h, struct pf_pdesc *pd) argument
1260 pf_normalize_tcp_init(struct mbuf *m, int off, struct pf_pdesc *pd, struct tcphdr *th, struct pf_state_peer *src, struct pf_state_peer *dst) argument
1354 pf_normalize_tcp_stateful(struct mbuf *m, int off, struct pf_pdesc *pd, u_short *reason, struct tcphdr *th, struct pf_state *state, struct pf_state_peer *src, struct pf_state_peer *dst, int *writeback) argument
1746 pf_normalize_tcpopt(struct pf_rule *r, struct mbuf *m, struct tcphdr *th, int off, sa_family_t af) argument
[all...]
/freebsd-11-stable/contrib/apr-util/dbm/sdbm/
H A Dsdbm.c53 #define OFF_PAG(off) (apr_off_t) (off) * PBLKSIZ
54 #define OFF_DIR(off) (apr_off_t) (off) * DBLKSIZ
210 apr_off_t off = OFF_PAG(pagno); local
212 if ((status = apr_file_seek(db->pagf, APR_SET, &off)) == APR_SUCCESS)
378 /* Reads 'len' bytes from file 'f' at offset 'off' into buf.
379 * 'off' is given relative to the start of the file.
384 apr_off_t off, apr_size_t len,
389 if ((status = apr_file_seek(f, APR_SET, &off)) !
383 read_from(apr_file_t *f, void *buf, apr_off_t off, apr_size_t len, int create) argument
520 apr_off_t off; local
[all...]
/freebsd-11-stable/sys/dev/agp/
H A Dagp_amd.c56 #define READ2(off) bus_space_read_2(sc->bst, sc->bsh, off)
57 #define READ4(off) bus_space_read_4(sc->bst, sc->bsh, off)
58 #define WRITE2(off,v) bus_space_write_2(sc->bst, sc->bsh, off, v)
59 #define WRITE4(off,v) bus_space_write_4(sc->bst, sc->bsh, off, v)
/freebsd-11-stable/sys/dev/pdq/
H A Dpdq_freebsd.h141 #define PDQ_OS_IORD_32(bt, bh, off) bus_space_read_4(bt, bh, off)
142 #define PDQ_OS_IOWR_32(bt, bh, off, data) bus_space_write_4(bt, bh, off, data)
143 #define PDQ_OS_IORD_8(bt, bh, off) bus_space_read_1(bt, bh, off)
144 #define PDQ_OS_IOWR_8(bt, bh, off, data) bus_space_write_1(bt, bh, off, data)
/freebsd-11-stable/sys/powerpc/mpc85xx/
H A Dlbc.h135 uint32_t lbc_read_reg(device_t child, u_int off);
136 void lbc_write_reg(device_t child, u_int off, uint32_t val);
/freebsd-11-stable/sys/dev/iscsi/
H A Dicl_wrappers.h69 icl_pdu_get_data(struct icl_pdu *ip, size_t off, void *addr, size_t len) argument
72 ICL_CONN_PDU_GET_DATA(ip->ip_conn, ip, off, addr, len);
/freebsd-11-stable/contrib/netbsd-tests/lib/libc/regex/
H A Dt_regex_att.c364 size_t len = strlen(matches) + 1, off = 0; local
370 l = snprintf(res + off, len - off, "(?,?)");
372 l = snprintf(res + off, len - off, "(%lld,%lld)",
374 ATF_REQUIRE_MSG((size_t) l < len - off, "String too long %s"
375 " cur=%d, max=%zu", res, l, len - off);
376 off += l;
/freebsd-11-stable/stand/i386/libi386/
H A Dsmbios.c65 #define SMBIOS_GET8(base, off) (*(uint8_t *)((base) + (off)))
66 #define SMBIOS_GET16(base, off) (*(uint16_t *)((base) + (off)))
67 #define SMBIOS_GET32(base, off) (*(uint32_t *)((base) + (off)))
149 #define UUID_GET(base, off) (*(UUID_TYPE *)((base) + (off)))
/freebsd-11-stable/usr.bin/grep/
H A Dqueue.c71 item->data.off = x->off;
H A Dfile.c202 size_t off; local
227 for (len = bufrem, off = 0; ; len += bufrem) {
231 memcpy(lnbuf + off, bufpos, len - off);
237 off = len;
252 memcpy(lnbuf + off, bufpos, diff);
/freebsd-11-stable/contrib/ntp/scripts/monitoring/
H A Dntp.pl443 foreach $off (sort numerical keys(%FRAGS))
445 next unless defined($FRAGS{$off});
447 ($loff + length($FRAGS{$loff})) == $off)
449 $FRAGS{$loff} .= $FRAGS{$off};
450 delete $FRAGS{$off};
453 $loff = $off;
/freebsd-11-stable/sys/net/
H A Dmppcd.c109 uint32_t olen, off, len, bits, val, sig, i, l; local
159 off = (((val&0x0f)<<2)|getbits(isrc, 2 , &i ,&l));
163 off = ((((val&0x0f)<<4)|getbits(isrc, 4 , &i ,&l))+64);
167 off = ((((val&0x1f)<<8)|getbyte(isrc, i++, l))+320);
169 if (off > MPPE_HIST_LEN - 1) {
249 * In some cases len may be greater than off. It means that memory
250 * areas pointed by s and s-off overlap. To decode that strange case
254 lamecopy(s, s - off, len);
H A Dradix_mpath.c288 extern int in6_inithead(void **head, int off);
289 extern int in_inithead(void **head, int off);
293 rn4_mpath_inithead(void **head, int off) argument
298 if (in_inithead(head, off) == 1) {
309 rn6_mpath_inithead(void **head, int off) argument
314 if (in6_inithead(head, off) == 1) {
/freebsd-11-stable/sys/dev/extres/clk/
H A Dclk_div.c43 #define WR4(_clk, off, val) \
44 CLKDEV_WRITE_4(clknode_get_device(_clk), off, val)
45 #define RD4(_clk, off, val) \
46 CLKDEV_READ_4(clknode_get_device(_clk), off, val)
47 #define MD4(_clk, off, clr, set ) \
48 CLKDEV_MODIFY_4(clknode_get_device(_clk), off, clr, set)
/freebsd-11-stable/sys/dev/syscons/plasma/
H A Dplasma_saver.c91 unsigned int org, off; /* origin and offset */ local
97 for (y = org = off = 0; y < scrh; ++y) {
99 for (x = 0; x < scrw; ++x, ++off) {
119 if (off > banksize) {
120 off -= banksize;
125 vid[off] = FP16toI(m);
/freebsd-11-stable/sys/fs/cd9660/
H A Dcd9660_node.c122 int off; local
139 && (off = isonum_711(isodir->ext_attr_length))) {
140 cd9660_blkatoff(ITOV(inop), (off_t)-(off << imp->im_bshift), NULL,
187 int off; local
191 && (off = isonum_711(isodir->ext_attr_length))) {
192 cd9660_blkatoff(ITOV(inop), (off_t)-(off << imp->im_bshift), NULL,
/freebsd-11-stable/sys/arm/at91/
H A Dat91_st.c57 RD4(bus_size_t off) argument
61 uint32_t *p = (uint32_t *)(AT91_BASE + AT91RM92_ST_BASE + off);
66 return (bus_read_4(timer_softc->sc_mem_res, off));
70 WR4(bus_size_t off, uint32_t val) argument
74 uint32_t *p = (uint32_t *)(AT91_BASE + AT91RM92_ST_BASE + off);
79 bus_write_4(timer_softc->sc_mem_res, off, val);
/freebsd-11-stable/stand/usb/tools/
H A Dsysinit.c171 off_t off; local
211 off = lseek(input_file, 0, SEEK_END);
213 input_ptr = do_malloc(off);
214 input_len = off;
220 off = lseek(input_file, 0, SEEK_SET);
221 if (off < 0)
/freebsd-11-stable/sbin/hastd/
H A Dlzf.c118 /* off requires a type wide enough to hold a general pointer difference.
126 unsigned _int64 off; /* workaround for missing POSIX compliance */ local
128 unsigned long off; local
157 && (off = ip - ref - 1) < MAX_OFF
219 *op++ = (off >> 8) + (len << 5);
223 *op++ = (off >> 8) + ( 7 << 5);
227 *op++ = off;
/freebsd-11-stable/contrib/ntp/clockstuff/
H A Dchutest.c219 (void) fprintf(stderr, "Poping off streams...");
546 l_fp off[NCHUCHARS]; local
686 printf("Date hopelessly off\n");
700 off[i].l_ui = date_ui;
701 off[i].l_uf = chutable[i];
704 M_SUB(off[i].l_ui, off[i].l_uf, tmp, tmp2);
726 M_ADD(date_ui, tmp, off[i].l_ui, off[i].l_uf);
808 if (L_ISGEQ(&off[
[all...]
/freebsd-11-stable/lib/libc/db/btree/
H A Dbt_split.c602 indx_t full, half, nxt, off, skip, top, used; local
617 for (nxt = off = 0, top = NEXTINDEX(h); nxt < top; ++off) {
618 if (skip == off) {
653 if ((skip <= off && used + nbytes + sizeof(indx_t) >= full) ||
655 --off;
660 if (skip != off) {
663 l->linp[off] = l->upper -= nbytes;
680 l->lower += (off + 1) * sizeof(indx_t);
706 if (skip <= off) {
[all...]
/freebsd-11-stable/contrib/nvi/vi/
H A Dvs_refresh.c170 size_t cwtotal, cnt, len, notused, off, y; local
526 * If the new column moved us off of the current logical line,
528 * moved off of the current screen, as well.
600 off = smp->coff;
601 if (off >= cnt) {
603 if (off >= O_VAL(sp, O_SIDESCROLL))
604 off -= O_VAL(sp, O_SIDESCROLL);
606 off = 0;
609 } while (off >= cnt);
614 if ((off
[all...]

Completed in 211 milliseconds

<<11121314151617181920>>