Home
last modified time | relevance | path

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

/external/ltp/testcases/kernel/hotplug/memory_hotplug/
Dsegment.c65 int seg_prot; member
264 …memp = (char *)mmap(0, segp->seg_length, segp->seg_prot, flags | MAP_ANONYMOUS, 0, /* fd -- ignore… in map_anon_segment()
320 segp->seg_prot &= ~PROT_WRITE; in open_file()
323 segp->seg_prot &= ~PROT_READ; in open_file()
398 segp->seg_prot, flags, fd, segp->seg_offset); in map_file_segment()
530 segp->seg_prot = PROT_READ | PROT_WRITE; /* default */ in segment_register()
564 switch (segp->seg_prot & (PROT_READ | PROT_WRITE)) { in show_one_segment()