Searched refs:offset (Results 1 - 25 of 3235) sorted by relevance

1234567891011>>

/freebsd-head/lib/libc/sparc64/
H A Dstatic_tls.h37 _libc_get_static_tls_base(size_t offset) argument
41 return (tlsbase + offset);
/freebsd-head/contrib/elftoolchain/libelf/
H A Delf_rand.c35 elf_rand(Elf *ar, off_t offset) argument
41 (offset & 1) || offset < SARMAG ||
42 offset >= ar->e_rawsize) {
47 offset_of_member = offset + (off_t) sizeof(struct ar_hdr);
55 arh = (struct ar_hdr *) (ar->e_rawfile + offset);
63 ar->e_u.e_ar.e_next = offset;
65 return (offset);
/freebsd-head/sys/contrib/libfdt/
H A Dfdt.c77 const void *fdt_offset_ptr(const void *fdt, int offset, unsigned int len) argument
79 unsigned absoffset = offset + fdt_off_dt_struct(fdt);
81 if ((absoffset < offset)
87 if (((offset + len) < offset)
88 || ((offset + len) > fdt_size_dt_struct(fdt)))
91 return fdt_offset_ptr_(fdt, offset);
98 int offset = startoffset; local
102 tagp = fdt_offset_ptr(fdt, offset, FDT_TAGSIZE);
106 offset
147 fdt_check_node_offset_(const void *fdt, int offset) argument
156 fdt_check_prop_offset_(const void *fdt, int offset) argument
165 fdt_next_node(const void *fdt, int offset, int *depth) argument
205 fdt_first_subnode(const void *fdt, int offset) argument
216 fdt_next_subnode(const void *fdt, int offset) argument
[all...]
/freebsd-head/sys/contrib/octeon-sdk/
H A Dcvmx-pcm-defs.h56 static inline uint64_t CVMX_PCM_CLKX_CFG(unsigned long offset) argument
59 (OCTEON_IS_MODEL(OCTEON_CN30XX) && ((offset <= 1))) ||
60 (OCTEON_IS_MODEL(OCTEON_CN31XX) && ((offset <= 1))) ||
61 (OCTEON_IS_MODEL(OCTEON_CN50XX) && ((offset <= 1))) ||
62 (OCTEON_IS_MODEL(OCTEON_CN61XX) && ((offset <= 1))) ||
63 (OCTEON_IS_MODEL(OCTEON_CNF71XX) && ((offset <= 1)))))
64 cvmx_warn("CVMX_PCM_CLKX_CFG(%lu) is invalid on this chip\n", offset);
65 return CVMX_ADD_IO_SEG(0x0001070000010000ull) + ((offset) & 1) * 16384;
68 #define CVMX_PCM_CLKX_CFG(offset) (CVMX_ADD_IO_SEG(0x0001070000010000ull) + ((offset)
71 CVMX_PCM_CLKX_DBG(unsigned long offset) argument
86 CVMX_PCM_CLKX_GEN(unsigned long offset) argument
[all...]
H A Dcvmx-pcmx-defs.h56 static inline uint64_t CVMX_PCMX_DMA_CFG(unsigned long offset) argument
59 (OCTEON_IS_MODEL(OCTEON_CN30XX) && ((offset <= 3))) ||
60 (OCTEON_IS_MODEL(OCTEON_CN31XX) && ((offset <= 3))) ||
61 (OCTEON_IS_MODEL(OCTEON_CN50XX) && ((offset <= 3))) ||
62 (OCTEON_IS_MODEL(OCTEON_CN61XX) && ((offset <= 3))) ||
63 (OCTEON_IS_MODEL(OCTEON_CNF71XX) && ((offset <= 3)))))
64 cvmx_warn("CVMX_PCMX_DMA_CFG(%lu) is invalid on this chip\n", offset);
65 return CVMX_ADD_IO_SEG(0x0001070000010018ull) + ((offset) & 3) * 16384;
68 #define CVMX_PCMX_DMA_CFG(offset) (CVMX_ADD_IO_SEG(0x0001070000010018ull) + ((offset)
71 CVMX_PCMX_INT_ENA(unsigned long offset) argument
86 CVMX_PCMX_INT_SUM(unsigned long offset) argument
101 CVMX_PCMX_RXADDR(unsigned long offset) argument
116 CVMX_PCMX_RXCNT(unsigned long offset) argument
131 CVMX_PCMX_RXMSK0(unsigned long offset) argument
146 CVMX_PCMX_RXMSK1(unsigned long offset) argument
161 CVMX_PCMX_RXMSK2(unsigned long offset) argument
176 CVMX_PCMX_RXMSK3(unsigned long offset) argument
191 CVMX_PCMX_RXMSK4(unsigned long offset) argument
206 CVMX_PCMX_RXMSK5(unsigned long offset) argument
221 CVMX_PCMX_RXMSK6(unsigned long offset) argument
236 CVMX_PCMX_RXMSK7(unsigned long offset) argument
251 CVMX_PCMX_RXSTART(unsigned long offset) argument
266 CVMX_PCMX_TDM_CFG(unsigned long offset) argument
281 CVMX_PCMX_TDM_DBG(unsigned long offset) argument
296 CVMX_PCMX_TXADDR(unsigned long offset) argument
311 CVMX_PCMX_TXCNT(unsigned long offset) argument
326 CVMX_PCMX_TXMSK0(unsigned long offset) argument
341 CVMX_PCMX_TXMSK1(unsigned long offset) argument
356 CVMX_PCMX_TXMSK2(unsigned long offset) argument
371 CVMX_PCMX_TXMSK3(unsigned long offset) argument
386 CVMX_PCMX_TXMSK4(unsigned long offset) argument
401 CVMX_PCMX_TXMSK5(unsigned long offset) argument
416 CVMX_PCMX_TXMSK6(unsigned long offset) argument
431 CVMX_PCMX_TXMSK7(unsigned long offset) argument
446 CVMX_PCMX_TXSTART(unsigned long offset) argument
[all...]
H A Dcvmx-pip-defs.h56 static inline uint64_t CVMX_PIP_ALT_SKIP_CFGX(unsigned long offset) argument
59 (OCTEON_IS_MODEL(OCTEON_CN61XX) && ((offset <= 3))) ||
60 (OCTEON_IS_MODEL(OCTEON_CN66XX) && ((offset <= 3))) ||
61 (OCTEON_IS_MODEL(OCTEON_CN68XX) && ((offset <= 3))) ||
62 (OCTEON_IS_MODEL(OCTEON_CNF71XX) && ((offset <= 3)))))
63 cvmx_warn("CVMX_PIP_ALT_SKIP_CFGX(%lu) is invalid on this chip\n", offset);
64 return CVMX_ADD_IO_SEG(0x00011800A0002A00ull) + ((offset) & 3) * 8;
67 #define CVMX_PIP_ALT_SKIP_CFGX(offset) (CVMX_ADD_IO_SEG(0x00011800A0002A00ull) + ((offset) & 3) * 8)
82 static inline uint64_t CVMX_PIP_BSEL_EXT_CFGX(unsigned long offset) argument
95 CVMX_PIP_BSEL_EXT_POSX(unsigned long offset) argument
108 CVMX_PIP_BSEL_TBL_ENTX(unsigned long offset) argument
132 CVMX_PIP_CRC_CTLX(unsigned long offset) argument
144 CVMX_PIP_CRC_IVX(unsigned long offset) argument
156 CVMX_PIP_DEC_IPSECX(unsigned long offset) argument
200 CVMX_PIP_FRM_LEN_CHKX(unsigned long offset) argument
234 CVMX_PIP_PRI_TBLX(unsigned long offset) argument
245 CVMX_PIP_PRT_CFGBX(unsigned long offset) argument
259 CVMX_PIP_PRT_CFGX(unsigned long offset) argument
281 CVMX_PIP_PRT_TAGX(unsigned long offset) argument
303 CVMX_PIP_QOS_DIFFX(unsigned long offset) argument
324 CVMX_PIP_QOS_VLANX(unsigned long offset) argument
345 CVMX_PIP_QOS_WATCHX(unsigned long offset) argument
369 CVMX_PIP_STAT0_PRTX(unsigned long offset) argument
390 CVMX_PIP_STAT0_X(unsigned long offset) argument
401 CVMX_PIP_STAT10_PRTX(unsigned long offset) argument
417 CVMX_PIP_STAT10_X(unsigned long offset) argument
428 CVMX_PIP_STAT11_PRTX(unsigned long offset) argument
444 CVMX_PIP_STAT11_X(unsigned long offset) argument
455 CVMX_PIP_STAT1_PRTX(unsigned long offset) argument
476 CVMX_PIP_STAT1_X(unsigned long offset) argument
487 CVMX_PIP_STAT2_PRTX(unsigned long offset) argument
508 CVMX_PIP_STAT2_X(unsigned long offset) argument
519 CVMX_PIP_STAT3_PRTX(unsigned long offset) argument
540 CVMX_PIP_STAT3_X(unsigned long offset) argument
551 CVMX_PIP_STAT4_PRTX(unsigned long offset) argument
572 CVMX_PIP_STAT4_X(unsigned long offset) argument
583 CVMX_PIP_STAT5_PRTX(unsigned long offset) argument
604 CVMX_PIP_STAT5_X(unsigned long offset) argument
615 CVMX_PIP_STAT6_PRTX(unsigned long offset) argument
636 CVMX_PIP_STAT6_X(unsigned long offset) argument
647 CVMX_PIP_STAT7_PRTX(unsigned long offset) argument
668 CVMX_PIP_STAT7_X(unsigned long offset) argument
679 CVMX_PIP_STAT8_PRTX(unsigned long offset) argument
700 CVMX_PIP_STAT8_X(unsigned long offset) argument
711 CVMX_PIP_STAT9_PRTX(unsigned long offset) argument
732 CVMX_PIP_STAT9_X(unsigned long offset) argument
744 CVMX_PIP_STAT_INB_ERRSX(unsigned long offset) argument
765 CVMX_PIP_STAT_INB_ERRS_PKNDX(unsigned long offset) argument
776 CVMX_PIP_STAT_INB_OCTSX(unsigned long offset) argument
797 CVMX_PIP_STAT_INB_OCTS_PKNDX(unsigned long offset) argument
808 CVMX_PIP_STAT_INB_PKTSX(unsigned long offset) argument
829 CVMX_PIP_STAT_INB_PKTS_PKNDX(unsigned long offset) argument
851 CVMX_PIP_TAG_INCX(unsigned long offset) argument
876 CVMX_PIP_VLAN_ETYPESX(unsigned long offset) argument
890 CVMX_PIP_XSTAT0_PRTX(unsigned long offset) argument
902 CVMX_PIP_XSTAT10_PRTX(unsigned long offset) argument
914 CVMX_PIP_XSTAT11_PRTX(unsigned long offset) argument
926 CVMX_PIP_XSTAT1_PRTX(unsigned long offset) argument
938 CVMX_PIP_XSTAT2_PRTX(unsigned long offset) argument
950 CVMX_PIP_XSTAT3_PRTX(unsigned long offset) argument
962 CVMX_PIP_XSTAT4_PRTX(unsigned long offset) argument
974 CVMX_PIP_XSTAT5_PRTX(unsigned long offset) argument
986 CVMX_PIP_XSTAT6_PRTX(unsigned long offset) argument
998 CVMX_PIP_XSTAT7_PRTX(unsigned long offset) argument
1010 CVMX_PIP_XSTAT8_PRTX(unsigned long offset) argument
1022 CVMX_PIP_XSTAT9_PRTX(unsigned long offset) argument
1228 uint64_t offset : 9; /**< Indicates offset to add to extractor mem adr member in struct:cvmx_pip_bsel_ext_cfgx::cvmx_pip_bsel_ext_cfgx_s
2897 uint64_t offset : 3; /**< Number of 8B ticks to include in workQ entry member in struct:cvmx_pip_ip_offset::cvmx_pip_ip_offset_s
[all...]
/freebsd-head/contrib/dtc/libfdt/
H A Dfdt.c77 const void *fdt_offset_ptr(const void *fdt, int offset, unsigned int len) argument
79 unsigned absoffset = offset + fdt_off_dt_struct(fdt);
81 if ((absoffset < offset)
87 if (((offset + len) < offset)
88 || ((offset + len) > fdt_size_dt_struct(fdt)))
91 return _fdt_offset_ptr(fdt, offset);
98 int offset = startoffset; local
102 tagp = fdt_offset_ptr(fdt, offset, FDT_TAGSIZE);
106 offset
144 _fdt_check_node_offset(const void *fdt, int offset) argument
153 _fdt_check_prop_offset(const void *fdt, int offset) argument
162 fdt_next_node(const void *fdt, int offset, int *depth) argument
202 fdt_first_subnode(const void *fdt, int offset) argument
213 fdt_next_subnode(const void *fdt, int offset) argument
[all...]
H A Dfdt_ro.c58 static int _fdt_nodename_eq(const void *fdt, int offset, argument
61 const char *p = fdt_offset_ptr(fdt, offset + FDT_TAGSIZE, len+1);
94 int offset; local
96 for (offset = fdt_next_node(fdt, -1, NULL);;
97 offset = fdt_next_node(fdt, offset, NULL)) {
100 if (offset == -FDT_ERR_NOTFOUND)
103 if (offset < 0)
106 phandle = fdt_get_phandle(fdt, offset);
134 static int _nextprop(const void *fdt, int offset) argument
158 fdt_subnode_offset_namelen(const void *fdt, int offset, const char *name, int namelen) argument
187 int offset = 0; local
255 int offset; local
263 fdt_next_property_offset(const void *fdt, int offset) argument
271 fdt_get_property_by_offset(const void *fdt, int offset, int *lenp) argument
292 fdt_get_property_namelen(const void *fdt, int offset, const char *name, int namelen, int *lenp) argument
336 fdt_getprop_by_offset(const void *fdt, int offset, const char **namep, int *lenp) argument
392 int offset, depth, namelen; local
444 int offset, depth; local
502 int offset; local
527 int offset; local
683 int offset, err; local
[all...]
/freebsd-head/contrib/apr/mmap/unix/
H A Dcommon.c34 apr_off_t offset)
36 if (offset < 0 || (apr_size_t)offset > mmap->size)
39 (*addr) = (char *) mmap->mm + offset;
/freebsd-head/sys/dev/ath/ath_hal/ar5312/
H A Dar5312_eeprom.c34 * Read 16 bits of data from offset into *data
39 int i,offset; local
44 for (i=0,offset=2*off; i<2; i++,offset++) {
45 data[i] = eepromAddr[offset];
/freebsd-head/contrib/ncurses/ncurses/base/
H A DMKunctrl.awk46 offset=0
62 printf "%4d%s", offset, gap;
65 offset = offset + 3;
68 offset = offset + 3;
71 offset = offset + 3;
74 offset = offset
[all...]
/freebsd-head/stand/kshim/
H A Dbsd_busspace.c42 bus_size_t offset, bus_size_t size, bus_space_handle_t *nbshp)
45 *nbshp = bsh + offset;
51 bus_size_t offset, uint8_t *datap, bus_size_t count)
54 *datap++ = bus_space_read_1(t, h, offset);
60 bus_size_t offset, uint16_t *datap, bus_size_t count)
63 *datap++ = bus_space_read_2(t, h, offset);
69 bus_size_t offset, uint32_t *datap, bus_size_t count)
71 h += offset;
80 bus_size_t offset, uint8_t *datap, bus_size_t count)
85 bus_space_write_1(t, h, offset, tem
41 bus_space_subregion(bus_space_tag_t t, bus_space_handle_t bsh, bus_size_t offset, bus_size_t size, bus_space_handle_t *nbshp) argument
50 bus_space_read_multi_1(bus_space_tag_t t, bus_space_handle_t h, bus_size_t offset, uint8_t *datap, bus_size_t count) argument
59 bus_space_read_multi_2(bus_space_tag_t t, bus_space_handle_t h, bus_size_t offset, uint16_t *datap, bus_size_t count) argument
68 bus_space_read_multi_4(bus_space_tag_t t, bus_space_handle_t h, bus_size_t offset, uint32_t *datap, bus_size_t count) argument
79 bus_space_write_multi_1(bus_space_tag_t t, bus_space_handle_t h, bus_size_t offset, uint8_t *datap, bus_size_t count) argument
90 bus_space_write_multi_2(bus_space_tag_t t, bus_space_handle_t h, bus_size_t offset, uint16_t *datap, bus_size_t count) argument
101 bus_space_write_multi_4(bus_space_tag_t t, bus_space_handle_t h, bus_size_t offset, uint32_t *datap, bus_size_t count) argument
112 bus_space_write_1(bus_space_tag_t t, bus_space_handle_t h, bus_size_t offset, uint8_t data) argument
119 bus_space_write_2(bus_space_tag_t t, bus_space_handle_t h, bus_size_t offset, uint16_t data) argument
126 bus_space_write_4(bus_space_tag_t t, bus_space_handle_t h, bus_size_t offset, uint32_t data) argument
133 bus_space_read_1(bus_space_tag_t t, bus_space_handle_t h, bus_size_t offset) argument
139 bus_space_read_2(bus_space_tag_t t, bus_space_handle_t h, bus_size_t offset) argument
145 bus_space_read_4(bus_space_tag_t t, bus_space_handle_t h, bus_size_t offset) argument
151 bus_space_read_region_1(bus_space_tag_t t, bus_space_handle_t h, bus_size_t offset, uint8_t *datap, bus_size_t count) argument
163 bus_space_write_region_1(bus_space_tag_t t, bus_space_handle_t h, bus_size_t offset, uint8_t *datap, bus_size_t count) argument
175 bus_space_read_region_4(bus_space_tag_t t, bus_space_handle_t h, bus_size_t offset, uint32_t *datap, bus_size_t count) argument
197 bus_space_write_region_4(bus_space_tag_t t, bus_space_handle_t h, bus_size_t offset, uint32_t *datap, bus_size_t count) argument
[all...]
/freebsd-head/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/
H A DDWARFDebugMacro.cpp20 lldb::offset_t *offset) {
24 header.m_version = debug_macro_data.GetU16(offset);
26 uint8_t flags = debug_macro_data.GetU8(offset);
31 header.m_debug_line_offset = debug_macro_data.GetU64(offset);
33 header.m_debug_line_offset = debug_macro_data.GetU32(offset);
38 SkipOperandTable(debug_macro_data, offset);
44 const DWARFDataExtractor &debug_macro_data, lldb::offset_t *offset) {
45 uint8_t entry_count = debug_macro_data.GetU8(offset);
48 debug_macro_data.GetU8(offset);
50 uint64_t operand_count = debug_macro_data.GetULEB128(offset);
19 ParseHeader(const DWARFDataExtractor &debug_macro_data, lldb::offset_t *offset) argument
43 SkipOperandTable( const DWARFDataExtractor &debug_macro_data, lldb::offset_t *offset) argument
59 ReadMacroEntries( const DWARFDataExtractor &debug_macro_data, const DWARFDataExtractor &debug_str_data, const bool offset_is_64_bit, lldb::offset_t *offset, SymbolFileDWARF *sym_file_dwarf, DebugMacrosSP &debug_macros_sp) argument
[all...]
/freebsd-head/contrib/llvm/tools/lldb/source/Utility/
H A DDataEncoder.cpp64 // If this object contains shared data, this function returns the offset into
102 // "data_length" bytes later. If "data_offset" is not a valid offset into
142 // Extract a single unsigned char from the binary data and update the offset
146 uint32_t DataEncoder::PutU8(uint32_t offset, uint8_t value) { argument
147 if (ValidOffset(offset)) {
148 m_start[offset] = value;
149 return offset + 1;
154 uint32_t DataEncoder::PutU16(uint32_t offset, uint16_t value) { argument
155 if (ValidOffsetForDataOfSize(offset, sizeof(value))) {
157 write16be(m_start + offset, valu
166 PutU32(uint32_t offset, uint32_t value) argument
178 PutU64(uint32_t offset, uint64_t value) argument
198 PutMaxU64(uint32_t offset, uint32_t byte_size, uint64_t value) argument
215 PutData(uint32_t offset, const void *src, uint32_t src_len) argument
227 PutAddress(uint32_t offset, lldb::addr_t addr) argument
231 PutCString(uint32_t offset, const char *cstr) argument
[all...]
/freebsd-head/lib/libc/aarch64/
H A Dstatic_tls.h37 _libc_get_static_tls_base(size_t offset) argument
42 tlsbase += offset;
/freebsd-head/lib/libc/amd64/
H A Dstatic_tls.h37 _libc_get_static_tls_base(size_t offset) argument
42 tlsbase -= offset;
/freebsd-head/lib/libc/arm/
H A Dstatic_tls.h37 _libc_get_static_tls_base(size_t offset) argument
47 tlsbase += offset;
/freebsd-head/lib/libc/i386/
H A Dstatic_tls.h37 _libc_get_static_tls_base(size_t offset) argument
42 tlsbase -= offset;
/freebsd-head/lib/libc/powerpc/
H A Dstatic_tls.h37 _libc_get_static_tls_base(size_t offset) argument
42 tlsbase += offset - 0x7008;
/freebsd-head/lib/libc/powerpc64/
H A Dstatic_tls.h37 _libc_get_static_tls_base(size_t offset) argument
42 tlsbase += offset - 0x7010;
/freebsd-head/lib/libc/riscv/
H A Dstatic_tls.h37 _libc_get_static_tls_base(size_t offset) argument
42 tlsbase += offset;
/freebsd-head/lib/libthr/arch/aarch64/include/
H A Dpthread_tls.h37 _get_static_tls_base(struct pthread *thr, size_t offset) argument
42 tlsbase += offset;
/freebsd-head/lib/libthr/arch/amd64/include/
H A Dpthread_tls.h37 _get_static_tls_base(struct pthread *thr, size_t offset) argument
42 tlsbase -= offset;
/freebsd-head/lib/libthr/arch/arm/include/
H A Dpthread_tls.h37 _get_static_tls_base(struct pthread *thr, size_t offset) argument
42 tlsbase += offset;
/freebsd-head/lib/libthr/arch/i386/include/
H A Dpthread_tls.h37 _get_static_tls_base(struct pthread *thr, size_t offset) argument
42 tlsbase -= offset;

Completed in 445 milliseconds

1234567891011>>