Searched refs:args_idx (Results 1 – 1 of 1) sorted by relevance
538 unsigned int args_idx = 0; in kfd_ioctl_dbg_address_watch() local578 aw_info.num_watch_points = *((uint32_t *)(&args_buff[args_idx])); in kfd_ioctl_dbg_address_watch()579 args_idx += sizeof(aw_info.num_watch_points); in kfd_ioctl_dbg_address_watch()581 aw_info.watch_mode = (enum HSA_DBG_WATCH_MODE *) &args_buff[args_idx]; in kfd_ioctl_dbg_address_watch()582 args_idx += sizeof(enum HSA_DBG_WATCH_MODE) * aw_info.num_watch_points; in kfd_ioctl_dbg_address_watch()588 aw_info.watch_address = (uint64_t *) &args_buff[args_idx]; in kfd_ioctl_dbg_address_watch()591 args_idx += sizeof(aw_info.watch_address) * aw_info.num_watch_points; in kfd_ioctl_dbg_address_watch()593 if (args_idx >= args->buf_size_in_bytes - sizeof(*args)) { in kfd_ioctl_dbg_address_watch()598 watch_mask_value = (uint64_t) args_buff[args_idx]; in kfd_ioctl_dbg_address_watch()606 aw_info.watch_mask = (uint64_t *) &args_buff[args_idx]; in kfd_ioctl_dbg_address_watch()[all …]