Searched refs:num_layers (Results 1 – 6 of 6) sorted by relevance
27 static struct landlock_ruleset *create_ruleset(const u32 num_layers) in create_ruleset() argument32 num_layers), GFP_KERNEL_ACCOUNT); in create_ruleset()38 new_ruleset->num_layers = num_layers; in create_ruleset()63 .num_layers = ~0, in build_check_rule()66 BUILD_BUG_ON(rule.num_layers < LANDLOCK_MAX_NUM_LAYERS); in build_check_rule()72 const u32 num_layers, in create_rule() argument81 if (WARN_ON_ONCE(num_layers >= LANDLOCK_MAX_NUM_LAYERS)) in create_rule()83 new_num_layers = num_layers + 1; in create_rule()85 new_num_layers = num_layers; in create_rule()94 new_rule->num_layers = new_num_layers; in create_rule()[all …]
52 u32 num_layers; member125 u32 num_layers; member
162 if (WARN_ON_ONCE(ruleset->num_layers != 1)) in landlock_append_fs_rule()210 for (i = 0; i < rule->num_layers; i++) { in unmask_layers()249 if (WARN_ON_ONCE(domain->num_layers < 1)) in check_access_path()254 for (i = 0; i < domain->num_layers; i++) { in check_access_path()
226 if (WARN_ON_ONCE(ruleset->num_layers != 1)) { in get_ruleset_from_fd()
147 u32 num_layers) in vmw_surface_get_serialized_size() argument160 return total_size * num_layers; in vmw_surface_get_serialized_size()171 u32 num_layers, in vmw_surface_get_serialized_size_extended() argument178 num_layers); in vmw_surface_get_serialized_size_extended()336 u32 num_layers; member381 u32 num_layers, in vmw_surface_setup_cache() argument391 cache->num_layers = num_layers; in vmw_surface_setup_cache()414 cache->sheet_bytes = cache->mip_chain_bytes * num_layers; in vmw_surface_setup_cache()
1954 u32 num_layers = 1; in vmw_surface_dirty_alloc() local1966 num_layers = metadata->array_size; in vmw_surface_dirty_alloc()1968 num_layers *= SVGA3D_MAX_SURFACE_FACES; in vmw_surface_dirty_alloc()1974 num_subres = num_layers * num_mip; in vmw_surface_dirty_alloc()1993 num_mip, num_layers, num_samples, in vmw_surface_dirty_alloc()2077 u32 num_layers = 1; in vmw_gb_surface_define() local2142 num_layers = req->array_size; in vmw_gb_surface_define()2144 num_layers = SVGA3D_MAX_SURFACE_FACES; in vmw_gb_surface_define()2154 num_layers, in vmw_gb_surface_define()