Home
last modified time | relevance | path

Searched refs:cap_offset (Results 1 – 5 of 5) sorted by relevance

/external/crosvm/devices/src/pci/
Dpci_configuration.rs564 let (cap_offset, tail_offset) = match self.last_capability { in add_capability()
568 let end_offset = cap_offset in add_capability()
575 self.write_byte_internal(tail_offset, cap_offset as u8, false); in add_capability()
576 self.write_byte_internal(cap_offset, cap_data.id() as u8, false); in add_capability()
577 self.write_byte_internal(cap_offset + 1, 0, false); // Next pointer. in add_capability()
579 self.write_byte_internal(cap_offset + i, *byte, false); in add_capability()
581 self.last_capability = Some((cap_offset, total_len)); in add_capability()
582 Ok(cap_offset) in add_capability()
/external/tcpdump/
Dprint-bgp.c2329 int cap_type, cap_len, tcap_len, cap_offset; in bgp_capabilities_print() local
2358 cap_offset=4; in bgp_capabilities_print()
2362 EXTRACT_16BITS(opt+i+cap_offset)), in bgp_capabilities_print()
2363 EXTRACT_16BITS(opt+i+cap_offset), in bgp_capabilities_print()
2365 opt[i+cap_offset+2]), in bgp_capabilities_print()
2366 opt[i+cap_offset+2], in bgp_capabilities_print()
2367 ((opt[i+cap_offset+3])&0x80) ? "yes" : "no" )); in bgp_capabilities_print()
2369 cap_offset+=4; in bgp_capabilities_print()
2387 cap_offset=2; in bgp_capabilities_print()
2398 tok2str(af_values,"Unknown",EXTRACT_16BITS(opt+i+cap_offset)), in bgp_capabilities_print()
[all …]
/external/kernel-headers/original/uapi/linux/
Dvfio.h214 __u32 cap_offset; /* Offset within info struct of first cap */ member
259 __u32 cap_offset; /* Offset within info struct of first cap */ member
1013 __u32 cap_offset; /* Offset within info struct of first cap */ member
/external/crosvm/devices/src/
Dvfio.rs539 cap_offset: 0, in get_regions()
559 region_with_cap[0].region_info.cap_offset = 0; in get_regions()
591 let mut offset = region_with_cap[0].region_info.cap_offset; in get_regions()
/external/crosvm/vfio_sys/src/
Dvfio.rs223 pub cap_offset: __u32, field