Searched refs:offset (Results 451 - 475 of 3197) sorted by relevance

<<11121314151617181920>>

/freebsd-11-stable/sys/dev/sfxge/common/
H A Defx_bootcfg.c64 size_t offset; local
71 offset = 0;
79 offset = 0;
93 offset = max_size * pf;
107 *offsetp = offset;
145 size_t offset = 0; local
150 for (offset = 1; offset < size; ) {
155 tag = data[offset];
157 offset
[all...]
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/asan/
H A Dasan_poisoning.cpp55 s8 offset; // in [0, SHADOW_GRANULARITY) member in struct:__asan::ShadowSegmentEndpoint
60 offset = address & (SHADOW_GRANULARITY - 1);
116 CHECK_LT(beg.offset, end.offset);
119 // We can only poison memory if the byte in end.offset is unaddressable.
121 if (value > 0 && value <= end.offset) {
122 if (beg.offset > 0) {
123 *beg.chunk = Min(value, beg.offset);
131 if (beg.offset > 0) {
132 // Mark bytes from beg.offset a
[all...]
H A Dasan_interceptors_memintrinsics.h52 #define ACCESS_MEMORY_RANGE(ctx, offset, size, isWrite) do { \
53 uptr __offset = (uptr)(offset); \
123 #define ASAN_READ_RANGE(ctx, offset, size) \
124 ACCESS_MEMORY_RANGE(ctx, offset, size, false)
125 #define ASAN_WRITE_RANGE(ctx, offset, size) \
126 ACCESS_MEMORY_RANGE(ctx, offset, size, true)
/freebsd-11-stable/sys/contrib/octeon-sdk/
H A Dcvmx-l2c-defs.h167 static inline uint64_t CVMX_L2C_COP0_MAPX(unsigned long offset) argument
170 (OCTEON_IS_MODEL(OCTEON_CN61XX) && ((offset <= 1023) || ((offset >= 16128) && (offset <= 16383)))) ||
171 (OCTEON_IS_MODEL(OCTEON_CN63XX) && ((offset <= 1535) || ((offset >= 16128) && (offset <= 16383)))) ||
172 (OCTEON_IS_MODEL(OCTEON_CN66XX) && ((offset <= 2559) || ((offset >= 16128) && (offset <
215 CVMX_L2C_DUT_MAPX(unsigned long offset) argument
507 CVMX_L2C_PFCX(unsigned long offset) argument
535 CVMX_L2C_QOS_IOBX(unsigned long offset) argument
550 CVMX_L2C_QOS_PPX(unsigned long offset) argument
576 CVMX_L2C_RSCX_PFC(unsigned long offset) argument
591 CVMX_L2C_RSDX_PFC(unsigned long offset) argument
855 CVMX_L2C_VIRTID_IOBX(unsigned long offset) argument
870 CVMX_L2C_VIRTID_PPX(unsigned long offset) argument
896 CVMX_L2C_VRT_MEMX(unsigned long offset) argument
911 CVMX_L2C_WPAR_IOBX(unsigned long offset) argument
926 CVMX_L2C_WPAR_PPX(unsigned long offset) argument
941 CVMX_L2C_XMCX_PFC(unsigned long offset) argument
967 CVMX_L2C_XMDX_PFC(unsigned long offset) argument
[all...]
H A Dcvmx-address.h122 uint64_t offset :62; member in struct:__anon8430::__anon8431
127 uint64_t offset :31; member in struct:__anon8430::__anon8432
133 uint64_t offset :29; member in struct:__anon8430::__anon8433
148 uint64_t offset :36; member in struct:__anon8430::__anon8435
154 uint64_t offset :36; member in struct:__anon8430::__anon8436
163 uint64_t offset :36; member in struct:__anon8430::__anon8437
/freebsd-11-stable/sys/dev/e1000/
H A De1000_nvm.c434 * @offset: offset of word in the EEPROM to read
440 s32 e1000_read_nvm_spi(struct e1000_hw *hw, u16 offset, u16 words, u16 *data) argument
450 /* A check for invalid values: offset too large, too many words,
453 if ((offset >= nvm->word_size) || (words > (nvm->word_size - offset)) ||
469 if ((nvm->address_bits == 8) && (offset >= 128))
474 e1000_shift_out_eec_bits(hw, (u16)(offset*2), nvm->address_bits);
478 * us to read the whole NVM from any offset
494 * @offset
500 e1000_read_nvm_microwire(struct e1000_hw *hw, u16 offset, u16 words, u16 *data) argument
555 e1000_read_nvm_eerd(struct e1000_hw *hw, u16 offset, u16 words, u16 *data) argument
603 e1000_write_nvm_spi(struct e1000_hw *hw, u16 offset, u16 words, u16 *data) argument
683 e1000_write_nvm_microwire(struct e1000_hw *hw, u16 offset, u16 words, u16 *data) argument
773 u16 offset; local
[all...]
/freebsd-11-stable/contrib/llvm-project/lldb/tools/compact-unwind/
H A Dcompact-unwind-dumper.c117 uint64_t read_leb128(uint8_t **offset) { argument
121 uint8_t byte = **offset;
122 *offset = *offset + 1;
154 uint8_t *offset = baton->mach_header_start; local
157 memcpy(&mh, offset, sizeof(struct mach_header));
159 offset += sizeof(struct mach_header_64);
161 offset += sizeof(struct mach_header);
170 uint8_t *start_of_load_commands = offset;
174 (offset
1199 int offset = file_address - symbol->file_address; local
1275 uint8_t *offset = page_entries; local
1305 uint8_t *offset = start_of_entries; local
1376 uint8_t *offset = index_section_offset; local
[all...]
/freebsd-11-stable/contrib/netbsd-tests/usr.bin/rump_server/
H A Dt_disk.sh61 test_case offset -d key=/img,hostpath=the.img,size=32k,offset=16k
62 offset() function
67 test_case notrunc -d key=/img,hostpath=the.img,size=8k,offset=16k
77 test_case data -d key=/img,hostpath=the.img,size=8k,offset=16k
123 atf_add_test_case offset
/freebsd-11-stable/contrib/gdb/gdb/
H A Di386-nto-tdep.c45 /* Map a GDB register number to an offset in the reg structure. */
62 /* Given a gdb regno, return the offset into Neutrino's register structure
78 int offset = nto_reg_offset (regno); local
79 if (offset == -1)
82 supply_register (regno, gpregs + offset);
177 int offset = nto_reg_offset (regno); local
178 if (offset != -1)
179 regcache_collect (regno, data + offset);
/freebsd-11-stable/contrib/dialog/
H A Dinputstr.c348 * which byte-offset begins a given wide-character.
384 * Given the character-offset to find in the list, return the corresponding
497 * into that limit. The offset is used to skip over a leading character
501 dlg_limit_columns(const char *string, int limit, int offset) argument
506 while (result > 0 && (cols[result] - cols[offset]) > limit)
512 * Updates the string and character-offset, given various editing characters
513 * or literal characters which are inserted at the character-offset.
522 int offset = dlg_find_index(indx, limit, *chr_offset); local
548 if (*chr_offset && offset > 0)
549 *chr_offset = indx[offset
649 int offset = dlg_find_index(indx, limit, chr_offset); local
[all...]
/freebsd-11-stable/contrib/subversion/subversion/libsvn_diff/
H A Ddiff.c76 if (original_start < lcs->position[0]->offset
77 || modified_start < lcs->position[1]->offset)
84 lcs->position[0]->offset - original_start;
87 lcs->position[1]->offset - modified_start;
98 original_start = lcs->position[0]->offset;
99 modified_start = lcs->position[1]->offset;
/freebsd-11-stable/sys/arm64/cavium/
H A Dthunder_pcie_common.c112 uint64_t offset; local
123 offset = phys_addr - r->phys_base;
124 return (r->pci_base + offset);
134 uint64_t offset; local
145 offset = pci_addr - r->pci_base;
146 return (r->phys_base + offset);
/freebsd-11-stable/sys/dev/bktr/
H A Dbktr_reg.h465 #define INB(bktr,offset) bus_space_read_1((bktr)->memt,(bktr)->memh,(offset))
466 #define INW(bktr,offset) bus_space_read_2((bktr)->memt,(bktr)->memh,(offset))
467 #define INL(bktr,offset) bus_space_read_4((bktr)->memt,(bktr)->memh,(offset))
468 #define OUTB(bktr,offset,value) bus_space_write_1((bktr)->memt,(bktr)->memh,(offset),(value))
469 #define OUTW(bktr,offset,value) bus_space_write_2((bktr)->memt,(bktr)->memh,(offset),(valu
[all...]
/freebsd-11-stable/lib/libvgl/
H A Dbitmap.c48 int i, pos, last, planepos, start_offset, end_offset, offset; local
107 offset = VGLSetSegment(pos + planepos);
108 VGLPlane[i][planepos] |= dst->Bitmap[offset] & mask[end_offset];
110 offset = VGLSetSegment(pos);
112 VGLPlane[i][0] |= dst->Bitmap[offset] & ~mask[start_offset];
114 len = min(VGLAdpInfo.va_window_size - offset, last);
115 bcopy(&VGLPlane[i][width - last], dst->Bitmap + offset, len);
120 offset = VGLSetSegment(pos);
139 offset = VGLSetSegment(pos);
140 i = min(VGLAdpInfo.va_window_size - offset, widt
180 int i, bit, pos, count, planepos, start_offset, end_offset, offset; local
[all...]
/freebsd-11-stable/crypto/heimdal/lib/hx509/
H A Dsel-lex.l130 n = _hx509_expr_input.length - _hx509_expr_input.offset;
136 memcpy(buf, _hx509_expr_input.buf + _hx509_expr_input.offset, n);
137 _hx509_expr_input.offset += n;
/freebsd-11-stable/tools/tools/nxge/
H A Dxge_log.c159 regInfo[index].offset));
161 regInfo[index].offset, regInfo[index].value);
174 * @offset Offset of the register
178 xge_print_register(u64 offset, u64 value) argument
187 regInfo[index].offset = offset;
189 printf("0x%.8X\t0x%.16llX\n", regInfo[index].offset,
/freebsd-11-stable/sys/dev/extres/clk/
H A Dclk_gate.c57 uint32_t offset; member in struct:clknode_gate_sc
84 rv = RD4(clk, sc->offset, &reg);
104 rv = MD4(clk, sc->offset, sc->mask << sc->shift,
110 RD4(clk, sc->offset, &reg);
126 sc->offset = clkdef->offset;
/freebsd-11-stable/usr.bin/units/
H A Dunits.c61 double offset; member in struct:unittype
230 theunit->offset = 0.0;
260 if (theunit->offset)
261 printf("&%.8g", theunit->offset);
319 char *divider, *slash, *offset; local
344 offset = strchr(item, '&');
345 if (offset) {
346 *offset = 0;
347 offsetnum = atof(offset+1);
362 theunit->offset *
[all...]
/freebsd-11-stable/sys/amd64/vmm/
H A Dvmm_lapic.c162 u_int offset; local
171 offset = x2apic_msr_to_regoff(msr);
172 error = vlapic_read(vlapic, 0, offset, rval, retu);
182 u_int offset; local
190 offset = x2apic_msr_to_regoff(msr);
191 error = vlapic_write(vlapic, 0, offset, val, retu);
/freebsd-11-stable/contrib/llvm-project/lldb/source/API/
H A DSBTrace.cpp28 size_t offset, lldb::tid_t thread_id) {
31 error, buf, size, offset, thread_id);
41 process_sp->GetData(GetTraceUID(), thread_id, buffer, offset));
47 size_t offset, lldb::tid_t thread_id) {
50 error, buf, size, offset, thread_id);
60 process_sp->GetMetaData(GetTraceUID(), thread_id, buffer, offset));
27 GetTraceData(SBError &error, void *buf, size_t size, size_t offset, lldb::tid_t thread_id) argument
46 GetMetaData(SBError &error, void *buf, size_t size, size_t offset, lldb::tid_t thread_id) argument
/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/SymbolFile/PDB/
H A DPDBLocationToDWARFExpression.cpp99 uint32_t offset = symbol.getAddressOffset();
100 stream.PutMaxHex64(section->GetFileAddress() + offset, address_size,
114 int32_t offset = symbol.getOffset(); local
116 stream.PutSLEB128(offset);
141 int32_t offset = symbol.getOffset(); local
142 stream.PutSLEB128(offset);
/freebsd-11-stable/contrib/llvm-project/lldb/source/Utility/
H A DDataExtractor.cpp43 static inline uint16_t ReadInt16(const unsigned char *ptr, offset_t offset) { argument
45 memcpy(&value, ptr + offset, 2);
50 offset_t offset = 0) {
52 memcpy(&value, ptr + offset, 4);
57 offset_t offset = 0) {
59 memcpy(&value, ptr + offset, 8);
70 offset_t offset) {
72 memcpy(&value, ptr + offset, 2);
77 offset_t offset) {
79 memcpy(&value, ptr + offset,
69 ReadSwapInt16(const unsigned char *ptr, offset_t offset) argument
76 ReadSwapInt32(const unsigned char *ptr, offset_t offset) argument
83 ReadSwapInt64(const unsigned char *ptr, offset_t offset) argument
158 DataExtractor(const DataExtractor &data, offset_t offset, offset_t length, uint32_t target_byte_size ) argument
702 ExtractBytes(offset_t offset, offset_t length, ByteOrder dst_byte_order, void *dst) const argument
721 CopyData(offset_t offset, offset_t length, void *dst) const argument
[all...]
/freebsd-11-stable/contrib/gcc/config/i386/
H A Dhost-mingw32.c115 size_t offset)
124 this to work. We can't change the offset. */
125 if ((offset & (va_granularity - 1)) != 0 || size > pch_VA_max_size)
136 mmap_addr = MapViewOfFileEx (mmap_handle, FILE_MAP_COPY, 0, offset,
114 mingw32_gt_pch_use_address(void *addr, size_t size, int fd, size_t offset) argument
/freebsd-11-stable/contrib/gcc/config/s390/
H A Dlinux-unwind.h112 fs->regs.reg[i].loc.offset =
118 fs->regs.reg[16+i].loc.offset =
125 fs->regs.reg[32].loc.offset = (long)&regs->psw_addr - new_cfa;
/freebsd-11-stable/sys/arm/arm/
H A Dbus_space_generic.c108 generic_bs_subregion(bus_space_tag_t t, bus_space_handle_t bsh, bus_size_t offset, argument
112 *nbshp = bsh + offset;
117 generic_bs_barrier(bus_space_tag_t t, bus_space_handle_t bsh, bus_size_t offset, argument

Completed in 236 milliseconds

<<11121314151617181920>>