Lines Matching refs:shim_fd
348 struct shim_fd *shim_fd = drm_shim_fd_lookup(fd); in __fxstat() local
350 if (!shim_fd) in __fxstat()
364 struct shim_fd *shim_fd = drm_shim_fd_lookup(fd); in __fxstat64() local
366 if (!shim_fd) in __fxstat64()
530 struct shim_fd *shim_fd = drm_shim_fd_lookup(fd); in ioctl() local
531 if (!shim_fd) in ioctl()
543 struct shim_fd *shim_fd = drm_shim_fd_lookup(fd); in fcntl() local
552 if (shim_fd && (cmd == F_DUPFD || cmd == F_DUPFD_CLOEXEC)) in fcntl()
553 drm_shim_fd_register(ret, shim_fd); in fcntl()
570 struct shim_fd *shim_fd = drm_shim_fd_lookup(fd); in dup() local
571 if (shim_fd && ret >= 0) in dup()
572 drm_shim_fd_register(ret, shim_fd); in dup()
582 struct shim_fd *shim_fd = drm_shim_fd_lookup(fd); in mmap() local
583 if (shim_fd) in mmap()
584 return drm_shim_mmap(shim_fd, length, prot, flags, fd, offset); in mmap()