/linux-6.6.21/drivers/gpu/drm/amd/amdkfd/ |
D | kfd_debug.c | 360 static int kfd_dbg_get_dev_watch_id(struct kfd_process_device *pdd, int *watch_id) in kfd_dbg_get_dev_watch_id() argument 364 *watch_id = KFD_DEBUGGER_INVALID_WATCH_POINT_ID; in kfd_dbg_get_dev_watch_id() 375 *watch_id = i; in kfd_dbg_get_dev_watch_id() 385 static void kfd_dbg_clear_dev_watch_id(struct kfd_process_device *pdd, int watch_id) in kfd_dbg_clear_dev_watch_id() argument 390 if ((pdd->alloc_watch_ids >> watch_id) & 0x1) { in kfd_dbg_clear_dev_watch_id() 391 pdd->alloc_watch_ids &= ~(0x1 << watch_id); in kfd_dbg_clear_dev_watch_id() 392 pdd->dev->kfd->alloc_watch_ids &= ~(0x1 << watch_id); in kfd_dbg_clear_dev_watch_id() 398 static bool kfd_dbg_owns_dev_watch_id(struct kfd_process_device *pdd, int watch_id) in kfd_dbg_owns_dev_watch_id() argument 403 owns_watch_id = watch_id < MAX_WATCH_ADDRESSES && in kfd_dbg_owns_dev_watch_id() 404 ((pdd->alloc_watch_ids >> watch_id) & 0x1); in kfd_dbg_owns_dev_watch_id() [all …]
|
D | kfd_debug.h | 59 uint32_t watch_id); 63 uint32_t *watch_id,
|
/linux-6.6.21/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_amdkfd_gfx_v10.h | 45 uint32_t watch_id, 50 uint32_t watch_id);
|
D | amdgpu_amdkfd_aldebaran.c | 127 uint32_t watch_id, in kgd_gfx_aldebaran_set_address_watch() argument 156 (watch_id * TCP_WATCH_STRIDE)), in kgd_gfx_aldebaran_set_address_watch() 160 (watch_id * TCP_WATCH_STRIDE)), in kgd_gfx_aldebaran_set_address_watch()
|
D | amdgpu_amdkfd_gfx_v9.h | 90 uint32_t watch_id, 95 uint32_t watch_id);
|
D | amdgpu_amdkfd_gfx_v10.c | 887 uint32_t watch_id, in kgd_gfx_v10_set_address_watch() argument 921 (watch_id * TCP_WATCH_STRIDE)), in kgd_gfx_v10_set_address_watch() 925 (watch_id * TCP_WATCH_STRIDE)), in kgd_gfx_v10_set_address_watch() 929 (watch_id * TCP_WATCH_STRIDE)), in kgd_gfx_v10_set_address_watch() 939 (watch_id * TCP_WATCH_STRIDE)), in kgd_gfx_v10_set_address_watch() 946 uint32_t watch_id) in kgd_gfx_v10_clear_address_watch() argument 953 (watch_id * TCP_WATCH_STRIDE)), in kgd_gfx_v10_clear_address_watch()
|
D | amdgpu_amdkfd_gc_9_4_3.c | 469 uint32_t watch_id, in kgd_gfx_v9_4_3_set_address_watch() argument 499 (watch_id * TCP_WATCH_STRIDE)), in kgd_gfx_v9_4_3_set_address_watch() 504 (watch_id * TCP_WATCH_STRIDE)), in kgd_gfx_v9_4_3_set_address_watch() 511 uint32_t watch_id) in kgd_gfx_v9_4_3_clear_address_watch() argument
|
D | amdgpu_amdkfd_gfx_v9.c | 823 uint32_t watch_id, in kgd_gfx_v9_set_address_watch() argument 857 (watch_id * TCP_WATCH_STRIDE)), in kgd_gfx_v9_set_address_watch() 861 (watch_id * TCP_WATCH_STRIDE)), in kgd_gfx_v9_set_address_watch() 865 (watch_id * TCP_WATCH_STRIDE)), in kgd_gfx_v9_set_address_watch() 875 (watch_id * TCP_WATCH_STRIDE)), in kgd_gfx_v9_set_address_watch() 882 uint32_t watch_id) in kgd_gfx_v9_clear_address_watch() argument 889 (watch_id * TCP_WATCH_STRIDE)), in kgd_gfx_v9_clear_address_watch()
|
D | amdgpu_amdkfd_gfx_v11.c | 744 uint32_t watch_id, in kgd_gfx_v11_set_address_watch() argument 773 (watch_id * TCP_WATCH_STRIDE)), in kgd_gfx_v11_set_address_watch() 777 (watch_id * TCP_WATCH_STRIDE)), in kgd_gfx_v11_set_address_watch() 784 uint32_t watch_id) in kgd_gfx_v11_clear_address_watch() argument
|
/linux-6.6.21/samples/watch_queue/ |
D | watch_test.c | 32 static long keyctl_watch_key(int key, int watch_fd, int watch_id) in keyctl_watch_key() argument 34 return syscall(__NR_keyctl, KEYCTL_WATCH_KEY, key, watch_fd, watch_id); in keyctl_watch_key()
|
/linux-6.6.21/drivers/gpu/drm/amd/include/ |
D | kgd_kfd_interface.h | 316 uint32_t watch_id, 321 uint32_t watch_id);
|
/linux-6.6.21/security/keys/ |
D | keyctl.c | 1773 long keyctl_watch_key(key_serial_t id, int watch_queue_fd, int watch_id) in keyctl_watch_key() argument 1782 if (watch_id < -1 || watch_id > 0xff) in keyctl_watch_key() 1796 if (watch_id >= 0) { in keyctl_watch_key() 1811 watch->info_id = (u32)watch_id << WATCH_INFO_ID__SHIFT; in keyctl_watch_key()
|
D | internal.h | 360 static inline long keyctl_watch_key(key_serial_t key_id, int watch_fd, int watch_id) in keyctl_watch_key() argument
|