Home
last modified time | relevance | path

Searched refs:length (Results 1 – 9 of 9) sorted by relevance

/pciutils/lib/
H A Decam.c46 u32 length; member
55 u32 length; member
90 u32 length; member
137 u32 length; in check_and_map_sdt() local
148 length = sdt->length; in check_and_map_sdt()
454 long length; local
501 mcfg->sdt.length <= (size_t)length &&
598 if (length)
819 u32 length; local
826 length = cache->length;
[all …]
H A Dphysmem-djgpp.c402 if (length & (pagesize-1)) in physmem_map()
403 length = (length & ~(pagesize-1)) + pagesize; in physmem_map()
406 if (addr >= 0xffffffffUL || addr + length > 0xffffffffUL) in physmem_map()
467 ptr = aligned_alloc(pagesize, length); in physmem_map()
499 mi.size = (length - offset) >> pagesize_shift; in physmem_map()
655 mi.size = length; in physmem_map()
677 if (addr + length > 1*1024*1024UL) in physmem_map()
755 physmem_unmap(struct physmem *physmem, void *ptr, size_t length) in physmem_unmap() argument
767 if (length & (pagesize-1)) in physmem_unmap()
768 length = (length & ~(pagesize-1)) + pagesize; in physmem_unmap()
[all …]
H A Dwin32-helpers.c659 DWORD length; in get_current_token_owner() local
679 owner = (TOKEN_OWNER *)LocalAlloc(LPTR, length); in get_current_token_owner()
686 if (!GetTokenInformation(token, TokenOwner, owner, length, &length)) in get_current_token_owner()
838 DWORD length; in grant_process_token_dacl_permissions() local
870 …KernelObjectSecurity(*token, DACL_SECURITY_INFORMATION, *old_security_descriptor, length, &length)) in grant_process_token_dacl_permissions()
1137 DWORD size, length; in win32_find_and_open_process_for_query() local
1197 if (!MyEnumProcesses(processes, size, &length)) in win32_find_and_open_process_for_query()
1204 else if (size == length) in win32_find_and_open_process_for_query()
1218 count = length / sizeof(*processes); in win32_find_and_open_process_for_query()
1283 (!MyGetProcessImageFileNameW && (length == size || length == size-1))) in win32_find_and_open_process_for_query()
[all …]
H A Dphysmem-posix.c81 physmem_map(struct physmem *physmem, u64 addr, size_t length, int w) in physmem_map() argument
88 return mmap(NULL, length, PROT_READ | (w ? PROT_WRITE : 0), MAP_SHARED, physmem->fd, addr); in physmem_map()
92 physmem_unmap(struct physmem *physmem UNUSED, void *ptr, size_t length) in physmem_unmap() argument
94 return munmap(ptr, length); in physmem_unmap()
H A Dphysmem-windows.c857 physmem_map(struct physmem *physmem, u64 addr, size_t length, int w) in physmem_map() argument
876 view_size = length; in physmem_map()
924 if (addr >= 0xffffffffUL || addr + length > 0xffffffffUL) in physmem_map()
931 success = vdxcall_physical_address_mapping(physmem, (DWORD)addr, length, &virt); in physmem_map()
933 success = w32skrnl_physical_address_mapping(physmem, (DWORD)addr, length, &virt); in physmem_map()
952 physmem_unmap(struct physmem *physmem, void *ptr, size_t length) in physmem_unmap() argument
976 if (info.AllocationBase != ptr || info.RegionSize != ((length + pagesize-1) & ~(pagesize-1))) in physmem_unmap()
H A Dphysmem.h29 void *physmem_map(struct physmem *physmem, u64 addr, size_t length, int w);
40 int physmem_unmap(struct physmem *physmem, void *ptr, size_t length);
H A Dwin32-kldbg.c608 u32 length; member
687 if (size < sizeof(*mcfg) || size < mcfg->length) in win32_kldbg_scan()
698 …allocations_count = (mcfg->length - ((unsigned char *)&mcfg->allocations - (unsigned char *)mcfg))… in win32_kldbg_scan()
/pciutils/
H A Dls-caps-vendor.c19 int length = BITS(cap, 0, 8); in show_vendor_caps_virtio() local
27 if (length < 16) in show_vendor_caps_virtio()
29 if (!config_fetch(d, where, length)) in show_vendor_caps_virtio()
74 if (type == 2 && length >= 20) in show_vendor_caps_virtio()
84 int length = BITS(cap, 0, 8); in show_vendor_caps_intel() local
119 if (!config_fetch(d, where, length)) in show_vendor_caps_intel()
123 if (length >= 8) in show_vendor_caps_intel()
162 if (length >= 12) in show_vendor_caps_intel()
195 if (length >= 16) in show_vendor_caps_intel()
H A DChangeLog1601 * lib/proc.c (proc_setup): Increased path name length limit to 1024.