/freebsd-10.0-release/sys/contrib/libfdt/ |
H A D | fdt_sw.c | 75 int offset = fdt_size_dt_struct(fdt); local 81 if ((offset + len < offset) || (offset + len > spaceleft)) 84 fdt_set_size_dt_struct(fdt, offset + len); 85 return _fdt_offset_ptr_w(fdt, offset); 113 int offset; local 120 offset = fdt_off_dt_struct(fdt); 121 if ((offset + sizeof(*re)) > fdt_totalsize(fdt)) 124 re = (struct fdt_reserve_entry *)((char *)fdt + offset); 174 int struct_top, offset; local 219 int offset, nextoffset; local [all...] |
H A D | fdt_wip.c | 97 int _fdt_node_end_offset(void *fdt, int offset) argument 101 while ((offset >= 0) && (depth >= 0)) 102 offset = fdt_next_node(fdt, offset, &depth); 104 return offset;
|
/freebsd-10.0-release/sys/dev/terasic/mtl/ |
H A D | terasic_mtl_pixel.c | 69 u_long offset, size; local 83 offset = uio->uio_offset; 84 if (offset + sizeof(v) > size) 86 v = bus_read_4(sc->mtl_pixel_res, offset); 98 u_long offset, size; local 109 offset = uio->uio_offset; 110 if (offset + sizeof(v) > size) 115 bus_write_4(sc->mtl_pixel_res, offset, v); 121 terasic_mtl_pixel_mmap(struct cdev *dev, vm_ooffset_t offset, argument 129 if (trunc_page(offset) [all...] |
/freebsd-10.0-release/usr.sbin/makefs/ffs/ |
H A D | buf.c | 65 off_t offset; local 75 offset = (*bpp)->b_blkno * sectorsize; /* XXX */ 77 printf("bread: bp %p blkno %lld offset %lld bcount %ld\n", 78 (*bpp), (long long)(*bpp)->b_blkno, (long long) offset, 80 if (lseek((*bpp)->b_fd, offset, SEEK_SET) == -1) 82 (long long)(*bpp)->b_blkno, (long long)offset); 86 (*bpp)->b_bcount, (long long)offset, (int)rv); 89 (*bpp)->b_bcount, (long long)offset, (int)rv); 92 (*bpp)->b_bcount, (long long)offset, (int)rv); 130 off_t offset; local [all...] |
/freebsd-10.0-release/contrib/libarchive/libarchive/ |
H A D | archive_read_support_format_raw.c | 42 int64_t offset; /* Current position in the file. */ member in struct:raw_info 126 const void **buff, size_t *size, int64_t *offset) 147 *offset = info->offset; 148 info->offset += *size; 155 *offset = info->offset; 160 *offset = info->offset; 125 archive_read_format_raw_read_data(struct archive_read *a, const void **buff, size_t *size, int64_t *offset) argument
|
/freebsd-10.0-release/sbin/hastd/ |
H A D | rangelock.c | 96 rangelock_add(struct rangelocks *rls, off_t offset, off_t length) argument 105 rl->rl_start = offset; 106 rl->rl_end = offset + length; 112 rangelock_del(struct rangelocks *rls, off_t offset, off_t length) argument 119 if (rl->rl_start == offset && rl->rl_end == offset + length) 128 rangelock_islocked(struct rangelocks *rls, off_t offset, off_t length) argument 135 end = offset + length; 137 if (rl->rl_start < end && rl->rl_end > offset)
|
/freebsd-10.0-release/contrib/dtc/libfdt/ |
H A D | fdt_wip.c | 97 int _fdt_node_end_offset(void *fdt, int offset) argument 101 while ((offset >= 0) && (depth >= 0)) 102 offset = fdt_next_node(fdt, offset, &depth); 104 return offset;
|
/freebsd-10.0-release/sys/dev/bxe/ |
H A D | bxe_debug.c | 51 bxe_reg_write8(struct bxe_softc *sc, bus_size_t offset, uint8_t val) argument 53 BLOGD(sc, DBG_REGS, "offset=0x%08lx val=0x%02x\n", offset, val); 56 offset, 61 bxe_reg_write16(struct bxe_softc *sc, bus_size_t offset, uint16_t val) argument 63 if ((offset % 2) != 0) { 64 BLOGD(sc, DBG_REGS, "Unaligned 16-bit write to 0x%08lx\n", offset); 67 BLOGD(sc, DBG_REGS, "offset=0x%08lx val=0x%04x\n", offset, val); 70 offset, 75 bxe_reg_write32(struct bxe_softc *sc, bus_size_t offset, uint32_t val) argument 89 bxe_reg_read8(struct bxe_softc *sc, bus_size_t offset) argument 102 bxe_reg_read16(struct bxe_softc *sc, bus_size_t offset) argument 119 bxe_reg_read32(struct bxe_softc *sc, bus_size_t offset) argument [all...] |
/freebsd-10.0-release/sys/dev/e1000/ |
H A D | e1000_phy.h | 39 s32 e1000_null_read_reg(struct e1000_hw *hw, u32 offset, u16 *data); 42 s32 e1000_null_write_reg(struct e1000_hw *hw, u32 offset, u16 data); 73 s32 e1000_read_kmrn_reg_generic(struct e1000_hw *hw, u32 offset, u16 *data); 74 s32 e1000_read_kmrn_reg_locked(struct e1000_hw *hw, u32 offset, u16 *data); 76 s32 e1000_read_phy_reg_igp(struct e1000_hw *hw, u32 offset, u16 *data); 77 s32 e1000_read_phy_reg_igp_locked(struct e1000_hw *hw, u32 offset, u16 *data); 78 s32 e1000_read_phy_reg_m88(struct e1000_hw *hw, u32 offset, u16 *data); 81 s32 e1000_write_kmrn_reg_generic(struct e1000_hw *hw, u32 offset, u16 data); 82 s32 e1000_write_kmrn_reg_locked(struct e1000_hw *hw, u32 offset, u16 data); 83 s32 e1000_write_phy_reg_igp(struct e1000_hw *hw, u32 offset, u1 [all...] |
/freebsd-10.0-release/sys/contrib/octeon-sdk/ |
H A D | cvmx-pow-defs.h | 100 static inline uint64_t CVMX_POW_IQ_CNTX(unsigned long offset) argument 103 (OCTEON_IS_MODEL(OCTEON_CN30XX) && ((offset <= 7))) || 104 (OCTEON_IS_MODEL(OCTEON_CN31XX) && ((offset <= 7))) || 105 (OCTEON_IS_MODEL(OCTEON_CN38XX) && ((offset <= 7))) || 106 (OCTEON_IS_MODEL(OCTEON_CN50XX) && ((offset <= 7))) || 107 (OCTEON_IS_MODEL(OCTEON_CN52XX) && ((offset <= 7))) || 108 (OCTEON_IS_MODEL(OCTEON_CN56XX) && ((offset <= 7))) || 109 (OCTEON_IS_MODEL(OCTEON_CN58XX) && ((offset <= 7))) || 110 (OCTEON_IS_MODEL(OCTEON_CN61XX) && ((offset <= 7))) || 111 (OCTEON_IS_MODEL(OCTEON_CN63XX) && ((offset < 154 CVMX_POW_IQ_THRX(unsigned long offset) argument 203 CVMX_POW_PP_GRP_MSKX(unsigned long offset) argument 224 CVMX_POW_QOS_RNDX(unsigned long offset) argument 245 CVMX_POW_QOS_THRX(unsigned long offset) argument 288 CVMX_POW_WA_PCX(unsigned long offset) argument 320 CVMX_POW_WQ_INT_CNTX(unsigned long offset) argument 352 CVMX_POW_WQ_INT_THRX(unsigned long offset) argument 373 CVMX_POW_WS_PCX(unsigned long offset) argument [all...] |
/freebsd-10.0-release/contrib/gcc/config/ |
H A D | host-solaris.c | 36 sol_gt_pch_use_address (void *base, size_t size, int fd, size_t offset) argument 47 fd, offset); 72 fd, offset);
|
/freebsd-10.0-release/sys/dev/drm/ |
H A D | sis_drm.h | 57 unsigned int offset; member in struct:__anon8074 63 unsigned int offset, size; member in struct:__anon8075 67 unsigned int offset, size; member in struct:__anon8076
|
H A D | drm_memory.c | 76 return pmap_mapdev_attr(map->offset, map->size, VM_MEMATTR_WRITE_COMBINING); 81 return pmap_mapdev(map->offset, map->size); 90 drm_mtrr_add(unsigned long offset, size_t size, int flags) argument 95 mrdesc.mr_base = offset; 104 drm_mtrr_del(int __unused handle, unsigned long offset, size_t size, int flags) argument 109 mrdesc.mr_base = offset;
|
/freebsd-10.0-release/contrib/gdb/gdb/ |
H A D | amd64-nat.c | 52 /* Return the offset of REGNUM within the appropriate native 110 int offset = amd64_native_gregset_reg_offset (i); local 112 if (offset != -1) 113 regcache_raw_supply (regcache, i, regs + offset); 157 int offset = amd64_native_gregset_reg_offset (i); local 159 if (offset != -1) 160 regcache_raw_collect (regcache, i, regs + offset);
|
/freebsd-10.0-release/contrib/llvm/include/llvm/Support/ |
H A D | DataExtractor.h | 42 /// Returns a pointer to a C String from the data at the offset 45 /// updated with the offset of the byte that follows the NULL 49 /// A pointer to an offset within the data that will be advanced 51 /// correctly. If the offset is out of bounds or there are not 52 /// enough bytes to extract this value, the offset will be left 56 /// A pointer to the C string value in the data. If the offset 58 /// offset plus the length of the C string is out of bounds, 65 /// Extract a single unsigned integer value and update the offset 74 /// A pointer to an offset within the data that will be advanced 76 /// correctly. If the offset i 348 isValidOffsetForDataOfSize(uint32_t offset, uint32_t length) const argument [all...] |
/freebsd-10.0-release/contrib/ntp/libparse/ |
H A D | clk_computime.c | 123 if (Stoi(&buffer[format->field_offsets[O_DAY].offset], &clock_time->day, 125 Stoi(&buffer[format->field_offsets[O_MONTH].offset], &clock_time->month, 127 Stoi(&buffer[format->field_offsets[O_YEAR].offset], &clock_time->year, 129 Stoi(&buffer[format->field_offsets[O_HOUR].offset], &clock_time->hour, 131 Stoi(&buffer[format->field_offsets[O_MIN].offset], &clock_time->minute, 133 Stoi(&buffer[format->field_offsets[O_SEC].offset], &clock_time->second,
|
/freebsd-10.0-release/contrib/pam_modules/pam_passwdqc/ |
H A D | passwdqc_random.c | 17 int offset, block; local 19 offset = 0; 21 block = read(fd, &buffer[offset], count); 27 if (!block) return offset; 29 offset += block; 33 return offset;
|
/freebsd-10.0-release/contrib/serf/buckets/ |
H A D | mmap_buckets.c | 27 apr_off_t offset; member in struct:__anon4148 41 ctx->offset = 0; 60 /* ### Would it be faster to call this once and do the offset ourselves? */ 61 apr_mmap_offset((void**)data, ctx->mmap, ctx->offset); 64 ctx->offset += *len; 80 /* ### Would it be faster to call this once and do the offset ourselves? */ 81 apr_mmap_offset((void**)data, ctx->mmap, ctx->offset); 93 ctx->offset += *len;
|
/freebsd-10.0-release/sys/dev/drm2/ |
H A D | drm_memory.c | 81 return pmap_mapdev_attr(map->offset, map->size, VM_MEMATTR_WRITE_COMBINING); 86 return pmap_mapdev(map->offset, map->size); 95 drm_mtrr_add(unsigned long offset, size_t size, int flags) argument 100 mrdesc.mr_base = offset; 109 drm_mtrr_del(int __unused handle, unsigned long offset, size_t size, int flags) argument 114 mrdesc.mr_base = offset;
|
/freebsd-10.0-release/sys/dev/firewire/ |
H A D | fwdma.h | 62 int offset = am->esize * index; local 64 return ((caddr_t)am->seg[offset / ssize].v_addr + (offset % ssize)); 71 int offset = am->esize * index; local 73 return (am->seg[offset / ssize].bus_addr + (offset % ssize));
|
/freebsd-10.0-release/bin/dd/ |
H A D | position.c | 71 if (lseek(in.fd, in.offset * in.dbsz, SEEK_CUR) == -1 && 78 if (in.offset < 0) 79 errx(1, "%s: illegal offset", "iseek/skip"); 86 for (bcnt = in.dbsz, cnt = in.offset, warned = 0; cnt;) { 139 if (lseek(out.fd, out.offset * out.dbsz, SEEK_CUR) == -1 && 146 if (out.offset < 0) 147 errx(1, "%s: illegal offset", "oseek/seek"); 152 t_op.mt_count = out.offset; 160 for (cnt = 0; cnt < out.offset; ++cnt) { 177 while (cnt++ < out.offset) { [all...] |
/freebsd-10.0-release/cddl/contrib/dtracetoolkit/Bin/ |
H A D | fspaging.d | 85 self->offset = this->filep->f_offset; 97 (int)arg2, self->offset / 1024, self->vpath); 104 (int)arg2, self->offset / 1024, self->vpath); 111 self->offset = 0; 136 /* fetch the real offset (file_t is unaware of this) */ 137 self->offset = ((inode_t *)args[0]->v_data)->i_nextrio; 144 self->offset = 0; 149 this->offset = self->read_ahead ? self->offset : args[2]->fi_offset; 153 this->offset / 102 [all...] |
/freebsd-10.0-release/cddl/contrib/dtracetoolkit/FS/ |
H A D | fspaging.d | 85 self->offset = this->filep->f_offset; 97 (int)arg2, self->offset / 1024, self->vpath); 104 (int)arg2, self->offset / 1024, self->vpath); 111 self->offset = 0; 136 /* fetch the real offset (file_t is unaware of this) */ 137 self->offset = ((inode_t *)args[0]->v_data)->i_nextrio; 144 self->offset = 0; 149 this->offset = self->read_ahead ? self->offset : args[2]->fi_offset; 153 this->offset / 102 [all...] |
/freebsd-10.0-release/contrib/gcc/ |
H A D | rtlhooks.c | 60 int offset = 0; 74 offset = (MAX (GET_MODE_SIZE (GET_MODE (x)), UNITS_PER_WORD) 80 offset -= (MIN (UNITS_PER_WORD, GET_MODE_SIZE (mode)) 83 return adjust_address (x, mode, offset); 147 int offset = 0; 151 offset = (MAX (GET_MODE_SIZE (GET_MODE (x)), UNITS_PER_WORD) 156 offset -= (MIN (UNITS_PER_WORD, GET_MODE_SIZE (mode)) 159 new = adjust_address_nv (x, mode, offset); 59 int offset = 0; local 146 int offset = 0; local
|
/freebsd-10.0-release/contrib/llvm/tools/lldb/include/lldb/Core/ |
H A D | DataExtractor.h | 118 /// data. If \a offset is not a valid offset in \a data, then no 120 /// \a length bytes available in \a data starting at \a offset, 127 /// @param[in] offset 128 /// The offset into \a data at which the subset starts. 133 DataExtractor (const DataExtractor& data, lldb::offset_t offset, lldb::offset_t length); 173 /// Log() if \a s is NULL) starting \a offset bytes into the data 174 /// and stopping after dumping \a length bytes. The offset into the 176 /// offset by base address \a base_addr. \a num_per_line objects 183 /// @param[in] offset 1100 PeekData(lldb::offset_t offset, lldb::offset_t length) const argument 1260 ValidOffsetForDataOfSize(lldb::offset_t offset, lldb::offset_t length) const argument [all...] |