/freebsd-11-stable/sys/kern/ |
H A D | kern_syscalls.c | 110 syscall_register(int *offset, struct sysent *new_sysent, argument 118 if (*offset == NO_SYSCALL) { 124 *offset = i; 125 } else if (*offset < 0 || *offset >= SYS_MAXSYSCALL) 127 else if (sysent[*offset].sy_call != (sy_call_t *)lkmnosys && 128 sysent[*offset].sy_call != (sy_call_t *)lkmressys) 131 KASSERT(sysent[*offset].sy_thrcnt == SY_THR_ABSENT, 133 *old_sysent = sysent[*offset]; 135 sysent[*offset] 141 syscall_deregister(int *offset, struct sysent *old_sysent) argument [all...] |
/freebsd-11-stable/contrib/dtc/libfdt/ |
H A D | fdt_wip.c | 118 int _fdt_node_end_offset(void *fdt, int offset) argument 122 while ((offset >= 0) && (depth >= 0)) 123 offset = fdt_next_node(fdt, offset, &depth); 125 return offset;
|
/freebsd-11-stable/sys/contrib/libfdt/ |
H A D | fdt_wip.c | 118 int fdt_node_end_offset_(void *fdt, int offset) argument 122 while ((offset >= 0) && (depth >= 0)) 123 offset = fdt_next_node(fdt, offset, &depth); 125 return offset;
|
/freebsd-11-stable/sys/dev/ocs_fc/ |
H A D | ocs_list.h | 69 * used for both the list object, and the link object(s). offset 71 * will always point to objects of the same type. offset is not used 81 uint32_t offset; /*<< offset in bytes to the link element of the objects in list */ member in struct:ocs_list_s 86 #define item2link(list, item) ((ocs_list_t*) (((uint8_t*)(item)) + (list)->offset)) 89 #define link2item(list, link) ((void*) (((uint8_t*)(link)) - (list)->offset)) 98 * @param offset Offset in bytes in item to the link element 103 _ocs_list_init(ocs_list_t *list, uint32_t offset) argument 110 list->offset = offset; [all...] |
H A D | ocs_vpd.h | 49 uint32_t offset; member in struct:__anon7667 68 if (vpd->offset < vpd->length) { 69 rc = vpd->buffer[vpd->offset++]; 88 return vpd->offset >= vpd->length; 103 return &vpd->buffer[vpd->offset]; 133 vpdbuf.offset = 0;
|
/freebsd-11-stable/sys/dev/bxe/ |
H A D | bxe_debug.c | 44 bxe_reg_write8(struct bxe_softc *sc, bus_size_t offset, uint8_t val) argument 46 BLOGD(sc, DBG_REGS, "offset=0x%08lx val=0x%02x\n", offset, val); 49 offset, 54 bxe_reg_write16(struct bxe_softc *sc, bus_size_t offset, uint16_t val) argument 56 if ((offset % 2) != 0) { 57 BLOGD(sc, DBG_REGS, "Unaligned 16-bit write to 0x%08lx\n", offset); 60 BLOGD(sc, DBG_REGS, "offset=0x%08lx val=0x%04x\n", offset, val); 63 offset, 68 bxe_reg_write32(struct bxe_softc *sc, bus_size_t offset, uint32_t val) argument 82 bxe_reg_read8(struct bxe_softc *sc, bus_size_t offset) argument 95 bxe_reg_read16(struct bxe_softc *sc, bus_size_t offset) argument 112 bxe_reg_read32(struct bxe_softc *sc, bus_size_t offset) argument [all...] |
/freebsd-11-stable/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-11-stable/contrib/tcpdump/ |
H A D | print-stp.c | 246 u_int offset; local 314 offset = MST_BPDU_MSTI_OFFSET; 316 ND_TCHECK2(*(ptr + offset), MST_BPDU_MSTI_LENGTH); 318 msti = EXTRACT_16BITS(ptr + offset + 323 msti, bittok2str(stp_bpdu_flag_values, "none", ptr[offset]), 325 RSTP_EXTRACT_PORT_ROLE(ptr[offset])))); 327 stp_print_bridge_id(ptr + offset + 329 EXTRACT_32BITS(ptr + offset + 332 ptr[offset + MST_BPDU_MSTI_BRIDGE_PRIO_OFFSET] >> 4, 333 ptr[offset 347 stp_print_spb_bpdu(netdissect_options *ndo, const struct stp_bpdu_ *stp_bpdu, u_int offset) argument [all...] |
/freebsd-11-stable/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...] |
H A D | cvmx-flash.c | 96 * @param offset Offset into the chip 99 static uint8_t __cvmx_flash_read8(int chip_id, int offset) argument 101 return *(volatile uint8_t *)(flash_info[chip_id].base_ptr + offset); 110 * @param offset Offset into the chip 113 static uint8_t __cvmx_flash_read_cmd(int chip_id, int offset) argument 116 offset<<=1; 117 return __cvmx_flash_read8(chip_id, offset); 126 * @param offset Offset into the chip 129 static uint16_t __cvmx_flash_read_cmd16(int chip_id, int offset) argument 131 uint16_t v = __cvmx_flash_read_cmd(chip_id, offset); 145 __cvmx_flash_write8(int chip_id, int offset, uint8_t data) argument 160 __cvmx_flash_write_cmd(int chip_id, int offset, uint8_t data) argument 372 int offset = flash_info[chip_id].region[region].start_offset + local 494 int offset = flash_info[chip_id].region[region].start_offset + local [all...] |
/freebsd-11-stable/sys/dev/ata/ |
H A D | ata-all.h | 84 #define ATA_CTLOFFSET 0x206 /* control register offset */ 392 int offset; member in struct:ata_resource 513 #define ATA_INB(res, offset) \ 514 bus_read_1((res), (offset)) 516 #define ATA_INW(res, offset) \ 517 bus_read_2((res), (offset)) 518 #define ATA_INW_STRM(res, offset) \ 519 bus_read_stream_2((res), (offset)) 520 #define ATA_INL(res, offset) \ 521 bus_read_4((res), (offset)) [all...] |
/freebsd-11-stable/sys/dev/liquidio/base/ |
H A D | lio_mem_ops.c | 113 lio_pci_fastwrite(struct octeon_device *oct, uint32_t offset, argument 117 while ((len) && ((unsigned long)offset) & 7) { 118 lio_write_bar1_mem8(oct, offset++, *(hostbuf++)); 125 lio_write_bar1_mem64(oct, offset, *((uint64_t *)hostbuf)); 126 offset += 8; 134 lio_write_bar1_mem8(oct, offset++, *(hostbuf++)); 146 lio_pci_fastread(struct octeon_device *oct, uint32_t offset, argument 150 while ((len) && ((unsigned long)offset) & 7) { 151 *(hostbuf++) = lio_read_bar1_mem8(oct, offset++); 158 *((uint64_t *)hostbuf) = lio_read_bar1_mem64(oct, offset); 178 uint32_t offset; local [all...] |
/freebsd-11-stable/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-11-stable/sys/dev/drm/ |
H A D | sis_drm.h | 57 unsigned int offset; member in struct:__anon9839 63 unsigned int offset, size; member in struct:__anon9840 67 unsigned int offset, size; member in struct:__anon9841
|
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-11-stable/contrib/llvm-project/lldb/source/Plugins/SymbolFile/NativePDB/ |
H A D | DWARFLocationExpression.h | 31 int32_t offset, 34 int32_t offset, 36 DWARFExpression MakeGlobalLocationExpression(uint16_t section, uint32_t offset,
|
/freebsd-11-stable/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-11-stable/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-11-stable/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-11-stable/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-11-stable/sys/dev/drm2/ |
H A D | drm_memory.c | 44 static void *agp_remap(unsigned long offset, unsigned long size, argument 94 static inline void *agp_remap(unsigned long offset, unsigned long size, argument 106 map->handle = agp_remap(map->offset, map->size, dev); 108 map->handle = pmap_mapdev(map->offset, map->size); 116 map->handle = agp_remap(map->offset, map->size, dev); 118 map->handle = pmap_mapdev_attr(map->offset, map->size,
|
/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/Process/elf-core/ |
H A D | RegisterContextPOSIXCore_s390x.cpp | 59 lldb::offset_t offset = reg_info->byte_offset; local 60 uint64_t v = m_gpr.GetMaxU64(&offset, reg_info->byte_size); 61 if (offset == reg_info->byte_offset + reg_info->byte_size) { 68 lldb::offset_t offset = reg_info->byte_offset; local 69 uint64_t v = m_fpr.GetMaxU64(&offset, reg_info->byte_size); 70 if (offset == reg_info->byte_offset + reg_info->byte_size) {
|
/freebsd-11-stable/contrib/serf/buckets/ |
H A D | mmap_buckets.c | 32 apr_off_t offset; member in struct:__anon70 46 ctx->offset = 0; 65 /* ### Would it be faster to call this once and do the offset ourselves? */ 66 apr_mmap_offset((void**)data, ctx->mmap, ctx->offset); 69 ctx->offset += *len; 85 /* ### Would it be faster to call this once and do the offset ourselves? */ 86 apr_mmap_offset((void**)data, ctx->mmap, ctx->offset); 98 ctx->offset += *len;
|
/freebsd-11-stable/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-11-stable/sys/net/ |
H A D | bpf_buffer.h | 39 void bpf_buffer_append_bytes(struct bpf_d *d, caddr_t buf, u_int offset, 41 void bpf_buffer_append_mbuf(struct bpf_d *d, caddr_t buf, u_int offset,
|