Searched refs:offsetof (Results 26 - 50 of 138) sorted by path

123456

/haiku/headers/private/kernel/arch/x86/64/
H A Dcpu.h45 [rsp] "i" (offsetof(arch_thread, current_stack)),
46 [rip] "i" (offsetof(arch_thread, instruction_pointer))
/haiku/headers/private/kernel/util/
H A Dfs_trim_support.h67 return user_memcpy(buffer, trimData, offsetof(fs_trim_data, ranges));
/haiku/headers/private/kernel/vm/
H A DVMArea.h183 - offsetof(VMAreasTreeNode, tree_node);
/haiku/src/add-ons/kernel/bus_managers/virtio/
H A DVirtioBalloonDevice.cpp240 offsetof(struct virtio_balloon_config, num_pages),
256 offsetof(struct virtio_balloon_config, actual),
/haiku/src/add-ons/kernel/busses/scsi/ahci/
H A Dahci_port.cpp1437 - offsetof(scsi_unmap_parameter_list, block_data_length)
1441 - offsetof(scsi_unmap_parameter_list, blocks)) {
/haiku/src/add-ons/kernel/busses/scsi/virtio/
H A DVirtioSCSIController.cpp72 offsetof(struct virtio_scsi_config, sense_size), &fConfig.sense_size,
75 offsetof(struct virtio_scsi_config, cdb_size), &fConfig.cdb_size,
/haiku/src/add-ons/kernel/busses/usb/
H A Dxhci.cpp715 + offsetof(struct xhci_device_context_array, scratchpad);
/haiku/src/add-ons/kernel/busses/virtio/virtio_pci/
H A Dvirtio_pci.cpp171 + offsetof(struct virtio_pci_common_cfg, config_msix_vector));
188 + offsetof(struct virtio_pci_common_cfg, queue_select));
191 + offsetof(struct virtio_pci_common_cfg, queue_msix_vector));
233 + offsetof(struct virtio_pci_common_cfg, device_feature_select));
235 + offsetof(struct virtio_pci_common_cfg, device_feature));
256 + offsetof(struct virtio_pci_common_cfg, device_feature_select));
258 + offsetof(struct virtio_pci_common_cfg, device_feature));
278 + offsetof(struct virtio_pci_common_cfg, device_status));
293 + offsetof(struct virtio_pci_common_cfg, device_status));
400 + offsetof(struc
[all...]
/haiku/src/add-ons/kernel/drivers/disk/nvme/libnvme/
H A Dnvme_internal.h344 nvme_static_assert((offsetof(struct nvme_tracker, u.sgl) & 7) == 0,
H A Dnvme_qpair.c314 tr->prp_sgl_bus_addr = phys_addr + offsetof(struct nvme_tracker, u.prp);
H A Dnvme_request.c145 memset(req, 0, offsetof(struct nvme_request, children));
/haiku/src/add-ons/kernel/drivers/network/ether/broadcom570x/dev/bge/
H A Dif_bge.c5001 CSR_READ_4(sc, stats + offsetof(struct bge_stats, stat))
6325 offsetof(struct bge_stats, node), bge_sysctl_stats, "IU", desc)
6561 offsetof(bge_hostaddr, bge_addr_lo));
H A Dif_bgereg.h2252 bus_write_4(sc->bge_res, rcb + offsetof(struct bge_rcb, offset), val)
/haiku/src/add-ons/kernel/drivers/network/ether/ipro1000/dev/e1000/
H A Dem_txrx.c162 TXD->lower_setup.ip_fields.ipcso = pi->ipi_ehdrlen + offsetof(struct ip, ip_sum);
172 pi->ipi_ehdrlen + pi->ipi_ip_hlen + offsetof(struct tcphdr, th_sum);
263 TXD->lower_setup.ip_fields.ipcso = pi->ipi_ehdrlen + offsetof(struct ip, ip_sum);
274 tucso = hdr_len + offsetof(struct tcphdr, th_sum);
277 tucso = hdr_len + offsetof(struct udphdr, uh_sum);
/haiku/src/add-ons/kernel/drivers/network/ether/marvell_yukon/dev/msk/
H A Dif_msk.c4497 sc, offsetof(struct msk_hw_stats, n), msk_sysctl_stat32, \
4501 sc, offsetof(struct msk_hw_stats, n), msk_sysctl_stat64, \
/haiku/src/add-ons/kernel/drivers/network/ether/virtio/
H A Dvirtio_net.cpp299 offsetof(struct virtio_net_config, max_virtqueue_pairs),
538 offsetof(struct virtio_net_config, mac),
546 offsetof(struct virtio_net_config, mtu),
845 offsetof(struct virtio_net_config, status),
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_hal/
H A Dah_internal.h46 #ifndef offsetof
47 #define offsetof(type, field) ((size_t)(&((type *)0)->field)) macro
/haiku/src/add-ons/kernel/drivers/network/wlan/iaxwifi200/dev/pci/
H A Dif_iwx.c1462 offsetof(struct iwx_fw_dbg_dest_tlv_v1, reg_ops);
6122 filled_tfd_size = offsetof(struct iwx_tfh_tfd, tbs) +
H A Dif_iwxvar.h435 offsetof(struct iwx_rxba_data, reorder_buf));
/haiku/src/add-ons/kernel/drivers/network/wlan/idualwifi7260/dev/pci/
H A Dif_iwm.c1484 + offsetof(struct iwm_tx_cmd, scratch);
H A Dif_iwmvar.h455 offsetof(struct iwm_rxba_data, reorder_buf));
/haiku/src/add-ons/kernel/file_cache/
H A Drule_based_prefetcher.cpp97 static uint32 NextOffset() { return offsetof(Rule, fNext); }
/haiku/src/add-ons/kernel/file_systems/bfs/
H A DQuery.cpp670 dirent->d_reclen = offsetof(struct dirent, d_name);
H A Dkernel_interface.cpp764 uint32 minOffset = offsetof(disk_super_block, pad_to_block);
1745 size_t nameBufferSize = bufferSize - offsetof(struct dirent, d_name);
1871 dirent->d_reclen = offsetof(struct dirent, d_name) + length + 1;
/haiku/src/add-ons/kernel/file_systems/btrfs/
H A Dkernel_interface.cpp829 size_t length = bufferSize - offsetof(struct dirent, d_name);
849 dirent->d_reclen = offsetof(struct dirent, d_name) + length + 1;
943 dirent->d_reclen = offsetof(struct dirent, d_name) + length + 1;

Completed in 403 milliseconds

123456