Searched refs:protection (Results 1 - 25 of 115) sorted by relevance

12345

/haiku/src/system/libroot/os/
H A Darea.c16 uint32 lock, uint32 protection)
19 protection |= B_EXECUTE_AREA | B_CLONEABLE_AREA;
20 return _kern_create_area(name, address, addressSpec, size, lock, protection);
26 uint32 protection, area_id sourceArea)
29 protection |= B_EXECUTE_AREA | B_CLONEABLE_AREA;
30 return _kern_clone_area(name, address, addressSpec, protection, sourceArea);
63 set_area_protection(area_id id, uint32 protection) argument
66 protection |= B_EXECUTE_AREA;
67 return _kern_set_area_protection(id, protection);
15 create_area(const char *name, void **address, uint32 addressSpec, size_t size, uint32 lock, uint32 protection) argument
25 clone_area(const char *name, void **address, uint32 addressSpec, uint32 protection, area_id sourceArea) argument
/haiku/src/add-ons/kernel/bus_managers/firewire/
H A Dutil.h30 area_id alloc_mem(void **virt, void **phy, size_t size, uint32 protection, const char *name);
31 area_id map_mem(void **virt, void *phy, size_t size, uint32 protection, const char *name);
H A Dutil.c37 alloc_mem(void **virt, void **phy, size_t size, uint32 protection, argument
50 B_32_BIT_CONTIGUOUS, protection);
75 map_mem(void **virt, void *phy, size_t size, uint32 protection, argument
90 B_ANY_KERNEL_BLOCK_ADDRESS, protection, &mapadr);
/haiku/src/system/kernel/vm/
H A DVMUserArea.cpp14 uint32 protection)
16 VMArea(addressSpace, wiring, protection)
28 uint32 wiring, uint32 protection, uint32 allocationFlags)
31 addressSpace, wiring, protection);
53 area->protection = flags;
13 VMUserArea(VMAddressSpace* addressSpace, uint32 wiring, uint32 protection) argument
27 Create(VMAddressSpace* addressSpace, const char* name, uint32 wiring, uint32 protection, uint32 allocationFlags) argument
H A DVMKernelArea.cpp15 uint32 protection)
17 VMArea(addressSpace, wiring, protection)
29 uint32 wiring, uint32 protection, ObjectCache* objectCache,
33 addressSpace, wiring, protection);
14 VMKernelArea(VMAddressSpace* addressSpace, uint32 wiring, uint32 protection) argument
28 Create(VMAddressSpace* addressSpace, const char* name, uint32 wiring, uint32 protection, ObjectCache* objectCache, uint32 allocationFlags) argument
H A DVMUserArea.h19 uint32 wiring, uint32 protection);
24 uint32 protection, uint32 allocationFlags);
/haiku/src/add-ons/kernel/busses/scsi/ahci/
H A Dutil.h14 area_id alloc_mem(void **virt, phys_addr_t *phy, size_t size, uint32 protection,
16 area_id map_mem(void **virt, phys_addr_t phy, size_t size, uint32 protection,
/haiku/src/tests/system/boot/loader/
H A Dplatform_mmu.cpp14 platform_allocate_region(void **_address, size_t size, uint8 protection, argument
17 printf("platform_allocate_region(address = %p, size = %lu, protection = %u, exactAdress = %d)\n",
18 *_address, size, protection, exactAddress);
/haiku/src/add-ons/kernel/drivers/dvb/cx23882/
H A Dutil.h30 area_id map_mem(void **virt, phys_addr_t phy, size_t size, uint32 protection,
32 area_id alloc_mem(void **virt, phys_addr_t *phy, size_t size, uint32 protection,
H A Dutil.c40 map_mem(void **virt, phys_addr_t phy, size_t size, uint32 protection, argument
55 B_ANY_KERNEL_BLOCK_ADDRESS, protection, &mapadr);
74 alloc_mem(void **virt, phys_addr_t *phy, size_t size, uint32 protection, argument
86 B_32_BIT_CONTIGUOUS, protection);
/haiku/headers/private/kernel/
H A DAreaKeeper.h24 size_t size, uint32 lock, uint32 protection);
26 size_t numBytes, uint32 spec, uint32 protection,
53 size_t size, uint32 lock, uint32 protection)
55 fArea = create_area(name, _virtualAddress, spec, size, lock, protection);
62 uint32 spec, uint32 protection, void **_virtualAddress)
65 protection, _virtualAddress);
52 Create(const char *name, void **_virtualAddress, uint32 spec, size_t size, uint32 lock, uint32 protection) argument
61 Map(const char *name, phys_addr_t physicalAddress, size_t numBytes, uint32 spec, uint32 protection, void **_virtualAddress) argument
/haiku/src/kits/debugger/jobs/
H A DRetrieveMemoryBlockJob.cpp53 uint32 protection = 0; local
56 fMemoryBlock->BaseAddress(), protection, locking);
62 fMemoryBlock->SetWritable((protection & B_WRITE_AREA) != 0);
/haiku/src/kits/debugger/model/
H A DAreaInfo.cpp40 uint32 lock, uint32 protection)
49 fProtection(protection)
57 uint32 lock, uint32 protection)
66 fProtection = protection;
38 AreaInfo(team_id team, area_id area, const BString& name, target_addr_t address, target_size_t size, target_size_t ramSize, uint32 lock, uint32 protection) argument
55 SetTo(team_id team, area_id area, const BString& name, target_addr_t address, target_size_t size, target_size_t ramSize, uint32 lock, uint32 protection) argument
/haiku/src/system/boot/platform/openfirmware/
H A Dmmu.cpp15 platform_allocate_region(void **_address, size_t size, uint8 protection, argument
21 void *address = arch_mmu_allocate(*_address, size, protection,
/haiku/headers/private/kernel/boot/platform/routerboard_mipsel/
H A Dplatform_arch.h21 extern void *arch_mmu_allocate(void *address, size_t size, uint8 protection,
/haiku/headers/private/kernel/boot/platform/openfirmware/
H A Dplatform_arch.h20 extern void *arch_mmu_allocate(void *address, size_t size, uint8 protection,
/haiku/headers/private/kernel/boot/platform/u-boot/
H A Dplatform_arch.h20 extern void *arch_mmu_allocate(void *address, size_t size, uint8 protection,
/haiku/src/system/kernel/arch/arm64/
H A Darch_vm.cpp104 arch_vm_supports_protection(uint32 protection) argument
107 if ((protection & B_READ_AREA) != 0 && (protection & B_WRITE_AREA) == 0
108 && (protection & B_KERNEL_WRITE_AREA) != 0) {
/haiku/src/add-ons/kernel/drivers/audio/generic/
H A Dutil.c73 uint32 protection; local
77 protection = B_KERNEL_READ_AREA | B_KERNEL_WRITE_AREA;
79 protection = B_READ_AREA | B_WRITE_AREA;
82 B_32_BIT_CONTIGUOUS, protection);
/haiku/src/system/libroot/posix/sys/
H A Dmman.cpp92 mmap(void* address, size_t length, int protection, int flags, int fd, argument
115 // translate mapping, address specification, and protection
128 if ((protection & PROT_READ) != 0)
130 if ((protection & PROT_WRITE) != 0)
132 if ((protection & PROT_EXEC) != 0)
169 mprotect(void* address, size_t length, int protection) argument
172 protection));
/haiku/headers/private/kernel/arch/
H A Dvm.h32 bool arch_vm_supports_protection(uint32 protection);
/haiku/src/system/kernel/arch/m68k/paging/
H A DM68KPagingMethod.h37 uint32 protection) = 0;
/haiku/src/system/kernel/arch/x86/paging/
H A DX86PagingMethod.h39 uint32 protection) = 0;
/haiku/src/tests/system/kernel/
H A Dset_area_protection_test1.cpp18 create_test_area(const char* name, int** address, uint32 protection) argument
21 B_PAGE_SIZE, B_NO_LOCK, protection);
33 clone_test_area(const char* name, int** address, uint32 protection, argument
37 protection, source);
/haiku/src/system/kernel/arch/arm/paging/
H A DARMPagingMethod.h39 uint32 protection) = 0;

Completed in 259 milliseconds

12345