Searched refs:size_groups (Results 1 - 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/scripts/gcc-plugins/ |
H A D | randomize_layout_plugin.c | 174 static void partition_struct(tree *fields, unsigned long length, struct partition_group *size_groups, unsigned long *num_groups) in partition_struct() argument 183 memset(size_groups, 0, sizeof(struct partition_group) * length); in partition_struct() 186 if (size_groups[group_idx].tree_start == NULL_TREE) { in partition_struct() 187 size_groups[group_idx].tree_start = fields[i]; in partition_struct() 188 size_groups[group_idx].start = i; in partition_struct() 195 size_groups[group_idx].length = accum_length; in partition_struct() 201 if (size_groups[group_idx].tree_start != NULL_TREE && in partition_struct() 202 !size_groups[group_idx].length) { in partition_struct() 203 size_groups[group_idx].length = accum_length; in partition_struct()
|
/kernel/linux/linux-6.6/scripts/gcc-plugins/ |
H A D | randomize_layout_plugin.c | 156 static void partition_struct(tree *fields, unsigned long length, struct partition_group *size_groups, unsigned long *num_groups) in partition_struct() argument 165 memset(size_groups, 0, sizeof(struct partition_group) * length); in partition_struct() 168 if (size_groups[group_idx].tree_start == NULL_TREE) { in partition_struct() 169 size_groups[group_idx].tree_start = fields[i]; in partition_struct() 170 size_groups[group_idx].start = i; in partition_struct() 177 size_groups[group_idx].length = accum_length; in partition_struct() 183 if (size_groups[group_idx].tree_start != NULL_TREE && in partition_struct() 184 !size_groups[group_idx].length) { in partition_struct() 185 size_groups[group_idx].length = accum_length; in partition_struct()
|
Completed in 3 milliseconds