Searched refs:offsetof (Results 1 – 8 of 8) sorted by relevance
| /devicemodel/include/ |
| A D | types.h | 28 (type *)((char *)__mptr - (offsetof(type, member))); \
|
| /devicemodel/hw/platform/rpmb/ |
| A D | rpmb_sim.c | 61 #ifndef offsetof 62 #define offsetof(s, m) (size_t) &(((s *) 0)->m) macro
|
| /devicemodel/hw/pci/virtio/ |
| A D | virtio_input.c | 200 if (offset == offsetof(struct virtio_input_config, select)) in virtio_input_cfgwrite() 202 else if (offset == offsetof(struct virtio_input_config, subsel)) in virtio_input_cfgwrite()
|
| A D | virtio_block.c | 768 if ((offset == offsetof(struct virtio_blk_config, writeback)) in virtio_blk_cfgwrite()
|
| A D | virtio_mei.c | 2141 if (offset + size >= (int)offsetof(struct mei_virtio_cfg, fw_status)) { in vmei_cfgread() 2160 if (offset != offsetof(struct mei_virtio_cfg, host_reset)) { in vmei_cfgwrite()
|
| A D | virtio.c | 1170 coff + offsetof(struct virtio_pci_cap, cfg_type)); in virtio_find_capability()
|
| A D | virtio_gpu.c | 508 if (offset == offsetof(struct virtio_gpu_config, events_clear)) { in virtio_gpu_cfgwrite()
|
| /devicemodel/hw/platform/ |
| A D | rtc.c | 880 if (offset < offsetof(struct rtcdev, nvram[0]) || in vrtc_nvram_write()
|
Completed in 24 milliseconds