Changeset View
Changeset View
Standalone View
Standalone View
sys/ofed/include/linux/linux_compat.c
| Show First 20 Lines • Show All 584 Lines • ▼ Show 20 Lines | linux_file_stat(struct file *fp, struct stat *sb, struct ucred *active_cred, | ||||
| struct thread *td) | struct thread *td) | ||||
| { | { | ||||
| return (EOPNOTSUPP); | return (EOPNOTSUPP); | ||||
| } | } | ||||
| static int | static int | ||||
| linux_file_fill_kinfo(struct file *fp, struct kinfo_file *kif, | linux_file_fill_kinfo(struct file *fp, struct kinfo_file *kif, | ||||
| struct filedesc *fdp) | struct filedesc *fdp, int lkflags) | ||||
| { | { | ||||
| return (0); | return (0); | ||||
| } | } | ||||
| struct fileops linuxfileops = { | struct fileops linuxfileops = { | ||||
| .fo_read = linux_file_read, | .fo_read = linux_file_read, | ||||
| .fo_write = invfo_rdwr, | .fo_write = invfo_rdwr, | ||||
| ▲ Show 20 Lines • Show All 332 Lines • Show Last 20 Lines | |||||