Lines Matching refs:mappings
3008 struct shared_file_mapping_slide_np *mappings; member
3022 .mappings = (struct shared_file_mapping_slide_np *)(new_mappings), \ in TRIALS_IMPL()
3028 struct shared_file_mapping_slide_np *mappings; local
3030 mappings = kalloc_type(struct shared_file_mapping_slide_np, mappings_count, Z_WAITOK | Z_ZERO);
3032 mappings = calloc(mappings_count, sizeof(struct shared_file_mapping_slide_np));
3034 return mappings;
3042 if (trial->mappings) { in free_shared_file_mapping_slide_np()
3043 kfree_type(struct shared_file_mapping_slide_np, trial->mappings_count, trial->mappings); in free_shared_file_mapping_slide_np()
3046 free(trial->mappings); in free_shared_file_mapping_slide_np()
3056 struct shared_file_mapping_slide_np *mappings = alloc_shared_file_mapping_slide_np(num_mappings); in alloc_and_fill_shared_file_mappings() local
3061 mappings[0].sms_slide_size = KB4; in alloc_and_fill_shared_file_mappings()
3062 mappings[0].sms_slide_start = KB4; in alloc_and_fill_shared_file_mappings()
3063 mappings[0].sms_max_prot = VM_PROT_DEFAULT; in alloc_and_fill_shared_file_mappings()
3064 mappings[0].sms_init_prot = VM_PROT_DEFAULT; in alloc_and_fill_shared_file_mappings()
3067 mappings[0].sms_address = 1; in alloc_and_fill_shared_file_mappings()
3068 mappings[0].sms_size = UINT64_MAX; in alloc_and_fill_shared_file_mappings()
3069 mappings[0].sms_file_offset = 0; in alloc_and_fill_shared_file_mappings()
3070 mappings[0].sms_slide_size = KB4; in alloc_and_fill_shared_file_mappings()
3071 mappings[0].sms_slide_start = KB4; in alloc_and_fill_shared_file_mappings()
3072 mappings[0].sms_max_prot = VM_PROT_DEFAULT; in alloc_and_fill_shared_file_mappings()
3073 mappings[0].sms_init_prot = VM_PROT_DEFAULT; in alloc_and_fill_shared_file_mappings()
3076 mappings[0].sms_size = 0; in alloc_and_fill_shared_file_mappings()
3077 mappings[0].sms_file_offset = UINT64_MAX; in alloc_and_fill_shared_file_mappings()
3078 mappings[0].sms_slide_size = KB4; in alloc_and_fill_shared_file_mappings()
3079 mappings[0].sms_slide_start = KB4; in alloc_and_fill_shared_file_mappings()
3080 mappings[0].sms_max_prot = VM_PROT_DEFAULT; in alloc_and_fill_shared_file_mappings()
3081 mappings[0].sms_init_prot = VM_PROT_DEFAULT; in alloc_and_fill_shared_file_mappings()
3084 mappings[0].sms_slide_size = KB4; in alloc_and_fill_shared_file_mappings()
3085 mappings[0].sms_slide_start = KB4; in alloc_and_fill_shared_file_mappings()
3086 mappings[0].sms_max_prot = VM_PROT_DEFAULT; in alloc_and_fill_shared_file_mappings()
3087 mappings[0].sms_init_prot = INT_MAX; in alloc_and_fill_shared_file_mappings()
3098 mappings[idx].sms_slide_size = KB4; in alloc_and_fill_shared_file_mappings()
3099 mappings[idx].sms_slide_start = KB4; in alloc_and_fill_shared_file_mappings()
3100 mappings[idx].sms_max_prot = VM_PROT_DEFAULT; in alloc_and_fill_shared_file_mappings()
3101 mappings[idx].sms_init_prot = VM_PROT_DEFAULT; in alloc_and_fill_shared_file_mappings()
3104 mappings[idx].sms_slide_size = KB4; in alloc_and_fill_shared_file_mappings()
3105 mappings[idx].sms_slide_start = UINT64_MAX; in alloc_and_fill_shared_file_mappings()
3106 mappings[idx].sms_max_prot = VM_PROT_DEFAULT; in alloc_and_fill_shared_file_mappings()
3107 mappings[idx].sms_init_prot = VM_PROT_DEFAULT; in alloc_and_fill_shared_file_mappings()
3110 mappings[idx].sms_slide_size = 0; in alloc_and_fill_shared_file_mappings()
3111 mappings[idx].sms_slide_start = UINT64_MAX; in alloc_and_fill_shared_file_mappings()
3112 mappings[idx].sms_max_prot = VM_PROT_DEFAULT; in alloc_and_fill_shared_file_mappings()
3113 mappings[idx].sms_init_prot = INT_MAX; in alloc_and_fill_shared_file_mappings()
3116 mappings[idx].sms_slide_size = KB4; in alloc_and_fill_shared_file_mappings()
3117 mappings[idx].sms_slide_start = 0; in alloc_and_fill_shared_file_mappings()
3118 mappings[idx].sms_max_prot = INT_MAX; in alloc_and_fill_shared_file_mappings()
3119 mappings[idx].sms_init_prot = VM_PROT_DEFAULT; in alloc_and_fill_shared_file_mappings()
3126 return mappings; in alloc_and_fill_shared_file_mappings()
3132 struct shared_file_mapping_slide_np *mappings = NULL; in get_shared_file_mapping_slide_np_trials() local
3139 mappings = alloc_and_fill_shared_file_mappings(1, MP_NORMAL); in get_shared_file_mapping_slide_np_trials()
3140 append_trial(trials, SHARED_FILE_MAPPING_SLIDE_NP_TRIAL(1, mappings, " (normal)")); in get_shared_file_mapping_slide_np_trials()
3141 mappings = alloc_and_fill_shared_file_mappings(1, MP_ADDR_SIZE); in get_shared_file_mapping_slide_np_trials()
3142 …append_trial(trials, SHARED_FILE_MAPPING_SLIDE_NP_TRIAL(1, mappings, " (sms_address+sms_size check… in get_shared_file_mapping_slide_np_trials()
3143 mappings = alloc_and_fill_shared_file_mappings(1, MP_OFFSET_SIZE); in get_shared_file_mapping_slide_np_trials()
3144 …append_trial(trials, SHARED_FILE_MAPPING_SLIDE_NP_TRIAL(1, mappings, " (sms_file_offset+sms_size c… in get_shared_file_mapping_slide_np_trials()
3145 mappings = alloc_and_fill_shared_file_mappings(1, MP_PROTS); in get_shared_file_mapping_slide_np_trials()
3146 append_trial(trials, SHARED_FILE_MAPPING_SLIDE_NP_TRIAL(1, mappings, " (sms_init_prot check)")); in get_shared_file_mapping_slide_np_trials()
3147 mappings = alloc_and_fill_shared_file_mappings(SFM_MAX - 1, MP_NORMAL); in get_shared_file_mapping_slide_np_trials()
3148 append_trial(trials, SHARED_FILE_MAPPING_SLIDE_NP_TRIAL(SFM_MAX - 1, mappings, "")); in get_shared_file_mapping_slide_np_trials()
3149 mappings = alloc_and_fill_shared_file_mappings(SFM_MAX, MP_NORMAL); in get_shared_file_mapping_slide_np_trials()
3150 append_trial(trials, SHARED_FILE_MAPPING_SLIDE_NP_TRIAL(SFM_MAX, mappings, "")); in get_shared_file_mapping_slide_np_trials()
3151 mappings = alloc_and_fill_shared_file_mappings(SFM_MAX + 1, MP_NORMAL); in get_shared_file_mapping_slide_np_trials()
3152 append_trial(trials, SHARED_FILE_MAPPING_SLIDE_NP_TRIAL(SFM_MAX + 1, mappings, "")); in get_shared_file_mapping_slide_np_trials()
3153 mappings = alloc_and_fill_shared_file_mappings(kNumSharedCacheMappings, MP_NORMAL); in get_shared_file_mapping_slide_np_trials()
3154 append_trial(trials, SHARED_FILE_MAPPING_SLIDE_NP_TRIAL(kNumSharedCacheMappings, mappings, "")); in get_shared_file_mapping_slide_np_trials()
3155 mappings = alloc_and_fill_shared_file_mappings(2 * kNumSharedCacheMappings, MP_NORMAL); in get_shared_file_mapping_slide_np_trials()
3156 …append_trial(trials, SHARED_FILE_MAPPING_SLIDE_NP_TRIAL(2 * kNumSharedCacheMappings, mappings, "")… in get_shared_file_mapping_slide_np_trials()
3174 struct shared_file_mapping_slide_np *mappings; member
3192 .mappings = (struct shared_file_mapping_slide_np *)(new_mappings), \ in TRIALS_IMPL()
3210 …file.files_count, shared_file.files, shared_mapping.mappings_count, shared_mapping.mappings, buf));