| /trueos/sys/ofed/include/linux/ |
| HD | linux_compat.c | 229 struct linux_file *filp; in linux_file_dtor() local 231 filp = cdp; in linux_file_dtor() 232 filp->f_op->release(filp->f_vnode, filp); in linux_file_dtor() 233 vdrop(filp->f_vnode); in linux_file_dtor() 234 kfree(filp); in linux_file_dtor() 241 struct linux_file *filp; in linux_dev_open() local 249 filp = kzalloc(sizeof(*filp), GFP_KERNEL); in linux_dev_open() 250 filp->f_dentry = &filp->f_dentry_store; in linux_dev_open() 251 filp->f_op = ldev->ops; in linux_dev_open() 252 filp->f_flags = file->f_flag; in linux_dev_open() [all …]
|
| HD | file.h | 59 fput(struct linux_file *filp) in fput() argument 61 if (filp->_file == NULL) { in fput() 62 kfree(filp); in fput() 65 if (refcount_release(&filp->_file->f_count)) { in fput() 66 _fdrop(filp->_file, curthread); in fput() 67 kfree(filp); in fput() 92 fd_install(unsigned int fd, struct linux_file *filp) in fd_install() argument 100 filp->_file = file; in fd_install() 101 finit(file, filp->f_mode, DTYPE_DEV, filp, &linuxfileops); in fd_install() 104 fput(filp); in fd_install() [all …]
|
| HD | poll.h | 40 poll_wait(struct file *filp, wait_queue_head_t *wait_address, poll_table *p) in poll_wait() argument 42 selrecord(curthread, &filp->f_selinfo); in poll_wait()
|
| HD | fs.h | 85 #define fasync_helper(fd, filp, on, queue) \ argument 88 *(queue) = &(filp)->f_sigio; \ 176 nonseekable_open(struct inode *inode, struct file *filp) in nonseekable_open() argument
|
| /trueos/sys/ofed/drivers/infiniband/core/ |
| HD | uverbs_main.c | 301 static ssize_t ib_uverbs_event_read(struct file *filp, char __user *buf, in ib_uverbs_event_read() argument 304 struct ib_uverbs_event_file *file = filp->private_data; in ib_uverbs_event_read() 314 if (filp->f_flags & O_NONBLOCK) in ib_uverbs_event_read() 356 static unsigned int ib_uverbs_event_poll(struct file *filp, in ib_uverbs_event_poll() argument 360 struct ib_uverbs_event_file *file = filp->private_data; in ib_uverbs_event_poll() 362 file->filp = filp; in ib_uverbs_event_poll() 363 poll_wait(filp, &file->poll_wait, wait); in ib_uverbs_event_poll() 373 static int ib_uverbs_event_fasync(int fd, struct file *filp, int on) in ib_uverbs_event_fasync() argument 375 struct ib_uverbs_event_file *file = filp->private_data; in ib_uverbs_event_fasync() 377 return fasync_helper(fd, filp, on, &file->async_queue); in ib_uverbs_event_fasync() [all …]
|
| HD | user_mad.c | 113 struct file *filp; member 177 selwakeup(&file->filp->f_selinfo); in queue_packet() 332 static ssize_t ib_umad_read(struct file *filp, char __user *buf, in ib_umad_read() argument 335 struct ib_umad_file *file = filp->private_data; in ib_umad_read() 347 if (filp->f_flags & O_NONBLOCK) in ib_umad_read() 445 static ssize_t ib_umad_write(struct file *filp, const char __user *buf, in ib_umad_write() argument 448 struct ib_umad_file *file = filp->private_data; in ib_umad_write() 594 static unsigned int ib_umad_poll(struct file *filp, struct poll_table_struct *wait) in ib_umad_poll() argument 596 struct ib_umad_file *file = filp->private_data; in ib_umad_poll() 601 poll_wait(filp, &file->recv_wait, wait); in ib_umad_poll() [all …]
|
| HD | ucma.c | 57 struct file *filp; member 287 if (ctx->file->filp) in ucma_event_handler() 288 selwakeup(&ctx->file->filp->f_selinfo); in ucma_event_handler() 313 if (file->filp->f_flags & O_NONBLOCK) in ucma_get_event() 1124 struct file *filp; in ucma_migrate_id() local 1132 filp = fget(cmd.fd); in ucma_migrate_id() 1133 if (!filp) in ucma_migrate_id() 1137 ctx = ucma_get_ctx(filp->private_data, cmd.id); in ucma_migrate_id() 1171 fput(filp); in ucma_migrate_id() 1199 static ssize_t ucma_write(struct file *filp, const char __user *buf, in ucma_write() argument [all …]
|
| HD | ucm.c | 65 struct file *filp; member 379 if (ctx->file->filp) in ib_ucm_event_handler() 380 selwakeup(&ctx->file->filp->f_selinfo); in ib_ucm_event_handler() 411 if (file->filp->f_flags & O_NONBLOCK) in ib_ucm_event() 1113 static ssize_t ib_ucm_write(struct file *filp, const char __user *buf, in ib_ucm_write() argument 1116 struct ib_ucm_file *file = filp->private_data; in ib_ucm_write() 1140 static unsigned int ib_ucm_poll(struct file *filp, in ib_ucm_poll() argument 1143 struct ib_ucm_file *file = filp->private_data; in ib_ucm_poll() 1146 poll_wait(filp, &file->poll_wait, wait); in ib_ucm_poll() 1162 static int ib_ucm_open(struct inode *inode, struct file *filp) in ib_ucm_open() argument [all …]
|
| HD | uverbs_cmd.c | 282 struct file *filp; in ib_uverbs_get_context() local 321 filp = ib_uverbs_alloc_event_file(file, 1, &resp.async_fd); in ib_uverbs_get_context() 322 if (IS_ERR(filp)) { in ib_uverbs_get_context() 323 ret = PTR_ERR(filp); in ib_uverbs_get_context() 333 file->async_file = filp->private_data; in ib_uverbs_get_context() 345 fd_install(resp.async_fd, filp); in ib_uverbs_get_context() 353 fput(filp); in ib_uverbs_get_context() 735 struct file *filp; in ib_uverbs_create_comp_channel() local 743 filp = ib_uverbs_alloc_event_file(file, 0, &resp.fd); in ib_uverbs_create_comp_channel() 744 if (IS_ERR(filp)) in ib_uverbs_create_comp_channel() [all …]
|
| HD | uverbs.h | 82 struct file *filp; member
|
| /trueos/sys/dev/drm2/radeon/ |
| HD | radeon_gem.c | 219 struct drm_file *filp) in radeon_gem_info_ioctl() argument 240 struct drm_file *filp) in radeon_gem_pread_ioctl() argument 248 struct drm_file *filp) in radeon_gem_pwrite_ioctl() argument 256 struct drm_file *filp) in radeon_gem_create_ioctl() argument 277 r = drm_gem_handle_create(filp, gobj, &handle); in radeon_gem_create_ioctl() 291 struct drm_file *filp) in radeon_gem_set_domain_ioctl() argument 306 gobj = drm_gem_object_lookup(dev, filp, args->handle); in radeon_gem_set_domain_ioctl() 321 int radeon_mode_dumb_mmap(struct drm_file *filp, in radeon_mode_dumb_mmap() argument 328 gobj = drm_gem_object_lookup(dev, filp, handle); in radeon_mode_dumb_mmap() 339 struct drm_file *filp) in radeon_gem_mmap_ioctl() argument [all …]
|
| HD | r600_cp.h | 11 int r600_cs_legacy(struct drm_device *dev, void *data, struct drm_file *filp,
|
| HD | radeon.h | 435 int radeon_mode_dumb_mmap(struct drm_file *filp, 851 struct drm_file *filp; member 1471 struct drm_file *filp); 1473 struct drm_file *filp); 1483 struct drm_file *filp); 1485 struct drm_file *filp); 1487 struct drm_file *filp); 1489 struct drm_file *filp); 1491 struct drm_file *filp); 1492 int radeon_cs_ioctl(struct drm_device *dev, void *data, struct drm_file *filp); [all …]
|
| HD | radeon_cs.c | 77 p->filp, in radeon_cs_parser_relocs() 421 struct radeon_fpriv *fpriv = parser->filp->driver_priv; in radeon_cs_ib_vm_chunk() 520 int radeon_cs_ioctl(struct drm_device *dev, void *data, struct drm_file *filp) in radeon_cs_ioctl() argument 533 parser.filp = filp; in radeon_cs_ioctl()
|
| HD | r300.c | 735 p->rdev->cmask_filp != p->filp) { in r300_packet0_check() 1069 if (p->rdev->hyperz_filp != p->filp) { in r300_packet0_check() 1079 if (p->rdev->hyperz_filp != p->filp) { in r300_packet0_check() 1117 if (idx_value && (p->rdev->hyperz_filp != p->filp)) in r300_packet0_check() 1121 if (idx_value && (p->rdev->hyperz_filp != p->filp)) in r300_packet0_check() 1235 if (p->rdev->hyperz_filp != p->filp) in r300_packet3_check() 1239 if (p->rdev->cmask_filp != p->filp) in r300_packet3_check()
|
| HD | radeon_drv.c | 89 int radeon_mmap(struct file *filp, struct vm_area_struct *vma); 91 int radeon_mode_dumb_mmap(struct drm_file *filp,
|
| HD | radeon_kms.c | 183 static int radeon_info_ioctl(struct drm_device *dev, void *data, struct drm_file *filp) in radeon_info_ioctl() argument 282 radeon_set_filp_rights(dev, &rdev->hyperz_filp, filp, &value); in radeon_info_ioctl() 290 radeon_set_filp_rights(dev, &rdev->cmask_filp, filp, &value); in radeon_info_ioctl()
|
| HD | radeon_ttm.c | 820 int radeon_mmap(struct file *filp, struct vm_area_struct *vma) in radeon_mmap() argument 827 return drm_mmap(filp, vma); in radeon_mmap() 830 file_priv = filp->private_data; in radeon_mmap() 835 r = ttm_bo_mmap(filp, vma, &rdev->mman.bdev); in radeon_mmap()
|
| /trueos/sys/dev/drm2/ |
| HD | drm_gem.c | 172 drm_gem_remove_prime_handles(struct drm_gem_object *obj, struct drm_file *filp) in drm_gem_remove_prime_handles() argument 175 drm_prime_remove_buf_handle(&filp->prime, in drm_gem_remove_prime_handles() 179 drm_prime_remove_buf_handle(&filp->prime, in drm_gem_remove_prime_handles() 189 drm_gem_handle_delete(struct drm_file *filp, u32 handle) in drm_gem_handle_delete() argument 194 obj = drm_gem_names_remove(&filp->object_names, handle); in drm_gem_handle_delete() 201 drm_gem_remove_prime_handles(obj, filp); in drm_gem_handle_delete() 205 dev->driver->gem_close_object(obj, filp); in drm_gem_handle_delete() 285 drm_gem_object_lookup(struct drm_device *dev, struct drm_file *filp, in drm_gem_object_lookup() argument 290 obj = drm_gem_name_ref(&filp->object_names, handle, in drm_gem_object_lookup()
|
| HD | drmP.h | 1288 struct drm_file *filp); 1298 struct drm_file *filp); 1481 int drm_gem_handle_delete(struct drm_file *filp, u32 handle); 1532 struct drm_file *filp,
|
| /trueos/sys/ofed/drivers/infiniband/debug/ |
| HD | memtrack.c | 367 static ssize_t memtrack_read(struct file *filp, in memtrack_read() argument 383 fname= filp->f_dentry->d_name.name; in memtrack_read()
|
| /trueos/sys/dev/drm2/ttm/ |
| HD | ttm_bo_vm.c | 409 ssize_t ttm_bo_io(struct ttm_bo_device *bdev, struct file *filp, 442 ret = driver->verify_access(bo, filp);
|
| HD | ttm_bo_api.h | 720 extern ssize_t ttm_bo_io(struct ttm_bo_device *bdev, struct file *filp,
|
| /trueos/sys/i386/include/ |
| HD | cserial.h | 505 int (*select) (chan_t *h, int type, void *st, struct file *filp);
|
| /trueos/sys/dev/drm/ |
| HD | r128_drv.h | 169 extern long r128_compat_ioctl(struct file *filp, unsigned int cmd,
|