Home
last modified time | relevance | path

Searched +defs:obj +defs:m (Results 1 – 25 of 66) sorted by relevance

123

/Linux-v6.6/drivers/gpu/drm/i915/
Di915_debugfs.c62 static int i915_capabilities(struct seq_file *m, void *data) in i915_capabilities()
82 static char get_tiling_flag(struct drm_i915_gem_object *obj) in get_tiling_flag()
92 static char get_global_flag(struct drm_i915_gem_object *obj) in get_global_flag()
97 static char get_pin_mapped_flag(struct drm_i915_gem_object *obj) in get_pin_mapped_flag()
143 static const char *i915_cache_level_str(struct drm_i915_gem_object *obj) in i915_cache_level_str()
189 i915_debugfs_describe_obj(struct seq_file *m, struct drm_i915_gem_object *obj) in i915_debugfs_describe_obj()
283 static int i915_gem_object_info(struct seq_file *m, void *data) in i915_gem_object_info()
401 static int i915_frequency_info(struct seq_file *m, void *unused) in i915_frequency_info()
436 static int i915_swizzle_info(struct seq_file *m, void *data) in i915_swizzle_info()
489 static int i915_rps_boost_info(struct seq_file *m, void *data) in i915_rps_boost_info()
[all …]
Di915_debugfs.h19 static inline void i915_debugfs_describe_obj(struct seq_file *m, struct drm_i915_gem_object *obj) {} in i915_debugfs_describe_obj()
/Linux-v6.6/drivers/gpu/drm/vmwgfx/
Dvmwgfx_gem.c40 static int vmw_gem_object_open(struct drm_gem_object *obj, in vmw_gem_object_open()
46 static void vmw_gem_object_close(struct drm_gem_object *obj, in vmw_gem_object_close()
51 static int vmw_gem_pin_private(struct drm_gem_object *obj, bool do_pin) in vmw_gem_pin_private()
70 static int vmw_gem_object_pin(struct drm_gem_object *obj) in vmw_gem_object_pin()
75 static void vmw_gem_object_unpin(struct drm_gem_object *obj) in vmw_gem_object_unpin()
80 static struct sg_table *vmw_gem_object_get_sg_table(struct drm_gem_object *obj) in vmw_gem_object_get_sg_table()
182 static void vmw_bo_print_info(int id, struct vmw_bo *bo, struct seq_file *m) in vmw_bo_print_info()
233 static int vmw_debugfs_gem_info_show(struct seq_file *m, void *unused) in vmw_debugfs_gem_info_show()
/Linux-v6.6/drivers/gpu/drm/omapdrm/
Domap_gem.c115 struct drm_gem_object *obj; /* the current pinned obj */ member
134 u64 omap_gem_mmap_offset(struct drm_gem_object *obj) in omap_gem_mmap_offset()
166 static void omap_gem_evict_entry(struct drm_gem_object *obj, in omap_gem_evict_entry()
175 const int m = DIV_ROUND_UP(omap_obj->width << fmt, PAGE_SIZE); in omap_gem_evict_entry() local
194 static void omap_gem_evict(struct drm_gem_object *obj) in omap_gem_evict()
221 static int omap_gem_attach_pages(struct drm_gem_object *obj) in omap_gem_attach_pages()
294 static void omap_gem_detach_pages(struct drm_gem_object *obj) in omap_gem_detach_pages()
316 u32 omap_gem_flags(struct drm_gem_object *obj) in omap_gem_flags()
322 size_t omap_gem_mmap_size(struct drm_gem_object *obj) in omap_gem_mmap_size()
346 static vm_fault_t omap_gem_fault_1d(struct drm_gem_object *obj, in omap_gem_fault_1d()
[all …]
/Linux-v6.6/drivers/gpu/drm/etnaviv/
Detnaviv_drv.c119 static int etnaviv_gem_show(struct drm_device *dev, struct seq_file *m) in etnaviv_gem_show()
128 static int etnaviv_mm_show(struct drm_device *dev, struct seq_file *m) in etnaviv_mm_show()
139 static int etnaviv_mmu_show(struct etnaviv_gpu *gpu, struct seq_file *m) in etnaviv_mmu_show()
169 static void etnaviv_buffer_dump(struct etnaviv_gpu *gpu, struct seq_file *m) in etnaviv_buffer_dump()
190 static int etnaviv_ring_show(struct etnaviv_gpu *gpu, struct seq_file *m) in etnaviv_ring_show()
201 static int show_unlocked(struct seq_file *m, void *arg) in show_unlocked()
211 static int show_each_gpu(struct seq_file *m, void *arg) in show_each_gpu()
289 struct drm_gem_object *obj; in etnaviv_ioctl_gem_cpu_prep() local
310 struct drm_gem_object *obj; in etnaviv_ioctl_gem_cpu_fini() local
331 struct drm_gem_object *obj; in etnaviv_ioctl_gem_info() local
[all …]
Detnaviv_gem.c156 static int etnaviv_gem_mmap(struct drm_gem_object *obj, struct vm_area_struct *vma) in etnaviv_gem_mmap()
166 struct drm_gem_object *obj = vma->vm_private_data; in etnaviv_gem_fault() local
201 int etnaviv_gem_mmap_offset(struct drm_gem_object *obj, u64 *offset) in etnaviv_gem_mmap_offset()
216 etnaviv_gem_get_vram_mapping(struct etnaviv_gem_object *obj, in etnaviv_gem_get_vram_mapping()
242 struct drm_gem_object *obj, struct etnaviv_iommu_context *mmu_context, in etnaviv_gem_mapping_get()
324 void *etnaviv_gem_vmap(struct drm_gem_object *obj) in etnaviv_gem_vmap()
343 static void *etnaviv_gem_vmap_impl(struct etnaviv_gem_object *obj) in etnaviv_gem_vmap_impl()
367 int etnaviv_gem_cpu_prep(struct drm_gem_object *obj, u32 op, in etnaviv_gem_cpu_prep()
407 int etnaviv_gem_cpu_fini(struct drm_gem_object *obj) in etnaviv_gem_cpu_fini()
423 int etnaviv_gem_wait_bo(struct etnaviv_gpu *gpu, struct drm_gem_object *obj, in etnaviv_gem_wait_bo()
[all …]
/Linux-v6.6/drivers/gpu/drm/i915/gem/selftests/
Di915_gem_context.c297 int n, m, count; in live_parallel_switch() local
431 static unsigned long real_page_count(struct drm_i915_gem_object *obj) in real_page_count()
436 static unsigned long fake_page_count(struct drm_i915_gem_object *obj) in fake_page_count()
442 struct drm_i915_gem_object *obj, in gpu_fill()
477 static int cpu_fill(struct drm_i915_gem_object *obj, u32 value) in cpu_fill()
481 unsigned long n, m; in cpu_fill() local
508 static noinline int cpu_check(struct drm_i915_gem_object *obj, in cpu_check()
521 u32 *map, m; in cpu_check() local
560 static int file_add_object(struct file *file, struct drm_i915_gem_object *obj) in file_add_object()
582 struct drm_i915_gem_object *obj; in create_test_object() local
[all …]
/Linux-v6.6/drivers/gpu/drm/msm/
Dmsm_gem.c22 static dma_addr_t physaddr(struct drm_gem_object *obj) in physaddr()
30 static bool use_pages(struct drm_gem_object *obj) in use_pages()
64 static void update_lru_active(struct drm_gem_object *obj) in update_lru_active()
82 static void update_lru_locked(struct drm_gem_object *obj) in update_lru_locked()
98 static void update_lru(struct drm_gem_object *obj) in update_lru()
108 static struct page **get_pages_vram(struct drm_gem_object *obj, int npages) in get_pages_vram()
137 static struct page **get_pages(struct drm_gem_object *obj) in get_pages()
182 static void put_pages_vram(struct drm_gem_object *obj) in put_pages_vram()
194 static void put_pages(struct drm_gem_object *obj) in put_pages()
222 static struct page **msm_gem_pin_pages_locked(struct drm_gem_object *obj, in msm_gem_pin_pages_locked()
[all …]
/Linux-v6.6/drivers/gpu/drm/loongson/
Dlsdc_gem.c17 static int lsdc_gem_prime_pin(struct drm_gem_object *obj) in lsdc_gem_prime_pin()
35 static void lsdc_gem_prime_unpin(struct drm_gem_object *obj) in lsdc_gem_prime_unpin()
51 static struct sg_table *lsdc_gem_prime_get_sg_table(struct drm_gem_object *obj) in lsdc_gem_prime_get_sg_table()
64 static void lsdc_gem_object_free(struct drm_gem_object *obj) in lsdc_gem_object_free()
72 static int lsdc_gem_object_vmap(struct drm_gem_object *obj, struct iosys_map *map) in lsdc_gem_object_vmap()
104 static void lsdc_gem_object_vunmap(struct drm_gem_object *obj, struct iosys_map *map) in lsdc_gem_object_vunmap()
122 static int lsdc_gem_object_mmap(struct drm_gem_object *obj, struct vm_area_struct *vma) in lsdc_gem_object_mmap()
282 int lsdc_show_buffer_object(struct seq_file *m, void *arg) in lsdc_show_buffer_object()
/Linux-v6.6/drivers/gpu/drm/amd/amdgpu/
Damdgpu_ras.c193 struct ras_manager *obj = (struct ras_manager *)file_inode(f)->i_private; in amdgpu_ras_debugfs_read() local
603 struct ras_manager *obj = container_of(attr, struct ras_manager, sysfs_attr); in amdgpu_ras_sysfs_read() local
626 #define get_obj(obj) do { (obj)->use++; } while (0) argument
627 #define alive_obj(obj) ((obj)->use) argument
629 static inline void put_obj(struct ras_manager *obj) in put_obj()
642 struct ras_manager *obj; in amdgpu_ras_create_obj() local
675 struct ras_manager *obj; in amdgpu_ras_find_obj() local
730 struct ras_manager *obj = amdgpu_ras_find_obj(adev, head); in __amdgpu_ras_feature_enable() local
873 struct ras_manager *obj, *tmp; in amdgpu_ras_disable_all_features() local
961 struct amdgpu_ras_block_object *obj; in amdgpu_ras_get_ras_block() local
[all …]
/Linux-v6.6/drivers/gpu/drm/i915/gt/
Dintel_timeline.c22 struct drm_i915_gem_object *obj; in hwsp_alloc() local
60 struct drm_i915_gem_object *obj = timeline->hwsp_ggtt->obj; in intel_timeline_pin_map() local
411 struct drm_printer *m, in intel_gt_show_timelines()
412 void (*show_request)(struct drm_printer *m, in intel_gt_show_timelines()
Dselftest_migrate.c27 struct drm_i915_gem_object *obj; in create_lmem_or_internal() local
222 intel_migrate_ccs_copy(struct intel_migrate *m, in intel_migrate_ccs_copy()
258 struct drm_i915_gem_object *obj, in clear()
264 struct drm_i915_gem_object *obj; in clear() local
452 struct drm_i915_gem_object *obj, in __migrate_clear()
465 struct drm_i915_gem_object *obj, in __global_clear()
551 struct drm_i915_gem_object *obj; in live_emit_pte_full_ring() local
815 struct drm_i915_gem_object *obj = NULL; in create_init_lmem_internal() local
/Linux-v6.6/tools/bpf/bpftool/
Dgen.c124 static int codegen_datasec_def(struct bpf_object *obj, in codegen_datasec_def()
245 static int codegen_datasecs(struct bpf_object *obj, const char *obj_name) in codegen_datasecs()
294 static int codegen_subskel_datasecs(struct bpf_object *obj, const char *obj_name) in codegen_subskel_datasecs()
467 static void codegen_asserts(struct bpf_object *obj, const char *obj_name) in codegen_asserts()
532 static void codegen_attach_detach(struct bpf_object *obj, const char *obj_name) in codegen_attach_detach()
614 static void codegen_destroy(struct bpf_object *obj, const char *obj_name) in codegen_destroy()
658 static int gen_trace(struct bpf_object *obj, const char *obj_name, const char *header_guard) in gen_trace()
818 codegen_maps_skeleton(struct bpf_object *obj, size_t map_cnt, bool mmaped) in codegen_maps_skeleton()
863 codegen_progs_skeleton(struct bpf_object *obj, size_t prog_cnt, bool populate_links) in codegen_progs_skeleton()
912 struct bpf_object *obj = NULL; in do_skeleton() local
[all …]
Dprog.c1480 auto_attach_programs(struct bpf_object *obj, const char *path) in auto_attach_programs()
1523 struct bpf_object *obj; in load_with_options() local
1899 struct bpf_object *obj; in do_loader() local
2084 static void profile_read_values(struct profiler_bpf *obj) in profile_read_values()
2086 __u32 m, cpu, num_cpu = obj->rodata->num_cpu; in profile_read_values() local
2132 __u32 m; in profile_print_readings_json() local
2152 __u32 m; in profile_print_readings_plain() local
2252 static void profile_close_perf_events(struct profiler_bpf *obj) in profile_close_perf_events()
2291 static int profile_open_perf_events(struct profiler_bpf *obj) in profile_open_perf_events()
2293 unsigned int cpu, m; in profile_open_perf_events() local
/Linux-v6.6/drivers/gpu/drm/i915/gt/uc/
Dintel_guc_log_debugfs.c15 static u32 obj_to_guc_log_dump_size(struct drm_i915_gem_object *obj) in obj_to_guc_log_dump_size()
44 static int guc_log_dump_show(struct seq_file *m, void *data) in guc_log_dump_show()
70 static int guc_load_err_log_dump_show(struct seq_file *m, void *data) in guc_load_err_log_dump_show()
/Linux-v6.6/drivers/platform/x86/
Dhuawei-wmi.c176 union acpi_object *obj; in huawei_wmi_cmd() local
611 static void huawei_wmi_debugfs_call_dump(struct seq_file *m, void *data, in huawei_wmi_debugfs_call_dump()
612 union acpi_object *obj) in huawei_wmi_debugfs_call_dump()
648 static int huawei_wmi_debugfs_call_show(struct seq_file *m, void *data) in huawei_wmi_debugfs_call_show()
653 union acpi_object *obj; in huawei_wmi_debugfs_call_show() local
710 union acpi_object *obj; in huawei_wmi_process_key() local
742 union acpi_object *obj; in huawei_wmi_input_notify() local
/Linux-v6.6/drivers/gpu/drm/i915/selftests/
Di915_vma.c38 struct drm_i915_gem_object *obj, in assert_vma()
64 checked_vma_instance(struct drm_i915_gem_object *obj, in checked_vma_instance()
111 struct drm_i915_gem_object *obj; in create_vmas() local
153 struct drm_i915_gem_object *obj, *on; in igt_vma_create() local
310 }, *m; in igt_vma_pin1() local
311 struct drm_i915_gem_object *obj; in igt_vma_pin1() local
370 assert_rotated(struct drm_i915_gem_object *obj, in assert_rotated()
447 assert_remapped(struct drm_i915_gem_object *obj, in assert_remapped()
548 struct drm_i915_gem_object *obj; in igt_vma_rotate_remap() local
713 static bool assert_partial(struct drm_i915_gem_object *obj, in assert_partial()
[all …]
/Linux-v6.6/lib/
Ddebugobjects.c130 struct debug_obj *obj; in fill_pool() local
190 struct debug_obj *obj; in lookup_object() local
209 struct debug_obj *obj = NULL; in __alloc_object() local
223 struct debug_obj *obj; in alloc_object() local
288 struct debug_obj *obj; in free_obj_work() local
335 static void __free_object(struct debug_obj *obj) in __free_object()
421 static void free_object(struct debug_obj *obj) in free_object()
435 struct debug_obj *obj; in object_cpu_offline() local
465 struct debug_obj *obj; in debug_objects_oom() local
496 static void debug_print_object(struct debug_obj *obj, char *msg) in debug_print_object()
[all …]
/Linux-v6.6/drivers/gpu/drm/
Ddrm_debugfs.c54 static int drm_name_info(struct seq_file *m, void *data) in drm_name_info()
75 static int drm_clients_info(struct seq_file *m, void *data) in drm_clients_info()
117 struct drm_gem_object *obj = ptr; in drm_gem_one_name_info() local
118 struct seq_file *m = data; in drm_gem_one_name_info() local
127 static int drm_gem_name_info(struct seq_file *m, void *data) in drm_gem_name_info()
192 int drm_debugfs_gpuva_info(struct seq_file *m, in drm_debugfs_gpuva_info()
408 static int connector_show(struct seq_file *m, void *data) in connector_show()
427 struct seq_file *m = file->private_data; in connector_write() local
453 static int edid_show(struct seq_file *m, void *data) in edid_show()
468 struct seq_file *m = file->private_data; in edid_write() local
[all …]
Ddrm_atomic.c254 struct drm_private_obj *obj = state->private_objs[i].ptr; in drm_atomic_state_default_clear() local
792 struct drm_private_obj *obj, in drm_atomic_private_obj_init()
815 drm_atomic_private_obj_fini(struct drm_private_obj *obj) in drm_atomic_private_obj_fini()
838 struct drm_private_obj *obj) in drm_atomic_get_private_obj_state()
893 struct drm_private_obj *obj) in drm_atomic_get_old_private_obj_state()
915 struct drm_private_obj *obj) in drm_atomic_get_new_private_obj_state()
1717 struct drm_private_obj *obj = state->obj; in drm_atomic_private_obj_print_state() local
1743 struct drm_private_obj *obj; in drm_atomic_print_new_state() local
1828 static int drm_state_info(struct seq_file *m, void *data) in drm_state_info()
/Linux-v6.6/tools/lib/bpf/
Dlibbpf.c434 struct bpf_object *obj; member
504 struct bpf_object *obj; member
747 bpf_object__init_prog(struct bpf_object *obj, struct bpf_program *prog, in bpf_object__init_prog()
807 bpf_object__add_programs(struct bpf_object *obj, Elf_Data *sec_data, in bpf_object__add_programs()
894 struct btf_member *m; in find_member_by_offset() local
909 struct btf_member *m; in find_member_by_name() local
1119 static int bpf_object__init_kern_struct_ops_maps(struct bpf_object *obj) in bpf_object__init_kern_struct_ops_maps()
1140 static int init_struct_ops_maps(struct bpf_object *obj, const char *sec_name, in init_struct_ops_maps()
1235 static int bpf_object_init_struct_ops(struct bpf_object *obj) in bpf_object_init_struct_ops()
1253 struct bpf_object *obj; in bpf_object__new() local
[all …]
Dlinker.c443 struct src_obj obj = {}; in bpf_linker__add_file() local
516 static struct src_sec *add_src_sec(struct src_obj *obj, const char *sec_name) in add_src_sec()
540 struct src_obj *obj) in linker_load_obj_file()
700 static int linker_sanity_check_elf(struct src_obj *obj) in linker_sanity_check_elf()
763 static int linker_sanity_check_elf_symtab(struct src_obj *obj, struct src_sec *sec) in linker_sanity_check_elf_symtab()
837 static int linker_sanity_check_elf_relos(struct src_obj *obj, struct src_sec *sec) in linker_sanity_check_elf_relos()
938 static int linker_sanity_check_btf(struct src_obj *obj) in linker_sanity_check_btf()
959 static int linker_sanity_check_btf_ext(struct src_obj *obj) in linker_sanity_check_btf_ext()
1169 static int linker_append_sec_data(struct bpf_linker *linker, struct src_obj *obj) in linker_append_sec_data()
1221 static int linker_append_elf_syms(struct bpf_linker *linker, struct src_obj *obj) in linker_append_elf_syms()
[all …]
/Linux-v6.6/drivers/platform/x86/intel/
Dhid.c223 union acpi_object *obj, argv4, req; in intel_hid_execute_method() local
264 union acpi_object *obj; in intel_hid_evaluate_method() local
299 union acpi_object *obj; in intel_hid_init_dsm() local
473 int m; in report_tablet_mode_state() local
/Linux-v6.6/drivers/gpu/drm/vc4/
Dvc4_bo.c70 static int vc4_bo_stats_debugfs(struct seq_file *m, void *unused) in vc4_bo_stats_debugfs()
168 struct drm_gem_object *obj = &bo->base.base; in vc4_bo_destroy() local
297 static void vc4_bo_purge(struct drm_gem_object *obj) in vc4_bo_purge()
320 struct drm_gem_object *obj = &bo->base.base; in vc4_bo_userspace_cache_purge() local
687 static struct dma_buf *vc4_prime_export(struct drm_gem_object *obj, int flags) in vc4_prime_export()
719 struct drm_gem_object *obj = vma->vm_private_data; in vc4_fault() local
732 static int vc4_gem_object_mmap(struct drm_gem_object *obj, struct vm_area_struct *vma) in vc4_gem_object_mmap()
/Linux-v6.6/drivers/hwmon/
Dasus_atk0110.c279 enum atk_pack_member m) in atk_get_pack_member()
327 static int validate_hwmon_pack(struct atk_data *data, union acpi_object *obj) in validate_hwmon_pack()
421 static void atk_print_sensor(struct atk_data *data, union acpi_object *obj) in atk_print_sensor()
530 union acpi_object *obj; in atk_gitm() local
571 union acpi_object *obj; in atk_sitm() local
605 union acpi_object *obj; in atk_read_value_new() local
687 static int atk_acpi_print(char *buf, size_t sz, union acpi_object *obj) in atk_acpi_print()
709 union acpi_object *obj = &pack->package.elements[i]; in atk_pack_print() local
820 static int atk_add_sensor(struct atk_data *data, union acpi_object *obj) in atk_add_sensor()
960 union acpi_object *obj = &pack->package.elements[i]; in atk_enumerate_old_hwmon() local
[all …]

123