/openbmc/linux/kernel/bpf/ |
H A D | bpf_struct_ops.c | 769 struct bpf_struct_ops_link *st_link; in bpf_struct_ops_map_link_dealloc() local 772 st_link = container_of(link, struct bpf_struct_ops_link, link); in bpf_struct_ops_map_link_dealloc() 774 rcu_dereference_protected(st_link->map, true); in bpf_struct_ops_map_link_dealloc() 782 kfree(st_link); in bpf_struct_ops_map_link_dealloc() 788 struct bpf_struct_ops_link *st_link; in bpf_struct_ops_map_link_show_fdinfo() local 791 st_link = container_of(link, struct bpf_struct_ops_link, link); in bpf_struct_ops_map_link_show_fdinfo() 793 map = rcu_dereference(st_link->map); in bpf_struct_ops_map_link_show_fdinfo() 801 struct bpf_struct_ops_link *st_link; in bpf_struct_ops_map_link_fill_link_info() local 804 st_link = container_of(link, struct bpf_struct_ops_link, link); in bpf_struct_ops_map_link_fill_link_info() 806 map = rcu_dereference(st_link->map); in bpf_struct_ops_map_link_fill_link_info() [all …]
|
/openbmc/linux/drivers/gpu/drm/i915/selftests/ |
H A D | i915_gem_gtt.c | 396 list_for_each_entry_safe(obj, on, objects, st_link) { in close_object_list() 403 list_del(&obj->st_link); in close_object_list() 447 list_add(&obj->st_link, &objects); in fill_hole() 457 list_for_each_entry(obj, &objects, st_link) { in fill_hole() 497 list_for_each_entry(obj, &objects, st_link) { in fill_hole() 536 list_for_each_entry_reverse(obj, &objects, st_link) { in fill_hole() 576 list_for_each_entry_reverse(obj, &objects, st_link) { in fill_hole() 927 list_add(&obj->st_link, &objects); in __shrink_hole() 1564 list_add(&obj->st_link, &objects); in igt_gtt_reserve() 1609 list_add(&obj->st_link, &objects); in igt_gtt_reserve() [all …]
|
H A D | intel_memory_region.c | 38 list_for_each_entry_safe(obj, on, objects, st_link) { in close_objects() 45 list_del(&obj->st_link); in close_objects() 85 list_add(&obj->st_link, &objects); in igt_mock_fill() 123 list_add(&obj->st_link, objects); in igt_object_create() 137 list_del(&obj->st_link); in igt_object_release()
|
H A D | i915_gem_evict.c | 45 list_add(&obj->st_link, objects); in quirk_add() 98 list_for_each_entry_safe(obj, on, list, st_link) { in cleanup_objects()
|
H A D | i915_vma.c | 115 list_for_each_entry(obj, objects, st_link) { in create_vmas() 173 list_add(&obj->st_link, &objects); in igt_vma_create() 213 list_for_each_entry_safe(obj, on, &objects, st_link) in igt_vma_create()
|
/openbmc/qemu/tests/qtest/ |
H A D | virtio-9p-test.c | 645 struct stat st_real, st_link; in fs_hardlink_file() local 661 g_assert(stat(hardlink_file, &st_link) == 0); in fs_hardlink_file() 663 g_assert((st_link.st_mode & S_IFMT) == S_IFREG); in fs_hardlink_file() 664 g_assert(st_link.st_dev == st_real.st_dev); in fs_hardlink_file() 665 g_assert(st_link.st_ino == st_real.st_ino); in fs_hardlink_file() 673 struct stat st_real, st_link; in fs_unlinkat_hardlink() local 687 g_assert(stat(hardlink_file, &st_link) == 0); in fs_unlinkat_hardlink() 691 g_assert(stat(hardlink_file, &st_link) != 0); in fs_unlinkat_hardlink()
|
/openbmc/linux/drivers/gpu/drm/i915/gem/selftests/ |
H A D | huge_pages.c | 702 list_for_each_entry_safe(obj, on, objects, st_link) { in close_object_list() 703 list_del(&obj->st_link); in close_object_list() 769 list_add(&obj->st_link, &objects); in igt_ppgtt_huge_fill() 1670 list_add_tail(&obj->st_link, &objects); in igt_ppgtt_mixed() 1715 list_for_each_entry(obj, &objects, st_link) { in igt_ppgtt_mixed() 1748 list_for_each_entry_safe(obj, on, &objects, st_link) { in igt_ppgtt_mixed() 1749 list_del(&obj->st_link); in igt_ppgtt_mixed()
|
H A D | i915_gem_mman.c | 1018 list_for_each_entry_safe(obj, on, objects, st_link) { in igt_close_objects() 1025 list_del(&obj->st_link); in igt_close_objects() 1038 list_for_each_entry(obj, objects, st_link) { in igt_make_evictable() 1065 list_add(&obj->st_link, objects); in igt_fill_mappable()
|
H A D | i915_gem_context.c | 608 list_add_tail(&obj->st_link, objects); in create_test_object() 758 list_for_each_entry(obj, &objects, st_link) { in igt_ctx_exec() 891 list_for_each_entry(obj, &objects, st_link) { in igt_shared_ctx_exec() 1465 list_for_each_entry(obj, &objects, st_link) { in igt_ctx_readonly()
|
/openbmc/linux/drivers/gpu/drm/i915/gem/ |
H A D | i915_gem_object_types.h | 322 I915_SELFTEST_DECLARE(struct list_head st_link);
|
/openbmc/linux/tools/lib/bpf/ |
H A D | libbpf.c | 12156 struct bpf_link_struct_ops *st_link; in bpf_link__detach_struct_ops() local 12159 st_link = container_of(link, struct bpf_link_struct_ops, link); in bpf_link__detach_struct_ops() 12161 if (st_link->map_fd < 0) in bpf_link__detach_struct_ops()
|