| /src/sys/external/bsd/drm2/dist/drm/amd/amdkfd/ |
| kfd_packet_manager_v9.c | 87 struct kfd_dev *kfd = pm->dqm->dev; local 92 * of processes in the runlist and kfd module parameter 99 kfd->max_proc_per_quantum);
|
| kfd_packet_manager_vi.c | 84 struct kfd_dev *kfd = pm->dqm->dev; local 92 * of processes in the runlist and kfd module parameter 99 kfd->max_proc_per_quantum);
|
| kfd_mqd_manager_v9.c | 89 static struct kfd_mem_obj *allocate_mqd(struct kfd_dev *kfd, 99 if (kfd->cwsr_enabled && (q->type == KFD_QUEUE_TYPE_COMPUTE)) { 103 retval = amdgpu_amdkfd_alloc_gtt_mem(kfd->kgd, 110 retval = kfd_gtt_sa_allocate(kfd, sizeof(struct v9_mqd), 285 struct kfd_dev *kfd = mm->dev; local 288 amdgpu_amdkfd_free_gtt_mem(kfd->kgd, mqd_mem_obj->gtt_mem);
|
| kfd_device.c | 41 * kfd_locked is used to lock the kfd driver during suspend or reset 42 * once locked, kfd driver will stop any further GPU execution. 490 static int kfd_gtt_sa_init(struct kfd_dev *kfd, unsigned int buf_size, 492 static void kfd_gtt_sa_fini(struct kfd_dev *kfd); 494 static int kfd_resume(struct kfd_dev *kfd); 499 struct kfd_dev *kfd; local 513 dev_err(kfd_device, "%s %s not supported in kfd\n", 518 kfd = kzalloc(sizeof(*kfd), GFP_KERNEL); 519 if (!kfd) [all...] |
| kfd_chardev.c | 53 static const char kfd_dev_name[] = "kfd"; 124 "Process %d (32-bit) failed to open /dev/kfd\n" 1026 * handle is passed to KFD with the first call to this IOCTL 1030 struct kfd_dev *kfd; local 1040 kfd = kfd_device_by_id(GET_GPU_ID(args->event_page_offset)); 1041 if (!kfd) { 1047 pdd = kfd_bind_process_to_device(kfd, p); 1063 err = amdgpu_amdkfd_gpuvm_map_gtt_bo_to_kernel(kfd->kgd, 1333 /* MMIO is mapped through kfd device 1334 * Generate a kfd mmap offse [all...] |
| /src/usr.sbin/mdsetimage/ |
| bin_nlist.c | 45 int kfd; member in struct:bininfo 74 bin_open(int kfd, const char *kfile, const char *bfdname) 82 bin->kfd = kfd; 122 if (__fdnlist(bin->kfd, nl) != 0)
|
| mdsetimage.c | 75 int ch, kfd, fsfd, rv; local 126 if ((kfd = open(kfile, O_RDONLY, 0)) == -1) 129 if ((kfd = open(kfile, O_RDWR, 0)) == -1) 133 if (fstat(kfd, &ksb) == -1) 139 MAP_FILE | MAP_PRIVATE, kfd, 0)) == (caddr_t)-1) 144 bin = bin_open(kfd, kfile, bfdname); 181 if (lseek(kfd, md_root_image_offset, SEEK_SET) != 192 rfd = kfd; 199 wfd = kfd; 226 if (lseek(kfd, md_root_size_offset, SEEK_SET) ! [all...] |
| /src/external/bsd/ipf/dist/ipsend/ |
| lsock.c | 75 static int kfd = -1; local 77 if (kfd == -1) 78 kfd = open(KMEM, O_RDONLY); 80 if (lseek(kfd, (off_t)pos, SEEK_SET) == -1) 85 if (read(kfd, buf, n) == -1)
|
| sock.c | 123 static int kfd = -1; local 126 if (kfd == -1) 127 kfd = open(KMEM, O_RDONLY); 129 if (lseek(kfd, offset, SEEK_SET) == -1) 134 if (read(kfd, buf, n) == -1)
|
| /src/external/gpl3/binutils/usr.sbin/dbsym/ |
| dbsym.c | 84 int ch, kfd; local 120 if ((kfd = open(kfile, O_RDWR, 0)) == -1) 124 if ((abfd = bfd_fdopenr(kfile, bfdname, kfd)) == NULL) { 141 if (load_symtab(abfd, kfd, &symtab, &symtabsize) != 0) 146 if (fstat(kfd, &ksb) == -1) 152 MAP_FILE | MAP_SHARED, kfd, 0)) == (caddr_t)-1) 190 close(kfd);
|
| /src/external/gpl3/binutils.old/usr.sbin/dbsym/ |
| dbsym.c | 84 int ch, kfd; local 120 if ((kfd = open(kfile, O_RDWR, 0)) == -1) 124 if ((abfd = bfd_fdopenr(kfile, bfdname, kfd)) == NULL) { 141 if (load_symtab(abfd, kfd, &symtab, &symtabsize) != 0) 146 if (fstat(kfd, &ksb) == -1) 152 MAP_FILE | MAP_SHARED, kfd, 0)) == (caddr_t)-1) 190 close(kfd);
|
| /src/external/bsd/wpa/dist/src/utils/ |
| eloop.c | 1345 int kfd; local 1348 kfd = kqueue(); 1349 if (kfd == -1) 1352 kevent(kfd, &ke1, 1, &ke2, 1, NULL); 1353 close(kfd);
|
| /src/usr.bin/config/ |
| main.c | 1824 int found, kfd; local 1831 kfd = open(conffile, O_RDONLY); 1832 if (kfd == -1) 1834 if (fstat(kfd, &st) == -1) 1837 kfd, 0); 1871 (void)close(kfd);
|
| /src/sys/external/bsd/drm2/dist/drm/amd/amdgpu/ |
| amdgpu.h | 927 /* KFD */ 928 struct amdgpu_kfd_dev kfd; member in struct:amdgpu_device
|