Searched refs:offset (Results 401 - 425 of 3197) sorted by relevance

<<11121314151617181920>>

/freebsd-11-stable/sys/dev/drm/
H A Dvia_mm.c54 dev_priv->agp_offset = agp->offset;
56 DRM_DEBUG("offset = %u, size = %u\n", agp->offset, agp->size);
74 dev_priv->vram_offset = fb->offset;
76 DRM_DEBUG("offset = %u, size = %u\n", fb->offset, fb->size);
137 mem->offset = ((mem->type == VIA_MEM_VIDEO) ?
140 offset(item->mm, item->mm_info) << VIA_MM_ALIGN_SHIFT);
143 mem->offset = 0;
/freebsd-11-stable/sys/dev/mvs/
H A Dmvs.h634 #define ATA_INB(res, offset) \
635 bus_read_1((res), (offset))
636 #define ATA_INW(res, offset) \
637 bus_read_2((res), (offset))
638 #define ATA_INL(res, offset) \
639 bus_read_4((res), (offset))
640 #define ATA_INSW(res, offset, addr, count) \
641 bus_read_multi_2((res), (offset), (addr), (count))
642 #define ATA_INSW_STRM(res, offset, addr, count) \
643 bus_read_multi_stream_2((res), (offset), (add
[all...]
/freebsd-11-stable/sys/fs/nandfs/
H A Dnandfs_sufile.c56 #define SU_USAGE_OFF(bp, offset) \
57 ((struct nandfs_segment_usage *)((bp)->b_data + offset))
61 uint64_t *blk, uint64_t *offset)
72 *offset = off % fsdev->nd_blocksize;
84 uint64_t blk, vblk, offset, i, rest, nsegments; local
109 nandfs_seg_usage_blk_offset(fsdev, i, &blk, &offset);
131 su_usage = SU_USAGE_OFF(bp, offset);
133 su_usage = SU_USAGE_OFF(bp_header, offset);
137 rest = (fsdev->nd_blocksize - offset) / seg_size;
172 offset
60 nandfs_seg_usage_blk_offset(struct nandfs_device *fsdev, uint64_t seg, uint64_t *blk, uint64_t *offset) argument
218 uint64_t blk, offset; local
245 uint64_t blk, offset; local
282 uint64_t blk, offset; local
344 uint64_t blk, offset; local
375 uint64_t blk, offset; local
406 uint64_t offset, segsize; local
[all...]
H A Dnandfs_cpfile.c63 uint64_t *blk, uint64_t *offset)
76 *offset = (off % cp_per_blk) * cp_size;
83 uint64_t blk, uint64_t offset)
88 cp_remaining = (fsdev->nd_blocksize - offset) / cp_size;
98 uint64_t blk, offset; local
116 nandfs_checkpoint_blk_offset(fsdev, cn, &blk, &offset);
132 DPRINTF(CPFILE, ("%s: cn:%#jx entry block:%#jx offset:%#jx\n",
133 __func__, (uintmax_t)cn, (uintmax_t)blk, (uintmax_t)offset));
145 uint64_t blk, offset; local
163 nandfs_checkpoint_blk_offset(fsdev, cn, &blk, &offset);
62 nandfs_checkpoint_blk_offset(struct nandfs_device *fsdev, uint64_t cn, uint64_t *blk, uint64_t *offset) argument
82 nandfs_checkpoint_blk_remaining(struct nandfs_device *fsdev, uint64_t cn, uint64_t blk, uint64_t offset) argument
219 uint64_t blk, prev_blk, offset; local
344 uint64_t blk, offset, snapshot_cnt; local
491 uint64_t blk, offset, last_cno, i; local
565 uint64_t blk, offset, curr_cno; local
689 uint64_t cno = start, blk, offset; local
[all...]
/freebsd-11-stable/sys/geom/
H A Dgeom_slice.c119 if (gsl->offset + gsl->length <= gsl2->offset)
121 if (gsl2->offset + gsl2->length <= gsl->offset)
186 bp2->bio_offset += gsl->offset;
245 t = bp->bio_offset + gsl->offset;
248 if (t >= ghp->offset + ghp->length)
250 if (t + bp->bio_length <= ghp->offset)
286 bp2->bio_offset += gsl->offset;
307 gkd->offset
354 g_slice_config(struct g_geom *gp, u_int idx, int how, off_t offset, off_t length, u_int sectorsize, const char *fmt, ...) argument
448 g_slice_conf_hot(struct g_geom *gp, u_int idx, off_t offset, off_t length, int ract, int dact, int wact) argument
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Support/
H A DIntervalMap.cpp31 while (l && path[l].offset == 0)
35 if (path[l].offset == 0)
39 NodeRef NR = path[l].subtree(path[l].offset - 1);
54 while (path[l].offset == 0) {
63 --path[l].offset;
89 NodeRef NR = path[l].subtree(path[l].offset + 1);
106 // offset(0) == node(0).size().
107 if (++path[l].offset == path[l].size)
/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/ObjectFile/ELF/
H A DELFHeader.h59 elf_off e_phoff; ///< File offset of program header table.
60 elf_off e_shoff; ///< File offset of section header table.
113 /// Parse an ELFHeader entry starting at position \p offset and update the
121 /// \param[in,out] offset
122 /// Pointer to an offset in the data. On return the offset will be
128 bool Parse(lldb_private::DataExtractor &data, lldb::offset_t *offset);
174 /// position \p offset.
180 /// \param[in,out] offset
181 /// Pointer to an offset i
[all...]
/freebsd-11-stable/contrib/llvm-project/lldb/include/lldb/Core/
H A DAddress.h33 /// A section + offset based address class.
66 /// Display as the section name + offset.
68 /// // address for printf in libSystem.B.dylib as a section name + offset
72 /// Display as the section pointer + offset (debug output).
75 /// offset (lldb::Section *)0x35cc50 + 0x000000000005cfdf
104 /// Elide the function name; display an offset into the current function.
117 /// Initialize with a invalid section (NULL) and an invalid offset
130 /// Construct with a section pointer and offset.
132 /// Initialize the address with the supplied \a section and \a offset.
138 /// \param[in] offset
140 Address(const lldb::SectionSP &section_sp, lldb::addr_t offset) argument
425 SetOffset(lldb::addr_t offset) argument
436 Slide(int64_t offset) argument
[all...]
/freebsd-11-stable/contrib/serf/buckets/
H A Diovec_buckets.c34 /* First buffer offset. */
35 int offset; member in struct:__anon68
50 ctx->offset = 0;
88 vecs[*vecs_used].iov_base = (char*)vec.iov_base + ctx->offset;
89 remaining = vec.iov_len - ctx->offset;
94 ctx->offset += requested;
101 ctx->offset = 0;
108 if (ctx->current_vec == ctx->vecs_len && !ctx->offset)
/freebsd-11-stable/sys/dev/pdq/
H A Dpdqvar.h137 #define PDQ_OS_IORD_32(t, base, offset) inl((base) + (offset))
138 #define PDQ_OS_IOWR_32(t, base, offset, data) outl((base) + (offset), data)
139 #define PDQ_OS_IORD_8(t, base, offset) inb((base) + (offset))
140 #define PDQ_OS_IOWR_8(t, base, offset, data) outb((base) + (offset), data)
141 #define PDQ_OS_MEMRD_32(t, base, offset) (0 + *((base) + (offset)))
[all...]
/freebsd-11-stable/sys/dev/hpt27xx/
H A Dhpt27xx_os_bsd.c55 HPT_U8 os_pci_readb (void *osext, HPT_U8 offset) argument
57 return pci_read_config(((PHBA)osext)->pcidev, offset, 1);
60 HPT_U16 os_pci_readw (void *osext, HPT_U8 offset) argument
62 return pci_read_config(((PHBA)osext)->pcidev, offset, 2);
65 HPT_U32 os_pci_readl (void *osext, HPT_U8 offset) argument
67 return pci_read_config(((PHBA)osext)->pcidev, offset, 4);
70 void os_pci_writeb (void *osext, HPT_U8 offset, HPT_U8 value) argument
72 pci_write_config(((PHBA)osext)->pcidev, offset, value, 1);
75 void os_pci_writew (void *osext, HPT_U8 offset, HPT_U16 value) argument
77 pci_write_config(((PHBA)osext)->pcidev, offset, valu
80 os_pci_writel(void *osext, HPT_U8 offset, HPT_U32 value) argument
108 os_map_pci_bar( void *osext, int index, HPT_U32 offset, HPT_U32 length ) argument
[all...]
/freebsd-11-stable/sys/dev/hptnr/
H A Dhptnr_os_bsd.c54 HPT_U8 os_pci_readb (void *osext, HPT_U8 offset) argument
56 return pci_read_config(((PHBA)osext)->pcidev, offset, 1);
59 HPT_U16 os_pci_readw (void *osext, HPT_U8 offset) argument
61 return pci_read_config(((PHBA)osext)->pcidev, offset, 2);
64 HPT_U32 os_pci_readl (void *osext, HPT_U8 offset) argument
66 return pci_read_config(((PHBA)osext)->pcidev, offset, 4);
69 void os_pci_writeb (void *osext, HPT_U8 offset, HPT_U8 value) argument
71 pci_write_config(((PHBA)osext)->pcidev, offset, value, 1);
74 void os_pci_writew (void *osext, HPT_U8 offset, HPT_U16 value) argument
76 pci_write_config(((PHBA)osext)->pcidev, offset, valu
79 os_pci_writel(void *osext, HPT_U8 offset, HPT_U32 value) argument
94 os_map_pci_bar( void *osext, int index, HPT_U32 offset, HPT_U32 length ) argument
[all...]
/freebsd-11-stable/sys/geom/raid/
H A Dtr_concat.c215 off_t offset, length, remain; local
229 offset = bp->bio_offset;
237 offset >= vol->v_subdisks[no].sd_size) {
238 offset -= vol->v_subdisks[no].sd_size;
246 length = MIN(sd->sd_size - offset, remain);
250 cbp->bio_offset = offset;
266 offset = 0;
293 off_t offset, length, remain; local
300 offset = boffset;
305 offset >
[all...]
/freebsd-11-stable/sys/mips/mips/
H A Dstdatomic.c95 * in 32-bit words at an offset corresponding with the location of the
102 size_t offset; local
104 offset = (intptr_t)offset_ptr & 3;
105 r->v8[offset] = val;
111 size_t offset; local
113 offset = (intptr_t)offset_ptr & 3;
114 return (r->v8[offset]);
120 size_t offset; local
126 offset = (intptr_t)offset_ptr & 3;
128 r->v8[offset]
135 size_t offset; local
[all...]
/freebsd-11-stable/crypto/openssl/crypto/txt_db/
H A Dtxt_db.c79 int offset = 0; local
107 offset = 0;
109 if (offset != 0) {
114 buf->data[offset] = '\0';
115 BIO_gets(in, &(buf->data[offset]), size - offset);
117 if (buf->data[offset] == '\0')
119 if ((offset == 0) && (buf->data[0] == '#'))
121 i = strlen(&(buf->data[offset]));
122 offset
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DArrayBoundCheckerV2.cpp55 RegionRawOffsetV2(const SubRegion* base, SVal offset) argument
56 : baseRegion(base), byteOffset(offset) {}
84 getSimplifiedOffsets(NonLoc offset, nonloc::ConcreteInt extent, argument
86 Optional<nonloc::SymbolVal> SymVal = offset.getAs<nonloc::SymbolVal>();
96 return std::pair<NonLoc, nonloc::ConcreteInt>(offset, extent);
112 return std::pair<NonLoc, nonloc::ConcreteInt>(offset, extent);
141 // before the first valid offset in the memory region.
179 // we are doing a load/store after the last valid offset.
305 /// Compute a raw byte offset from a base region. Used for array bounds
312 SVal offset local
[all...]
/freebsd-11-stable/stand/usb/
H A Dusb_busdma_loader.c35 * usbd_get_page - lookup DMA-able memory for the given offset
41 usbd_get_page(struct usb_page_cache *pc, usb_frlength_t offset, argument
55 res->buffer = USB_ADD_BYTES(pc->buffer, offset);
57 offset += pc->page_offset_buf;
65 page += (offset / USB_PAGE_SIZE);
67 offset %= USB_PAGE_SIZE;
69 res->length = USB_PAGE_SIZE - offset;
70 res->physaddr = page->physaddr + offset;
73 res->physaddr = page->physaddr + offset;
79 res->buffer = USB_ADD_BYTES(page->buffer, offset);
97 usbd_copy_in(struct usb_page_cache *cache, usb_frlength_t offset, const void *ptr, usb_frlength_t len) argument
121 usbd_copy_out(struct usb_page_cache *cache, usb_frlength_t offset, void *ptr, usb_frlength_t len) argument
145 usbd_frame_zero(struct usb_page_cache *cache, usb_frlength_t offset, usb_frlength_t len) argument
[all...]
/freebsd-11-stable/lib/libprocstat/
H A Dcore.c79 static bool core_offset(struct procstat_core *core, off_t offset);
174 off_t offset, eoffset; local
188 offset = core->pc_phdr.p_offset;
189 eoffset = offset + core->pc_phdr.p_filesz;
192 while (offset < eoffset) {
193 if (!core_offset(core, offset))
198 offset += sizeof(nhdr) +
269 core_offset(struct procstat_core *core, off_t offset) argument
274 if (lseek(core->pc_fd, offset, SEEK_SET) == -1) {
275 warn("core: lseek(%jd)", (intmax_t)offset);
305 off_t offset; local
429 off_t offset, eoffset; local
[all...]
/freebsd-11-stable/sys/pc98/include/
H A Dbus.h251 * bus_space_handle_t bsh, bus_size_t offset, bus_size_t size,
258 bus_size_t offset, bus_size_t size,
294 (bus_space_tag_t, bus_space_handle_t, bus_size_t offset); \
327 bus_size_t offset) \
333 "=d" (offset) \
336 "1" (offset) \
352 bus_size_t offset, TYPE val) \
356 :"=d" (offset) \
360 "0" (offset) \
374 bus_size_t offset, TYP
560 bus_space_barrier(bus_space_tag_t tag, bus_space_handle_t bsh, bus_size_t offset, bus_size_t len, int flags) argument
[all...]
/freebsd-11-stable/tools/tools/drm/radeon/mkregtable/
H A Dmkregtable.c554 struct offset { struct
556 unsigned offset; member in struct:offset
567 static struct offset *offset_new(unsigned o)
569 struct offset *offset; local
571 offset = (struct offset *)malloc(sizeof(struct offset));
572 if (offset) {
573 INIT_LIST_HEAD(&offset
579 table_offset_add(struct table *t, struct offset *offset) argument
624 struct offset *offset; local
653 struct offset *offset; local
[all...]
/freebsd-11-stable/usr.sbin/kldxref/
H A Def.c86 static int ef_read(elf_file_t ef, Elf_Off offset, size_t len, void* dest);
87 static int ef_read_entry(elf_file_t ef, Elf_Off offset, size_t len, void **ptr);
88 static int ef_seg_read(elf_file_t ef, Elf_Off offset, size_t len, void *dest);
89 static int ef_seg_read_rel(elf_file_t ef, Elf_Off offset, size_t len,
91 static int ef_seg_read_string(elf_file_t ef, Elf_Off offset, size_t len,
93 static int ef_seg_read_entry(elf_file_t ef, Elf_Off offset, size_t len,
95 static int ef_seg_read_entry_rel(elf_file_t ef, Elf_Off offset, size_t len,
425 ef_read(elf_file_t ef, Elf_Off offset, size_t len, void*dest) argument
429 if (offset != (Elf_Off)-1) {
430 if (lseek(ef->ef_fd, offset, SEEK_SE
442 ef_read_entry(elf_file_t ef, Elf_Off offset, size_t len, void**ptr) argument
456 ef_seg_read(elf_file_t ef, Elf_Off offset, size_t len, void*dest) argument
470 ef_seg_read_rel(elf_file_t ef, Elf_Off offset, size_t len, void*dest) argument
502 ef_seg_read_string(elf_file_t ef, Elf_Off offset, size_t len, char *dest) argument
524 ef_seg_read_entry(elf_file_t ef, Elf_Off offset, size_t len, void**ptr) argument
538 ef_seg_read_entry_rel(elf_file_t ef, Elf_Off offset, size_t len, void**ptr) argument
[all...]
/freebsd-11-stable/contrib/sendmail/libsmutil/
H A Dsafefile.c385 ** offset -- offset into fn to start checking from.
393 safedirpath(fn, uid, gid, user, flags, level, offset)
400 int offset;
415 if (level < 0 || offset < 0 || offset > strlen(fn))
423 sm_dprintf("safedirpath(%s, uid=%ld, gid=%ld, flags=%lx, level=%d, offset=%d):\n",
424 fn, (long) uid, (long) gid, flags, level, offset);
433 p = s + offset;
507 offset
[all...]
/freebsd-11-stable/contrib/gcc/
H A Dtree-ssa-structalias.c78 of a constraint type, a variable, and an offset.
91 field" in each variable that points to the next field in offset
97 3. "offset", that tells the offset in bits from the beginning of the
110 foo.a -> id 1, size 32, offset 0, fullsize 64, next foo.b
111 foo.b -> id 2, size 32, offset 32, fullsize 64, next NULL
112 bar -> id 3, size 32, offset 0, fullsize 32, next NULL
154 on and turned into anything), but isn't. You can just see what offset
221 unsigned HOST_WIDE_INT offset; member in struct:variable_info
405 unsigned HOST_WIDE_INT offset; member in struct:constraint_expr
706 solution_set_add(bitmap set, unsigned HOST_WIDE_INT offset) argument
1325 type_safe(unsigned int n, unsigned HOST_WIDE_INT *offset) argument
1355 unsigned HOST_WIDE_INT offset = c->lhs.offset; local
3585 first_vi_for_offset(varinfo_t start, unsigned HOST_WIDE_INT offset) argument
3679 push_fields_onto_fieldstack(tree type, VEC(fieldoff_s,heap) **fieldstack, HOST_WIDE_INT offset, bool *has_union) argument
[all...]
/freebsd-11-stable/crypto/openssl/crypto/bio/
H A Dbss_bio.c133 size_t offset; /* valid iff buf != NULL; 0 if len == 0 */ member in struct:bio_bio_st
154 b->offset = 0;
238 if (peer_b->offset + rest <= peer_b->size)
242 chunk = peer_b->size - peer_b->offset;
243 assert(peer_b->offset + chunk <= peer_b->size);
245 memcpy(buf, peer_b->buf + peer_b->offset, chunk);
249 peer_b->offset += chunk;
250 assert(peer_b->offset <= peer_b->size);
251 if (peer_b->offset == peer_b->size)
252 peer_b->offset
[all...]
/freebsd-11-stable/stand/efi/loader/
H A Dframebuffer.c274 ssize_t offset; local
305 * offset within the frame buffer of the visible region, nor
310 offset = -1;
320 offset = 0x10000;
328 offset = 0x0;
337 if (offset >= 0 && efifb->fb_width == horiz &&
339 efifb->fb_addr += offset;
340 efifb->fb_size -= offset;
343 } else if (offset >= 0) {
372 * offset
[all...]

Completed in 220 milliseconds

<<11121314151617181920>>