Home
last modified time | relevance | path

Searched refs:offset (Results 1 – 25 of 3063) sorted by relevance

12345678910>>...123

/freebsd/sys/contrib/libfdt/
H A Dfdt.c87 if (((offset + len) < offset) in fdt_offset_ptr()
128 offset += 4; in fdt_next_tag()
149 if ((offset < 0) || (offset % FDT_TAGSIZE) in fdt_check_node_offset_()
153 return offset; in fdt_check_node_offset_()
158 if ((offset < 0) || (offset % FDT_TAGSIZE) in fdt_check_prop_offset_()
159 || (fdt_next_tag(fdt, offset, &offset) != FDT_PROP)) in fdt_check_prop_offset_()
162 return offset; in fdt_check_prop_offset_()
202 return offset; in fdt_next_node()
209 offset = fdt_next_node(fdt, offset, &depth); in fdt_first_subnode()
213 return offset; in fdt_first_subnode()
[all …]
H A Dfdt_ro.c95 int offset; in fdt_get_max_phandle() local
98 offset = fdt_next_node(fdt, offset, NULL)) { in fdt_get_max_phandle()
168 offset = fdt_next_node(fdt, offset, &depth)) in fdt_subnode_offset_namelen()
471 (offset >= 0) && (offset <= nodeoffset); in fdt_get_path()
472 offset = fdt_next_node(fdt, offset, &depth)) { in fdt_get_path()
503 if ((offset == -FDT_ERR_NOTFOUND) || (offset >= 0)) in fdt_get_path()
523 (offset >= 0) && (offset <= nodeoffset); in fdt_supernode_atdepth_offset()
524 offset = fdt_next_node(fdt, offset, &depth)) { in fdt_supernode_atdepth_offset()
585 offset = fdt_next_node(fdt, offset, NULL)) { in fdt_node_offset_by_prop_value()
612 offset = fdt_next_node(fdt, offset, NULL)) { in fdt_node_offset_by_phandle()
[all …]
/freebsd/contrib/ofed/libibnetdisc/
H A Dibnetdisc_cache.c341 offset += _unmarshall8(buf + offset, &tmp8); in _load_node()
346 offset += _unmarshall8(buf + offset, &tmp8); in _load_node()
348 offset += _unmarshall8(buf + offset, &tmp8); in _load_node()
778 offset += _marshall32(buf + offset, 0); in _cache_header_info()
780 offset += _marshall32(buf + offset, 0); in _cache_header_info()
837 offset += _marshall64(buf + offset, in _cache_node()
839 offset += _marshall8(buf + offset, in _cache_node()
867 offset += _marshall8(buf + offset, 1); in _cache_port()
871 offset += _marshall8(buf + offset, 0); in _cache_port()
872 offset += _marshall64(buf + offset, 0); in _cache_port()
[all …]
/freebsd/sys/contrib/dev/athk/ath10k/
H A Dqmi_wlfw_v01.c107 offset),
163 .offset = offsetof(struct wlfw_mem_cfg_s_v01,
164 offset),
172 .offset = offsetof(struct wlfw_mem_cfg_s_v01,
181 .offset = offsetof(struct wlfw_mem_cfg_s_v01,
194 .offset = offsetof(struct wlfw_mem_seg_s_v01,
203 .offset = offsetof(struct wlfw_mem_seg_s_v01,
212 .offset = offsetof(struct wlfw_mem_seg_s_v01,
221 .offset = offsetof(struct wlfw_mem_seg_s_v01,
1563 offset),
[all …]
/freebsd/contrib/llvm-project/lldb/source/Utility/
H A DDataEncoder.cpp51 if (ValidOffset(offset)) { in PutU8()
53 return offset + 1; in PutU8()
98 return PutU8(offset, value); in PutUnsigned()
100 return PutU16(offset, value); in PutUnsigned()
102 return PutU32(offset, value); in PutUnsigned()
104 return PutU64(offset, value); in PutUnsigned()
114 return offset; in PutData()
118 return offset + src_len; in PutData()
140 PutU16(offset, value); in AppendU16()
146 PutU32(offset, value); in AppendU32()
[all …]
/freebsd/stand/kshim/
H A Dbsd_busspace.c44 *nbshp = bsh + offset; in bus_space_subregion()
70 h += offset; in bus_space_read_multi_4()
84 bus_space_write_1(t, h, offset, temp); in bus_space_write_multi_1()
103 h += offset; in bus_space_write_multi_4()
112 bus_size_t offset, uint8_t data) in bus_space_write_1() argument
119 bus_size_t offset, uint16_t data) in bus_space_write_2() argument
126 bus_size_t offset, uint32_t data) in bus_space_write_4() argument
153 h += offset; in bus_space_read_region_1()
165 h += offset; in bus_space_write_region_1()
179 h += offset; in bus_space_read_region_4()
[all …]
/freebsd/usr.sbin/fstyp/
H A Dhammer_disk.h249 #define HAMMER_ZONE(offset) ((offset) & HAMMER_OFF_ZONE_MASK) argument
255 #define hammer_is_zone_undo(offset) \ argument
259 #define hammer_is_zone_btree(offset) \ argument
261 #define hammer_is_zone_meta(offset) \ argument
269 #define hammer_is_zone_data(offset) \ argument
270 (hammer_is_zone_large_data(offset) || hammer_is_zone_small_data(offset))
305 HAMMER_OFF_SHORT_ENCODE(offset))
310 #define HAMMER_ENCODE_UNDO(offset) \ argument
574 #define HAMMER_UNDO_DOALIGN(offset) \ argument
936 (((offset) + 15) & ~15)
[all …]
/freebsd/contrib/llvm-project/lldb/source/Plugins/ObjectFile/ELF/
H A DELFHeader.cpp28 const lldb::offset_t saved_offset = *offset; in GetMaxU64()
29 *value = data.GetMaxU64(offset, byte_size); in GetMaxU64()
30 return *offset != saved_offset; in GetMaxU64()
36 lldb::offset_t saved_offset = *offset; in GetMaxU64()
40 *offset = saved_offset; in GetMaxU64()
50 const lldb::offset_t saved_offset = *offset; in GetMaxS64()
51 *value = data.GetMaxS64(offset, byte_size); in GetMaxS64()
52 return *offset != saved_offset; in GetMaxS64()
58 lldb::offset_t saved_offset = *offset; in GetMaxS64()
62 *offset = saved_offset; in GetMaxS64()
[all …]
/freebsd/sys/dev/ofw/
H A Dofw_fdt.c242 int offset; in ofw_fdt_peer() local
254 offset = fdt_next_subnode(fdtp, offset); in ofw_fdt_peer()
262 int offset; in ofw_fdt_child() local
267 offset = fdt_first_subnode(fdtp, offset); in ofw_fdt_child()
382 int offset; in ofw_fdt_nextprop() local
390 offset = fdt_first_property_offset(fdtp, offset); in ofw_fdt_nextprop()
392 fdt_for_each_property_offset(offset, fdtp, offset) { in ofw_fdt_nextprop()
399 offset = fdt_next_property_offset(fdtp, offset); in ofw_fdt_nextprop()
407 prop = fdt_getprop_by_offset(fdtp, offset, &name, &offset); in ofw_fdt_nextprop()
421 int offset; in ofw_fdt_setprop() local
[all …]
/freebsd/stand/kboot/kboot/arch/powerpc64/
H A Dfdt_arch.c36 int offset, len; in fdt_arch_fixups() local
44 offset = fdt_path_offset(fdtp, "/memory@0"); in fdt_arch_fixups()
45 if (offset > 0) in fdt_arch_fixups()
46 fdt_delprop(fdtp, offset, "available"); in fdt_arch_fixups()
52 offset = fdt_path_offset(fdtp, "/ibm,opal"); in fdt_arch_fixups()
53 if (offset > 0) { in fdt_arch_fixups()
63 offset = fdt_path_offset(fdtp, "/rtas"); in fdt_arch_fixups()
64 if (offset > 0) { in fdt_arch_fixups()
77 offset = fdt_path_offset(fdtp, "/chosen"); in fdt_arch_fixups()
78 if (offset > 0) { in fdt_arch_fixups()
[all …]
/freebsd/tools/regression/fsx/
H A Dfsx.c257 offset, offset + len - 1, in logdump()
439 offset -= offset % readbdy; in doread()
465 offset, offset + size - 1, size); in doread()
518 offset -= offset % readbdy; in domapread()
544 offset, offset + size - 1, size); in domapread()
573 good_buf[offset] += original_buf[offset]; in gendata()
574 offset++; in gendata()
585 offset -= offset % writebdy; in dowrite()
616 offset, offset + size - 1, size); in dowrite()
642 offset -= offset % writebdy; in domapwrite()
[all …]
/freebsd/sys/dev/isci/scil/
H A Dsati_mode_sense.c354 U32 offset in sati_mode_sense_build_std_block_descriptor() argument
458 U32 offset in sati_mode_sense_read_write_error_translate_data() argument
468 offset, in sati_mode_sense_read_write_error_translate_data()
498 U32 offset in sati_mode_sense_disconnect_reconnect_translate_data() argument
508 offset, in sati_mode_sense_disconnect_reconnect_translate_data()
538 U32 offset in sati_mode_sense_caching_translate_data() argument
548 offset, in sati_mode_sense_caching_translate_data()
610 U32 offset in sati_mode_sense_control_translate_data() argument
621 offset, in sati_mode_sense_control_translate_data()
667 offset, in sati_mode_sense_informational_excp_control_translate_data()
[all …]
/freebsd/sys/dev/bhnd/nvram/
H A Dbhnd_nvram_iores.c50 size_t offset; /**< offset within res */ member
99 (uintmax_t)offset, (uintmax_t)offset); in bhnd_nvram_iores_new()
106 (uintmax_t)offset, (uintmax_t)offset); in bhnd_nvram_iores_new()
113 if (r_size < offset || r_size < size || r_size - size < offset) in bhnd_nvram_iores_new()
117 if ((r_start + offset) % bus_width != 0) { in bhnd_nvram_iores_new()
133 iores->offset = offset; in bhnd_nvram_iores_new()
189 if (offset > iores->size) in bhnd_nvram_iores_validate_req()
193 if (offset == iores->size) { in bhnd_nvram_iores_validate_req()
199 if (offset % iores->bus_width != 0) in bhnd_nvram_iores_validate_req()
236 r_offset = iores->offset + offset; in bhnd_nvram_iores_read()
[all …]
/freebsd/contrib/llvm-project/lldb/source/API/
H A DSBData.cpp126 if (offset == old_offset) in GetFloat()
141 if (offset == old_offset) in GetDouble()
156 if (offset == old_offset) in GetLongDouble()
171 if (offset == old_offset) in GetAddress()
186 if (offset == old_offset) in GetUnsignedInt8()
201 if (offset == old_offset) in GetUnsignedInt16()
216 if (offset == old_offset) in GetUnsignedInt32()
231 if (offset == old_offset) in GetUnsignedInt64()
246 if (offset == old_offset) in GetSignedInt8()
261 if (offset == old_offset) in GetSignedInt16()
[all …]
/freebsd/sys/x86/include/
H A Dbus.h165 *nbshp = bsh + offset; in bus_space_subregion()
197 bus_size_t offset);
201 bus_size_t offset);
205 bus_size_t offset);
210 bus_size_t offset);
215 bus_size_t offset) in bus_space_read_1() argument
225 bus_size_t offset) in bus_space_read_2() argument
235 bus_size_t offset) in bus_space_read_4() argument
246 bus_size_t offset) in bus_space_read_8() argument
695 bus_size_t offset,
[all …]
/freebsd/contrib/llvm-project/lldb/source/Core/
H A DDumpDataExtractor.cpp116 return offset; in DumpAPInt()
164 return offset; in DumpInstructions()
425 return offset; in DumpDataExtractor()
470 return offset; in DumpDataExtractor()
583 return offset; in DumpDataExtractor()
767 offset = in DumpDataExtractor()
775 offset = in DumpDataExtractor()
844 offset = in DumpDataExtractor()
852 offset = in DumpDataExtractor()
860 offset = in DumpDataExtractor()
[all …]
/freebsd/contrib/libarchive/libarchive/test/
H A Dtest_compat_solaris_pax_sparse.c36 int64_t offset, length; in test_compat_solaris_pax_sparse_1() local
67 assertEqualInt(0, offset); in test_compat_solaris_pax_sparse_1()
71 assertEqualInt(393216, offset); in test_compat_solaris_pax_sparse_1()
75 assertEqualInt(786432, offset); in test_compat_solaris_pax_sparse_1()
80 assert((offset >= 0 && offset + bytes_read <= 131072) || in test_compat_solaris_pax_sparse_1()
81 (offset >= 393216 && offset + bytes_read <= 393216+131072) || in test_compat_solaris_pax_sparse_1()
82 (offset >= 786432 && offset + bytes_read <= 786432+32775)); in test_compat_solaris_pax_sparse_1()
117 int64_t offset, length; in test_compat_solaris_pax_sparse_2() local
147 assertEqualInt(393216, offset); in test_compat_solaris_pax_sparse_2()
156 assert((offset >= 393216 && offset + bytes_read <= 393216+131072) || in test_compat_solaris_pax_sparse_2()
[all …]
H A Dtest_read_disk_directory_traversals.c89 int64_t offset; in test_basic() local
125 assertEqualInt((int)offset, 0); in test_basic()
581 int64_t offset; in test_symlink_hybrid() local
738 int64_t offset; in test_symlink_logical() local
968 int64_t offset; in test_symlink_logical_loop() local
1047 int64_t offset; in test_restore_atime() local
1339 int64_t offset; in test_callbacks() local
1470 int64_t offset; in test_nodump() local
1606 int64_t offset; in test_parent() local
1816 &offset)); in test_parent()
[all …]
/freebsd/contrib/libpcap/
H A Dpcap-util.c194 bpf_u_int32 offset = 0; in swap_linux_usb_header() local
207 if (hdr->caplen < offset) in swap_linux_usb_header()
214 if (hdr->caplen < offset) in swap_linux_usb_header()
221 if (hdr->caplen < offset) in swap_linux_usb_header()
226 if (hdr->caplen < offset) in swap_linux_usb_header()
231 if (hdr->caplen < offset) in swap_linux_usb_header()
236 if (hdr->caplen < offset) in swap_linux_usb_header()
241 if (hdr->caplen < offset) in swap_linux_usb_header()
247 if (hdr->caplen < offset) in swap_linux_usb_header()
252 if (hdr->caplen < offset) in swap_linux_usb_header()
[all …]
/freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/
H A DDWARFDebugMacro.cpp26 header.m_version = debug_macro_data.GetU16(offset); in ParseHeader()
28 uint8_t flags = debug_macro_data.GetU8(offset); in ParseHeader()
40 SkipOperandTable(debug_macro_data, offset); in ParseHeader()
50 debug_macro_data.GetU8(offset); in SkipOperandTable()
56 debug_macro_data.GetU8(offset); in SkipOperandTable()
77 line = debug_macro_data.GetULEB128(offset); in ReadMacroEntries()
78 macro_str = debug_macro_data.GetCStr(offset); in ReadMacroEntries()
88 line = debug_macro_data.GetULEB128(offset); in ReadMacroEntries()
90 str_offset = debug_macro_data.GetU64(offset); in ReadMacroEntries()
102 line = debug_macro_data.GetULEB128(offset); in ReadMacroEntries()
[all …]
/freebsd/sys/kern/
H A Dsubr_stack.c96 long offset; in stack_print() local
112 long offset; in stack_print_short() local
132 long offset; in stack_print_ddb() local
139 name, offset); in stack_print_ddb()
148 long offset; in stack_print_short_ddb() local
174 long offset; in stack_sbuf_print_flags() local
211 long offset; in stack_sbuf_print_ddb() local
218 name, offset); in stack_sbuf_print_ddb()
230 long offset; in stack_ktr() local
262 *offset = 0; in stack_symbol()
[all …]
/freebsd/contrib/llvm-project/lldb/source/Symbol/
H A DDWARFCallFrameInfo.cpp250 lldb::offset_t offset = cie_offset; in ParseCIE() local
382 if (end_offset > offset) { in ParseCIE()
383 cie_sp->inst_offset = offset; in ParseCIE()
386 while (offset < end_offset) { in ParseCIE()
436 lldb::offset_t offset = 0; in GetFDEIndex() local
480 offset = next_entry; in GetFDEIndex()
520 offset = next_entry; in GetFDEIndex()
601 offset = saved_offset; in FDEToUnwindPlan()
603 offset += aug_data_len; in FDEToUnwindPlan()
638 while (m_cfi_data.ValidOffset(offset) && offset < end_offset) { in FDEToUnwindPlan()
[all …]
/freebsd/sys/contrib/ck/src/
H A Dck_rhs.c431 offset = (offset &~ map->offset_mask) + in ck_rhs_map_probe_next()
444 offset = (offset &~ map->offset_mask) + ((offset - 1) & in ck_rhs_map_probe_prev()
668 offset = ck_rhs_map_probe_next(map, offset, probes); in ck_rhs_map_probe_rm()
675 offset = ck_rhs_map_probe_next(map, offset, probes); in ck_rhs_map_probe_rm()
782 offset = ck_rhs_map_probe_next(map, offset, probes); in ck_rhs_map_probe()
789 offset = ck_rhs_map_probe_next(map, offset, probes); in ck_rhs_map_probe()
846 long offset; in ck_rhs_add_wanted() local
863 offset = ck_rhs_map_probe_next(map, offset, probes); in ck_rhs_add_wanted()
878 offset = ck_rhs_map_probe_prev(map, offset, probes); in ck_rhs_remove_wanted()
896 offset = (offset &~ map->offset_mask) + in ck_rhs_get_first_offset()
[all …]
/freebsd/contrib/llvm-project/lldb/source/Plugins/Process/elf-core/
H A DThreadElfCore.cpp292 offset_t offset = 0; in Parse() local
298 offset += 2; // pad in Parse()
303 pr_pid = data.GetU32(&offset); in Parse()
306 pr_sid = data.GetU32(&offset); in Parse()
360 offset_t offset = 0; in Parse() local
364 pr_zomb = data.GetU8(&offset); in Parse()
365 pr_nice = data.GetU8(&offset); in Parse()
368 offset += 4; in Parse()
390 offset += size; in Parse()
394 offset += size; in Parse()
[all …]
/freebsd/contrib/ncurses/ncurses/base/
H A DMKunctrl.awk47 offset=0
63 printf "%4d%s", offset, gap;
66 offset = offset + 3;
69 offset = offset + 3;
72 offset = offset + 3;
75 offset = offset + 3;
78 offset = offset + 4;
82 offset = offset + 2;
114 printf "%4d%s", offset, gap;
117 offset = offset + 2;

12345678910>>...123