Home
last modified time | relevance | path

Searched refs:offset (Results 151 – 175 of 4008) sorted by relevance

12345678910>>...161

/freebsd/sbin/hastd/
H A Drangelock.c96 rangelock_add(struct rangelocks *rls, off_t offset, off_t length) in rangelock_add() argument
105 rl->rl_start = offset; in rangelock_add()
106 rl->rl_end = offset + length; in rangelock_add()
112 rangelock_del(struct rangelocks *rls, off_t offset, off_t length) in rangelock_del() argument
119 if (rl->rl_start == offset && rl->rl_end == offset + length) in rangelock_del()
128 rangelock_islocked(struct rangelocks *rls, off_t offset, off_t length) in rangelock_islocked() argument
135 end = offset + length; in rangelock_islocked()
137 if (rl->rl_start < end && rl->rl_end > offset) in rangelock_islocked()
/freebsd/sys/geom/
H A Dgeom_slice.c115 if (gsl->offset + gsl->length <= gsl2->offset) in g_slice_access()
117 if (gsl2->offset + gsl2->length <= gsl->offset) in g_slice_access()
182 bp2->bio_offset += gsl->offset; in g_slice_finish_hot()
241 t = bp->bio_offset + gsl->offset; in g_slice_start()
244 if (t >= ghp->offset + ghp->length) in g_slice_start()
282 bp2->bio_offset += gsl->offset; in g_slice_start()
303 gkd->offset += gsp->slices[idx].offset; in g_slice_start()
375 if (offset != gsl->offset) in g_slice_config()
382 gsl->offset = offset; in g_slice_config()
420 (intmax_t)(offset + length - 1)); in g_slice_config()
[all …]
/freebsd/sys/dev/igc/
H A Digc_nvm.c387 if ((offset >= nvm->word_size) || (words > (nvm->word_size - offset)) || in igc_read_nvm_eerd()
435 if ((offset >= nvm->word_size) || (words > (nvm->word_size - offset)) || in igc_write_nvm_spi()
507 u16 offset; in igc_read_pba_string_generic() local
558 for (offset = 0; offset < 10; offset++) { in igc_read_pba_string_generic()
559 if (pba_num[offset] < 0xA) in igc_read_pba_string_generic()
560 pba_num[offset] += '0'; in igc_read_pba_string_generic()
561 else if (pba_num[offset] < 0x10) in igc_read_pba_string_generic()
562 pba_num[offset] += 'A' - 0xA; in igc_read_pba_string_generic()
588 for (offset = 0; offset < length; offset++) { in igc_read_pba_string_generic()
594 pba_num[offset * 2] = (u8)(nvm_data >> 8); in igc_read_pba_string_generic()
[all …]
/freebsd/contrib/llvm-project/lldb/source/Plugins/ObjectContainer/Mach-O-Fileset/
H A DObjectContainerMachOFileset.cpp100 lldb::offset_t offset = 0; in ParseMachOHeader() local
102 header.magic = data.GetU32(&offset); in ParseMachOHeader()
128 header.cputype = data.GetU32(&offset); in ParseMachOHeader()
129 header.cpusubtype = data.GetU32(&offset); in ParseMachOHeader()
130 header.filetype = data.GetU32(&offset); in ParseMachOHeader()
131 header.ncmds = data.GetU32(&offset); in ParseMachOHeader()
167 offset = load_cmd_offset + lc.cmdsize; in ParseFileset()
254 lldb::offset_t offset = 0; in MagicBytesMatch() local
255 uint32_t magic = data.GetU32(&offset); in MagicBytesMatch()
265 offset += 4; // cputype in MagicBytesMatch()
[all …]
/freebsd/sys/kern/
H A Dsubr_memdesc.c482 offset -= vlist->ds_len; in vlist_ext_mbuf()
496 offset, todo); in vlist_ext_mbuf()
508 offset = 0; in vlist_ext_mbuf()
532 offset -= plist->ds_len; in plist_ext_mbuf()
572 offset = 0; in plist_ext_mbuf()
610 offset -= PAGE_SIZE; in vmpages_ext_mbuf()
621 if (end > offset) in vmpages_ext_mbuf()
622 len = end - offset; in vmpages_ext_mbuf()
634 m->m_epg_1st_off = offset; in vmpages_ext_mbuf()
695 offset -= m0->m_len; in mbuf_subchain()
[all …]
/freebsd/usr.sbin/bhyve/amd64/
H A Dvga.c214 int offset; in vga_get_pixel() local
247 int offset; in vga_render_graphics() local
310 int offset; in vga_render_text() local
343 int offset; in vga_mem_rd_handler() local
345 offset = addr; in vga_mem_rd_handler()
351 offset -=0xa0000; in vga_mem_rd_handler()
358 offset -=0xa0000; in vga_mem_rd_handler()
389 offset &= ~1; in vga_mem_rd_handler()
407 int offset; in vga_mem_wr_handler() local
409 offset = addr; in vga_mem_wr_handler()
[all …]
/freebsd/contrib/wireguard-tools/
H A Dshow.c131 size_t offset = 0; in pretty_time() local
144offset += snprintf(buf + offset, len - offset, "%s%llu " TERMINAL_FG_CYAN "year%s" TERMINAL_RESET,… in pretty_time()
146offset += snprintf(buf + offset, len - offset, "%s%llu " TERMINAL_FG_CYAN "day%s" TERMINAL_RESET,… in pretty_time()
148offset += snprintf(buf + offset, len - offset, "%s%llu " TERMINAL_FG_CYAN "hour%s" TERMINAL_RESET… in pretty_time()
150offset += snprintf(buf + offset, len - offset, "%s%llu " TERMINAL_FG_CYAN "minute%s" TERMINAL_RESE… in pretty_time()
152offset += snprintf(buf + offset, len - offset, "%s%llu " TERMINAL_FG_CYAN "second%s" TERMINAL_RES… in pretty_time()
154 return offset; in pretty_time()
160 size_t offset; in ago() local
168 offset = pretty_time(buf, sizeof(buf), now - t->tv_sec); in ago()
169 strncpy(buf + offset, " ago", sizeof(buf) - offset - 1); in ago()
/freebsd/sys/dev/qat/qat_hw/qat_c4xxx/
H A Dadf_c4xxx_ras.c933 offset, in adf_handle_parser_uerr()
953 offset, in adf_handle_mac_intr()
962 offset, in adf_handle_mac_intr()
969 offset, in adf_handle_mac_intr()
977 offset, in adf_handle_mac_intr()
985 offset, in adf_handle_mac_intr()
993 offset, in adf_handle_mac_intr()
1001 offset, in adf_handle_mac_intr()
1011 offset, in adf_handle_mac_intr()
1017 offset, in adf_handle_mac_intr()
[all …]
/freebsd/contrib/llvm-project/compiler-rt/lib/memprof/
H A Dmemprof_interceptors_memintrinsics.h30 #define ACCESS_MEMORY_RANGE(offset, size) \ in DECLARE_REAL() argument
32 __memprof_record_access_range(offset, size); \ in DECLARE_REAL()
35 #define MEMPROF_READ_RANGE(offset, size) ACCESS_MEMORY_RANGE(offset, size) in DECLARE_REAL() argument
36 #define MEMPROF_WRITE_RANGE(offset, size) ACCESS_MEMORY_RANGE(offset, size) in DECLARE_REAL() argument
/freebsd/contrib/elftoolchain/libdwarf/
H A Ddwarf_die.c72 uint64_t offset; in dwarf_siblingof_b() local
108 offset = die->die_next_off; in dwarf_siblingof_b()
116 offset = at->u[0].u64 + cu->cu_offset; in dwarf_siblingof_b()
118 offset = at->u[0].u64; in dwarf_siblingof_b()
120 offset = die->die_next_off; in dwarf_siblingof_b()
154 offset, cu->cu_next_offset, ret_die, 0, error)); in _dwarf_search_die_within_cu()
175 if (offset > cu->cu_offset && offset < cu->cu_next_offset) { in dwarf_offdie_b()
194 if (offset < cu->cu_offset || in dwarf_offdie_b()
195 offset > cu->cu_next_offset) in dwarf_offdie_b()
208 if (offset < cu->cu_offset || in dwarf_offdie_b()
[all …]
H A Dlibdwarf_nametbl.c65 uint64_t offset, dwarf_size, length, cuoff; in _dwarf_nametbl_init() local
79 offset = 0; in _dwarf_nametbl_init()
80 while (offset < ds->ds_size) { in _dwarf_nametbl_init()
92 length = dbg->read(ds->ds_data, &offset, 4); in _dwarf_nametbl_init()
95 length = dbg->read(ds->ds_data, &offset, 8); in _dwarf_nametbl_init()
119 while (offset < ds->ds_size) { in _dwarf_nametbl_init()
132 np->np_name = &p[offset]; in _dwarf_nametbl_init()
133 while (p[offset++] != '\0') in _dwarf_nametbl_init()
175 uint64_t offset; in _dwarf_nametbl_gen() local
215 offset = 0; in _dwarf_nametbl_gen()
[all …]
/freebsd/sys/security/mac/
H A Dmac_framework.c418 size_t offset; member
428 { .offset = FPO(vnode_check_open),
430 { .offset = FPO(vnode_check_stat),
432 { .offset = FPO(vnode_check_read),
436 { .offset = FPO(vnode_check_mmap),
438 { .offset = FPO(vnode_check_poll),
444 { .offset = FPO(pipe_check_stat),
446 { .offset = FPO(pipe_check_poll),
448 { .offset = FPO(pipe_check_read),
492 if (ops[mpfe->offset] != NULL) in mac_policy_fastpath_register()
[all …]
/freebsd/contrib/ntp/libparse/
H A Dclk_meinberg.c302 if (Stoi(&buffer[format->field_offsets[O_DAY].offset], &clock_time->day, in cvt_meinberg()
306 Stoi(&buffer[format->field_offsets[O_YEAR].offset], &clock_time->year, in cvt_meinberg()
308 Stoi(&buffer[format->field_offsets[O_HOUR].offset], &clock_time->hour, in cvt_meinberg()
319 unsigned char *f = &buffer[format->field_offsets[O_FLAGS].offset]; in cvt_meinberg()
351 switch (buffer[format->field_offsets[O_ZONE].offset]) in cvt_meinberg()
377 if (buffer[format->field_offsets[O_ZONE].offset] == 'S') in cvt_meinberg()
482 if (Stoi(&buffer[format->field_offsets[O_DAY].offset], &clock_time->day, in cvt_mgps()
500 unsigned char *f = &buffer[format->field_offsets[O_FLAGS].offset]; in cvt_mgps()
509 if (Stoi(&buffer[format->field_offsets[O_UTCHOFFSET].offset], &h, in cvt_mgps()
525 if (buffer[format->field_offsets[O_UTCSOFFSET].offset] != '-') in cvt_mgps()
[all …]
/freebsd/tools/tools/drm/radeon/mkregtable/
H A Dmkregtable.c551 struct offset { struct
553 unsigned offset; member
566 struct offset *offset; in offset_new() local
568 offset = (struct offset *)malloc(sizeof(struct offset)); in offset_new()
569 if (offset) { in offset_new()
571 offset->offset = o; in offset_new()
573 return offset; in offset_new()
616 struct offset *offset; in table_build() local
625 i = (offset->offset >> 2) / 32; in table_build()
626 m = (offset->offset >> 2) & 31; in table_build()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64InstrAtomics.td74 (LDRBBui GPR64sp:$Rn, uimm12s1:$offset)>;
77 (LDURBBi GPR64sp:$Rn, simm9:$offset)>;
90 (LDRHHui GPR64sp:$Rn, uimm12s2:$offset)>;
93 (LDURHHi GPR64sp:$Rn, simm9:$offset)>;
106 (LDRWui GPR64sp:$Rn, uimm12s4:$offset)>;
109 (LDURWi GPR64sp:$Rn, simm9:$offset)>;
122 (LDRXui GPR64sp:$Rn, uimm12s8:$offset)>;
125 (LDURXi GPR64sp:$Rn, simm9:$offset)>;
136 (LDRSui GPR64sp:$Rn, uimm12s8:$offset)>;
139 (LDURSi GPR64sp:$Rn, simm9:$offset)>;
[all …]
/freebsd/contrib/llvm-project/lldb/include/lldb/Utility/
H A DDataExtractor.h206 lldb::offset_t PutToLog(Log *log, lldb::offset_t offset,
821 const char *PeekCStr(lldb::offset_t offset) const;
833 if (ValidOffsetForDataOfSize(offset, length)) in PeekData()
834 return m_start + offset; in PeekData()
919 lldb::offset_t offset = 0,
954 bool ValidOffset(lldb::offset_t offset) const { in ValidOffset() argument
955 return offset < GetByteSize(); in ValidOffset()
963 bool ValidOffsetForDataOfSize(lldb::offset_t offset, in ValidOffsetForDataOfSize() argument
965 return length <= BytesLeft(offset); in ValidOffsetForDataOfSize()
976 if (size > offset) in BytesLeft()
[all …]
/freebsd/sys/dev/xen/gntdev/
H A Dgntdev.c137 offset->count -= count; in get_file_offset()
138 *file_offset = offset->file_offset + offset->count * in get_file_offset()
140 if (offset->count == 0) { in get_file_offset()
143 free(offset, M_GNTDEV); in get_file_offset()
160 offset = malloc(sizeof(*offset), M_GNTDEV, M_WAITOK | M_ZERO); in put_file_offset()
162 offset->count = count; in put_file_offset()
169 offset_nxt->file_offset == offset->file_offset + offset->count * in put_file_offset()
181 free(offset, M_GNTDEV); in put_file_offset()
841 uint64_t offset; in notify() local
845 mem[offset] = 0; in notify()
[all …]
/freebsd/sys/arm64/qoriq/clk/
H A Dls1028a_clkgen.c56 .offset = 0x60080,
73 .offset = 0x80,
86 .offset = 0xA0,
116 .offset = 0x70000,
130 .offset = 0x70020,
144 .offset = 0x70040,
158 .offset = 0x70060,
194 .offset = 0x10,
208 .offset = 0x30,
222 .offset = 0x50,
[all …]
/freebsd/tools/regression/geom/ConfCmp/
H A Da1.conf194 <offset>8585256960</offset>
208 <offset>3220439040</offset>
222 <offset>32256</offset>
269 <offset>8585256960</offset>
282 <offset>8585256960</offset>
311 <offset>3220439040</offset>
340 <offset>1153465856</offset>
353 <offset>629177856</offset>
366 <offset>32256</offset>
379 <offset>104889856</offset>
[all …]
H A Da1a.conf194 <offset>8585256960</offset>
208 <offset>3220439040</offset>
222 <offset>32256</offset>
269 <offset>8585256960</offset>
282 <offset>8585256960</offset>
311 <offset>3220439040</offset>
340 <offset>1153465856</offset>
353 <offset>629177856</offset>
366 <offset>32256</offset>
379 <offset>104889856</offset>
[all …]
H A Da1b.conf194 <offset>8585256960</offset>
208 <offset>3220439040</offset>
222 <offset>32256</offset>
269 <offset>8585256960</offset>
282 <offset>8585256960</offset>
311 <offset>3220439040</offset>
340 <offset>1153465856</offset>
353 <offset>629177856</offset>
366 <offset>32256</offset>
379 <offset>104889856</offset>
[all …]
H A Da1c.conf194 <offset>8585256960</offset>
208 <offset>3220439040</offset>
222 <offset>32256</offset>
269 <offset>8585256960</offset>
282 <offset>8585256960</offset>
311 <offset>3220439040</offset>
340 <offset>1153465856</offset>
353 <offset>629177856</offset>
366 <offset>32256</offset>
379 <offset>104889856</offset>
[all …]
H A Da1d.conf194 <offset>8585256960</offset>
208 <offset>3220439040</offset>
222 <offset>32256</offset>
269 <offset>8585256960</offset>
282 <offset>8585256960</offset>
311 <offset>3220439040</offset>
340 <offset>1153465856</offset>
353 <offset>629177856</offset>
366 <offset>32256</offset>
379 <offset>104889856</offset>
[all …]
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_send/
H A Dzfs_send_sparse.ksh47 typeset offset="$3"
53 log_must dd if=/dev/urandom of=$sendfile bs=1 count=1 seek=$offset
59 log_must cmp $sendfile $recvfile $offset $offset
78 offset=$(echo "2 ^ $i" | bc)
79 [[ is_32bit ]] && [[ $offset -ge $OFF_T_MAX ]] && continue;
80 write_compare_files $SENDFS $RECVFS $offset
/freebsd/sys/contrib/zstd/doc/educational_decoder/
H A Dzstd_decompress.c328 u32 offset; member
1148 seq.offset = ((u32)1 << of_code) + STREAM_read_bits(src, of_code, offset); in decode_sequence()
1163 if (*offset != 0) { in decode_sequence()
1285 size_t offset; in compute_offset() local
1322 offset = seq.offset - 3; in compute_offset()
1329 return offset; in compute_offset()
1733 src += offset / 8; in read_bits_LE()
1758 *offset = *offset - bits; in STREAM_read_bits()
1763 if (*offset < 0) { in STREAM_read_bits()
1769 if (*offset < 0) { in STREAM_read_bits()
[all …]

12345678910>>...161