Home
last modified time | relevance | path

Searched refs:watch_id (Results 1 – 13 of 13) sorted by relevance

/linux-6.6.21/drivers/gpu/drm/amd/amdkfd/
Dkfd_debug.c360 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 …]
Dkfd_debug.h59 uint32_t watch_id);
63 uint32_t *watch_id,
/linux-6.6.21/drivers/gpu/drm/amd/amdgpu/
Damdgpu_amdkfd_gfx_v10.h45 uint32_t watch_id,
50 uint32_t watch_id);
Damdgpu_amdkfd_aldebaran.c127 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()
Damdgpu_amdkfd_gfx_v9.h90 uint32_t watch_id,
95 uint32_t watch_id);
Damdgpu_amdkfd_gfx_v10.c887 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()
Damdgpu_amdkfd_gc_9_4_3.c469 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
Damdgpu_amdkfd_gfx_v9.c823 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()
Damdgpu_amdkfd_gfx_v11.c744 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/
Dwatch_test.c32 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/
Dkgd_kfd_interface.h316 uint32_t watch_id,
321 uint32_t watch_id);
/linux-6.6.21/security/keys/
Dkeyctl.c1773 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()
Dinternal.h360 static inline long keyctl_watch_key(key_serial_t key_id, int watch_fd, int watch_id) in keyctl_watch_key() argument