Searched refs:f_ops (Results 1 – 15 of 15) sorted by relevance
183 struct fileops *f_ops; /* File operations */ member377 return ((*fp->f_ops->fo_close)(fp, td)); in fo_close()384 return ((*fp->f_ops->fo_kqfilter)(fp, kn)); in fo_kqfilter()424 return ((*fp->f_ops->fo_fill_kinfo)(fp, kif, fdp)); in fo_fill_kinfo()433 if (fp->f_ops->fo_mmap == NULL) in fo_mmap()443 return ((*fp->f_ops->fo_aio_queue)(fp, job)); in fo_aio_queue()450 if (fp->f_ops->fo_add_seals == NULL) in fo_add_seals()452 return ((*fp->f_ops->fo_add_seals)(fp, seals)); in fo_add_seals()459 if (fp->f_ops->fo_get_seals == NULL) in fo_get_seals()461 return ((*fp->f_ops->fo_get_seals)(fp, seals)); in fo_get_seals()[all …]
193 if ((fp->f_ops->fo_flags & DFLAG_SEEKABLE) == 0) in zfs_file_seek()
359 fp->f_ops = &badfileops; in procdesc_close()
1148 if (error == ENXIO && fp->f_ops != &badfileops) in kern_openat()1183 if (fp->f_ops == &badfileops) { in kern_openat()1972 error = (fp->f_ops->fo_flags & DFLAG_SEEKABLE) != 0 ? in kern_lseek()4261 if (fp->f_vnode == NULL || fp->f_ops == &badfileops) { in getvnode()4513 KASSERT(fp->f_ops == &badfileops, in kern_fhopen()4684 if ((fp->f_ops->fo_flags & DFLAG_SEEKABLE) == 0) { in kern_posix_fadvise()4816 if (infp->f_ops == &badfileops) { in kern_copy_file_range()4827 if (outfp->f_ops == &badfileops) { in kern_copy_file_range()
329 if (!(fp->f_ops->fo_flags & DFLAG_SEEKABLE)) in kern_preadv()531 if (!(fp->f_ops->fo_flags & DFLAG_SEEKABLE)) in kern_pwritev()849 if ((fp->f_ops->fo_flags & DFLAG_SEEKABLE) == 0) { in kern_posix_fallocate()
2039 fp->f_ops = &badfileops; in _falloc_noinstall()2344 (ofde->fde_file->f_ops->fo_flags & DFLAG_PASSABLE) == 0 || in fdcopy()2414 if ((ofde->fde_file->f_ops->fo_flags & DFLAG_PASSABLE) == 0) { in fdcopy_remapped()2862 atomic_store_rel_ptr((volatile uintptr_t *)&fp->f_ops, (uintptr_t)ops); in finit()3279 if (__predict_false(fp->f_ops == &badfileops)) { in _fget()3344 if (__predict_false(fp->f_ops == &badfileops)) { in fget_mmap()3458 if (fp->f_ops == &badfileops) { in fgetvp_rights()
2183 if (&mqueueops != (*fpp)->f_ops) { in _getmq()2459 if (fp->f_ops == &mqueueops) { in mqueue_fdclose()2489 if (fp != NULL && fp->f_ops == &mqueueops) { in mq_proc_exit()2533 fp->f_ops = &badfileops; in mqf_close()
361 fp->f_ops = &badfileops; in soo_close()
429 if (fp->f_ops == &badfileops) { in vn_open_vnode()431 fp->f_ops = &vnops; in vn_open_vnode()1760 fp->f_ops = &badfileops; in vn_closefile()
374 if (dfp->f_ops == &badfileops) { in namei_setup()
1545 fp->f_ops = &badfileops; in pipe_close()
2094 if (fp->f_ops == &badfileops) { in ttyhook_register()
2269 if (!(fp->f_ops->fo_flags & DFLAG_PASSABLE)) { in unp_internalize()
1696 } else if (fp->f_ops->fo_aio_queue == NULL) in aio_aqueue()
425 if (fp->f_ops == &shm_ops && shm_largepage(fp->f_data)) in kern_mmap_req()