/openbmc/linux/include/media/ |
H A D | v4l2-ioctl.h | 300 int (*vidioc_querycap)(struct file *file, void *fh, 304 int (*vidioc_enum_fmt_vid_cap)(struct file *file, void *fh, 306 int (*vidioc_enum_fmt_vid_overlay)(struct file *file, void *fh, 308 int (*vidioc_enum_fmt_vid_out)(struct file *file, void *fh, 310 int (*vidioc_enum_fmt_sdr_cap)(struct file *file, void *fh, 312 int (*vidioc_enum_fmt_sdr_out)(struct file *file, void *fh, 314 int (*vidioc_enum_fmt_meta_cap)(struct file *file, void *fh, 316 int (*vidioc_enum_fmt_meta_out)(struct file *file, void *fh, 320 int (*vidioc_g_fmt_vid_cap)(struct file *file, void *fh, 322 int (*vidioc_g_fmt_vid_overlay)(struct file *file, void *fh, [all …]
|
H A D | videobuf2-v4l2.h | 293 __poll_t vb2_poll(struct vb2_queue *q, struct file *file, poll_table *wait); 317 static inline bool vb2_queue_is_busy(struct vb2_queue *q, struct file *file) in vb2_queue_is_busy() argument 319 return q->owner && q->owner != file->private_data; in vb2_queue_is_busy() 324 int vb2_ioctl_reqbufs(struct file *file, void *priv, 326 int vb2_ioctl_create_bufs(struct file *file, void *priv, 328 int vb2_ioctl_prepare_buf(struct file *file, void *priv, 330 int vb2_ioctl_querybuf(struct file *file, void *priv, struct v4l2_buffer *p); 331 int vb2_ioctl_qbuf(struct file *file, void *priv, struct v4l2_buffer *p); 332 int vb2_ioctl_dqbuf(struct file *file, void *priv, struct v4l2_buffer *p); 333 int vb2_ioctl_streamon(struct file *file, void *priv, enum v4l2_buf_type i); [all …]
|
H A D | v4l2-mem2mem.h | 336 int v4l2_m2m_reqbufs(struct file *file, struct v4l2_m2m_ctx *m2m_ctx, 348 int v4l2_m2m_querybuf(struct file *file, struct v4l2_m2m_ctx *m2m_ctx, 359 int v4l2_m2m_qbuf(struct file *file, struct v4l2_m2m_ctx *m2m_ctx, 370 int v4l2_m2m_dqbuf(struct file *file, struct v4l2_m2m_ctx *m2m_ctx, 381 int v4l2_m2m_prepare_buf(struct file *file, struct v4l2_m2m_ctx *m2m_ctx, 392 int v4l2_m2m_create_bufs(struct file *file, struct v4l2_m2m_ctx *m2m_ctx, 403 int v4l2_m2m_expbuf(struct file *file, struct v4l2_m2m_ctx *m2m_ctx, 413 int v4l2_m2m_streamon(struct file *file, struct v4l2_m2m_ctx *m2m_ctx, 423 int v4l2_m2m_streamoff(struct file *file, struct v4l2_m2m_ctx *m2m_ctx, 453 int v4l2_m2m_encoder_cmd(struct file *file, struct v4l2_m2m_ctx *m2m_ctx, [all …]
|
/openbmc/linux/drivers/media/test-drivers/vivid/ |
H A D | vivid-vid-cap.h | 20 int vivid_g_fmt_vid_cap(struct file *file, void *priv, struct v4l2_format *f); 21 int vivid_try_fmt_vid_cap(struct file *file, void *priv, struct v4l2_format *f); 22 int vivid_s_fmt_vid_cap(struct file *file, void *priv, struct v4l2_format *f); 23 int vidioc_g_fmt_vid_cap_mplane(struct file *file, void *priv, struct v4l2_format *f); 24 int vidioc_try_fmt_vid_cap_mplane(struct file *file, void *priv, struct v4l2_format *f); 25 int vidioc_s_fmt_vid_cap_mplane(struct file *file, void *priv, struct v4l2_format *f); 26 int vidioc_g_fmt_vid_cap(struct file *file, void *priv, struct v4l2_format *f); 27 int vidioc_try_fmt_vid_cap(struct file *file, void *priv, struct v4l2_format *f); 28 int vidioc_s_fmt_vid_cap(struct file *file, void *priv, struct v4l2_format *f); 29 int vivid_vid_cap_g_selection(struct file *file, void *priv, struct v4l2_selection *sel); [all …]
|
H A D | vivid-vid-out.h | 15 int vivid_g_fmt_vid_out(struct file *file, void *priv, struct v4l2_format *f); 16 int vivid_try_fmt_vid_out(struct file *file, void *priv, struct v4l2_format *f); 17 int vivid_s_fmt_vid_out(struct file *file, void *priv, struct v4l2_format *f); 18 int vidioc_g_fmt_vid_out_mplane(struct file *file, void *priv, struct v4l2_format *f); 19 int vidioc_try_fmt_vid_out_mplane(struct file *file, void *priv, struct v4l2_format *f); 20 int vidioc_s_fmt_vid_out_mplane(struct file *file, void *priv, struct v4l2_format *f); 21 int vidioc_g_fmt_vid_out(struct file *file, void *priv, struct v4l2_format *f); 22 int vidioc_try_fmt_vid_out(struct file *file, void *priv, struct v4l2_format *f); 23 int vidioc_s_fmt_vid_out(struct file *file, void *priv, struct v4l2_format *f); 24 int vivid_vid_out_g_selection(struct file *file, void *priv, struct v4l2_selection *sel); [all …]
|
/openbmc/linux/tools/testing/selftests/efivarfs/ |
H A D | efivarfs.sh | 56 local file=$efivarfs_mount/$FUNCNAME-$test_guid 58 printf "$attrs\x00" > $file 60 if [ ! -e $file ]; then 61 echo "$file couldn't be created" >&2 65 if [ $(stat -c %s $file) -ne 5 ]; then 66 echo "$file has invalid size" >&2 67 file_cleanup $file 70 file_cleanup $file 75 local file=$efivarfs_mount/$FUNCNAME-$test_guid 77 : > $file [all …]
|
/openbmc/openbmc/poky/meta/recipes-core/busybox/ |
H A D | busybox_1.37.0.bb | 4 file://0001-depmod-Ignore-.debug-directories.patch \ 5 file://find-touchscreen.sh \ 6 file://busybox-cron \ 7 file://busybox-httpd \ 8 file://busybox-udhcpd \ 9 file://default.script \ 10 file://simple.script \ 11 file://hwclock.sh \ 12 file://syslog \ 13 file://syslog-startup.conf \ [all …]
|
/openbmc/phosphor-power/phosphor-regulators/test/ |
H A D | ffdc_file_tests.cpp | 49 FFDCFile file{FFDCFormat::JSON}; in TEST() local 50 EXPECT_NE(file.getFileDescriptor(), -1); in TEST() 51 EXPECT_TRUE(isValid(file.getFileDescriptor())); in TEST() 52 EXPECT_EQ(file.getFormat(), FFDCFormat::JSON); in TEST() 53 EXPECT_FALSE(file.getPath().empty()); in TEST() 54 EXPECT_TRUE(fs::exists(file.getPath())); in TEST() 55 EXPECT_EQ(file.getSubType(), 0); in TEST() 56 EXPECT_EQ(file.getVersion(), 0); in TEST() 61 FFDCFile file{FFDCFormat::Custom, 2, 3}; in TEST() local 62 EXPECT_NE(file.getFileDescriptor(), -1); in TEST() [all …]
|
/openbmc/linux/fs/overlayfs/ |
H A D | file.c | 39 static struct file *ovl_open_realfile(const struct file *file, in ovl_open_realfile() argument 43 struct inode *inode = file_inode(file); in ovl_open_realfile() 45 struct file *realfile; in ovl_open_realfile() 47 int flags = file->f_flags | OVL_OPEN_FLAGS; in ovl_open_realfile() 63 realfile = backing_file_open(&file->f_path, flags, realpath, in ovl_open_realfile() 69 file, file, ovl_whatisit(inode, realinode), file->f_flags, in ovl_open_realfile() 77 static int ovl_change_flags(struct file *file, unsigned int flags) in ovl_change_flags() argument 79 struct inode *inode = file_inode(file); in ovl_change_flags() 84 if (((flags ^ file->f_flags) & O_APPEND) && IS_APPEND(inode)) in ovl_change_flags() 87 if ((flags & O_DIRECT) && !(file->f_mode & FMODE_CAN_ODIRECT)) in ovl_change_flags() [all …]
|
/openbmc/linux/fs/lockd/ |
H A D | svcsubs.c | 46 static inline void nlm_debug_print_file(char *msg, struct nlm_file *file) in nlm_debug_print_file() argument 48 struct inode *inode = nlmsvc_file_inode(file); in nlm_debug_print_file() 59 static inline void nlm_debug_print_file(char *msg, struct nlm_file *file) in nlm_debug_print_file() argument 87 struct nlm_file *file, int mode) in nlm_do_fopen() argument 89 struct file **fp = &file->f_file[mode]; in nlm_do_fopen() 94 nfserr = nlmsvc_ops->fopen(rqstp, &file->f_handle, fp, mode); in nlm_do_fopen() 108 struct nlm_file *file; in nlm_lookup_file() local 121 hlist_for_each_entry(file, &nlm_files[hash], f_list) in nlm_lookup_file() 122 if (!nfs_compare_fh(&file->f_handle, &lock->fh)) { in nlm_lookup_file() 123 mutex_lock(&file->f_mutex); in nlm_lookup_file() [all …]
|
/openbmc/linux/fs/ |
H A D | file_table.c | 49 struct file file; member 53 static inline struct backing_file *backing_file(struct file *f) in backing_file() 55 return container_of(f, struct backing_file, file); in backing_file() 58 struct path *backing_file_real_path(struct file *f) in backing_file_real_path() 66 struct file *f = container_of(head, struct file, f_rcuhead); in file_free_rcu() 75 static inline void file_free(struct file *f) in file_free() 156 static int init_file(struct file *f, int flags, const struct cred *cred) in init_file() 188 struct file *alloc_empty_file(int flags, const struct cred *cred) in alloc_empty_file() 191 struct file *f; in alloc_empty_file() 235 struct file *alloc_empty_file_noaccount(int flags, const struct cred *cred) in alloc_empty_file_noaccount() [all …]
|
H A D | read_write.c | 37 static inline bool unsigned_offsets(struct file *file) in unsigned_offsets() argument 39 return file->f_mode & FMODE_UNSIGNED_OFFSET; in unsigned_offsets() 54 loff_t vfs_setpos(struct file *file, loff_t offset, loff_t maxsize) in vfs_setpos() argument 56 if (offset < 0 && !unsigned_offsets(file)) in vfs_setpos() 61 if (offset != file->f_pos) { in vfs_setpos() 62 file->f_pos = offset; in vfs_setpos() 63 file->f_version = 0; in vfs_setpos() 86 generic_file_llseek_size(struct file *file, loff_t offset, int whence, in generic_file_llseek_size() argument 101 return file->f_pos; in generic_file_llseek_size() 107 spin_lock(&file->f_lock); in generic_file_llseek_size() [all …]
|
H A D | file.c | 79 cpy = ofdt->max_fds * sizeof(struct file *); in copy_fdtable() 80 set = (nfdt->max_fds - ofdt->max_fds) * sizeof(struct file *); in copy_fdtable() 114 nr /= (1024 / sizeof(struct file *)); in alloc_fdtable() 116 nr *= (1024 / sizeof(struct file *)); in alloc_fdtable() 133 data = kvmalloc_array(nr, sizeof(struct file *), GFP_KERNEL_ACCOUNT); in alloc_fdtable() 302 struct file **old_fds, **new_fds; in dup_fd() 366 struct file *f = *old_fds++; in dup_fd() 383 memset(new_fds, 0, (new_fdt->max_fds - open_files) * sizeof(struct file *)); in dup_fd() 412 struct file * file = xchg(&fdt->fd[i], NULL); in close_files() local 413 if (file) { in close_files() [all …]
|
/openbmc/qemu/tests/qemu-iotests/ |
H A D | 051 | 41 _supported_proto file 85 run_qemu -drive file="$TEST_IMG",format=qcow2,unknown_opt=,if=none,id=$device_id 86 run_qemu -drive file="$TEST_IMG",format=qcow2,unknown_opt=on,if=none,id=$device_id 87 run_qemu -drive file="$TEST_IMG",format=qcow2,unknown_opt=1234,if=none,id=$device_id 88 run_qemu -drive file="$TEST_IMG",format=qcow2,unknown_opt=foo,if=none,id=$device_id 94 run_qemu -drive file="$TEST_IMG",format=qcow2,file.unknown_opt= 95 run_qemu -drive file="$TEST_IMG",format=qcow2,file.unknown_opt=on 96 run_qemu -drive file="$TEST_IMG",format=qcow2,file.unknown_opt=1234 97 run_qemu -drive file="$TEST_IMG",format=qcow2,file.unknown_opt=foo 103 run_qemu -drive file="$TEST_IMG",format=foo [all …]
|
H A D | 267 | 42 _supported_proto file 95 run_test -drive driver=file,file="$TEST_IMG",if=none 96 run_test -drive driver=$IMGFMT,file="$TEST_IMG",if=none 97 run_test -drive driver=$IMGFMT,file="$TEST_IMG",if=none -device virtio-blk,drive=none0 103 run_test -drive driver=file,file="$TEST_IMG",if=virtio 104 run_test -drive driver=$IMGFMT,file="$TEST_IMG",if=virtio 110 run_test -blockdev driver=file,filename="$TEST_IMG",node-name=file 111 run_test -blockdev driver=file,filename="$TEST_IMG",node-name=file \ 112 -blockdev driver=$IMGFMT,file=file,node-name=fmt 113 run_test -blockdev driver=file,filename="$TEST_IMG",node-name=file \ [all …]
|
H A D | 232 | 44 _supported_proto file 90 run_qemu_info_block -drive driver=file,file="$TEST_IMG",if=none,read-only=on,auto-read-only=off 91 run_qemu_info_block -drive driver=file,file="$TEST_IMG",if=none,read-only=on,auto-read-only=on 92 run_qemu_info_block -drive driver=file,file="$TEST_IMG",if=none,read-only=on 94 run_qemu_info_block -drive driver=file,file="$TEST_IMG",if=none,read-only=off,auto-read-only=off 95 run_qemu_info_block -drive driver=file,file="$TEST_IMG",if=none,read-only=off,auto-read-only=on 96 run_qemu_info_block -drive driver=file,file="$TEST_IMG",if=none,read-only=off 98 run_qemu_info_block -drive driver=file,file="$TEST_IMG",if=none,auto-read-only=off 99 run_qemu_info_block -drive driver=file,file="$TEST_IMG",if=none,auto-read-only=on 100 run_qemu_info_block -drive driver=file,file="$TEST_IMG",if=none [all …]
|
H A D | 051.out | 7 Testing: -drive file=TEST_DIR/t.qcow2,format=qcow2,unknown_opt=,if=none,id=drive0 8 QEMU_PROG: -drive file=TEST_DIR/t.qcow2,format=qcow2,unknown_opt=,if=none,id=drive0: Block format '… 10 Testing: -drive file=TEST_DIR/t.qcow2,format=qcow2,unknown_opt=on,if=none,id=drive0 11 QEMU_PROG: -drive file=TEST_DIR/t.qcow2,format=qcow2,unknown_opt=on,if=none,id=drive0: Block format… 13 Testing: -drive file=TEST_DIR/t.qcow2,format=qcow2,unknown_opt=1234,if=none,id=drive0 14 QEMU_PROG: -drive file=TEST_DIR/t.qcow2,format=qcow2,unknown_opt=1234,if=none,id=drive0: Block form… 16 Testing: -drive file=TEST_DIR/t.qcow2,format=qcow2,unknown_opt=foo,if=none,id=drive0 17 QEMU_PROG: -drive file=TEST_DIR/t.qcow2,format=qcow2,unknown_opt=foo,if=none,id=drive0: Block forma… 22 Testing: -drive file=TEST_DIR/t.qcow2,format=qcow2,file.unknown_opt= 23 QEMU_PROG: -drive file=TEST_DIR/t.qcow2,format=qcow2,file.unknown_opt=: Block protocol 'file' doesn… [all …]
|
/openbmc/linux/include/linux/ |
H A D | file.h | 15 struct file; 17 extern void fput(struct file *); 25 extern struct file *alloc_file_pseudo(struct inode *, struct vfsmount *, 27 extern struct file *alloc_file_clone(struct file *, int flags, 30 static inline void fput_light(struct file *file, int fput_needed) in fput_light() argument 33 fput(file); in fput_light() 37 struct file *file; member 46 fput(fd.file); in fdput() 49 extern struct file *fget(unsigned int fd); 50 extern struct file *fget_raw(unsigned int fd); [all …]
|
/openbmc/openbmc/meta-arm/meta-arm-systemready/recipes-test/arm-systemready-linux-distros/ |
H A D | arm-systemready-linux-distros-fedora.bb | 21 file://${COMMON_LICENSE_DIR}/GPL-1.0-only;md5=e9e36a9de734199567a4d769498f743d \ 22 file://${COMMON_LICENSE_DIR}/GPL-1.0-or-later;md5=30c0b8a5048cc2f4be5ff15ef0d8cf61 \ 23 file://${COMMON_LICENSE_DIR}/GPL-2.0-only;md5=801f80980d171dd6425610833a22dbe6 \ 24 file://${COMMON_LICENSE_DIR}/GPL-2.0-or-later;md5=fed54355545ffd980b814dab4a3b312c \ 25 file://${COMMON_LICENSE_DIR}/GPL-2.0-with-font-exception;md5=bf93e21a513f6f923474e62fb920434d \ 26 file://${COMMON_LICENSE_DIR}/GPL-2.0-with-GCC-exception;md5=14c42911132e8c9008911385aede6449 \ 27 file://${COMMON_LICENSE_DIR}/GPL-3.0-only;md5=c79ff39f19dfec6d293b95dea7b07891 \ 28 file://${COMMON_LICENSE_DIR}/GPL-3.0-or-later;md5=1c76c4cc354acaac30ed4d5eefea7245 \ 29 file://${COMMON_LICENSE_DIR}/GPL-3-with-bison-exception;md5=6e1bac3dc21fcc4fa049cf5c407eb7a2 \ 30 file://${COMMON_LICENSE_DIR}/LGPL-2.0-only;md5=9427b8ccf5cf3df47c29110424c9641a \ [all …]
|
H A D | arm-systemready-linux-distros-debian.bb | 22 file://${COMMON_LICENSE_DIR}/AFL-2.0;md5=f01c02e5eac69cff6b8c2cc474b8d468 \ 23 file://${COMMON_LICENSE_DIR}/AFL-2.1;md5=e40039b90e182a056bcd9ad3e47ddd71 \ 24 file://${COMMON_LICENSE_DIR}/GPL-1.0-only;md5=e9e36a9de734199567a4d769498f743d \ 25 file://${COMMON_LICENSE_DIR}/GPL-1.0-or-later;md5=30c0b8a5048cc2f4be5ff15ef0d8cf61 \ 26 file://${COMMON_LICENSE_DIR}/GPL-2.0-only;md5=801f80980d171dd6425610833a22dbe6 \ 27 file://${COMMON_LICENSE_DIR}/GPL-2.0-or-later;md5=fed54355545ffd980b814dab4a3b312c \ 28 file://${COMMON_LICENSE_DIR}/GPL-2.0-with-autoconf-exception;md5=966c02a95037a9c7ad75a7597aea9c5f \ 29 file://${COMMON_LICENSE_DIR}/GPL-2.0-with-OpenSSL-exception;md5=d9e4412f125e3e6f14efba8ce7b4604f \ 30 file://${COMMON_LICENSE_DIR}/GPL-3.0-only;md5=c79ff39f19dfec6d293b95dea7b07891 \ 31 file://${COMMON_LICENSE_DIR}/GPL-3.0-or-later;md5=1c76c4cc354acaac30ed4d5eefea7245 \ [all …]
|
H A D | arm-systemready-linux-distros-opensuse.bb | 16 file://${COMMON_LICENSE_DIR}/AGPL-3.0-only;md5=73f1eb20517c55bf9493b7dd6e480788 \ 17 file://${COMMON_LICENSE_DIR}/Apache-1.1;md5=61cc638ff95ff4f38f243855bcec4317 \ 18 file://${COMMON_LICENSE_DIR}/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10 \ 19 file://${COMMON_LICENSE_DIR}/Artistic-1.0;md5=cda03bbdc3c1951996392b872397b798 \ 20 file://${COMMON_LICENSE_DIR}/Artistic-2.0;md5=8bbc66f0ba93cec26ef526117e280266 \ 21 file://${COMMON_LICENSE_DIR}/BSD-2-Clause-Patent;md5=0518d409dae93098cca8dfa932f3ab1b \ 22 file://${COMMON_LICENSE_DIR}/BSD-2-Clause;md5=cb641bc04cda31daea161b1bc15da69f \ 23 file://${COMMON_LICENSE_DIR}/BSD-3-Clause;md5=550794465ba0ec5312d6919e203a55f9 \ 24 file://${COMMON_LICENSE_DIR}/BSD-4-Clause;md5=624d9e67e8ac41a78f6b6c2c55a83a2b \ 25 file://${COMMON_LICENSE_DIR}/BSL-1.0;md5=65a7df9ad57aacf825fd252c4c33288c \ [all …]
|
/openbmc/linux/tools/testing/selftests/rcutorture/bin/ |
H A D | parse-console.sh | 15 file="$1" 23 if test -f "$file" -a -r "$file" 27 echo $title unreadable console output file: $file 30 if grep -Pq '\x00' < $file 34 cat /dev/null > $file.diags 41 if grep -q FAILURE $file || grep -q -e '-torture.*!!!' $file 43 nerrs=`grep --binary-files=text '!!!' $file | 67 grep --binary-files=text 'torture:.*ver:' $file | 96 if grep -q SUCCESS $file 101 echo " " $file [all …]
|
/openbmc/linux/fs/ecryptfs/ |
H A D | file.c | 37 struct file *file = iocb->ki_filp; in ecryptfs_read_update_atime() local 41 path = ecryptfs_dentry_to_lower_path(file->f_path.dentry); in ecryptfs_read_update_atime() 57 static ssize_t ecryptfs_splice_read_update_atime(struct file *in, loff_t *ppos, in ecryptfs_splice_read_update_atime() 126 static int ecryptfs_readdir(struct file *file, struct dir_context *ctx) in ecryptfs_readdir() argument 129 struct file *lower_file; in ecryptfs_readdir() 130 struct inode *inode = file_inode(file); in ecryptfs_readdir() 136 lower_file = ecryptfs_file_to_lower(file); in ecryptfs_readdir() 188 static int ecryptfs_mmap(struct file *file, struct vm_area_struct *vma) in ecryptfs_mmap() argument 190 struct file *lower_file = ecryptfs_file_to_lower(file); in ecryptfs_mmap() 198 return generic_file_mmap(file, vma); in ecryptfs_mmap() [all …]
|
/openbmc/linux/drivers/gpu/drm/i915/gt/ |
H A D | shmem_utils.c | 16 struct file *shmem_create_from_data(const char *name, void *data, size_t len) in shmem_create_from_data() 18 struct file *file; in shmem_create_from_data() local 21 file = shmem_file_setup(name, PAGE_ALIGN(len), VM_NORESERVE); in shmem_create_from_data() 22 if (IS_ERR(file)) in shmem_create_from_data() 23 return file; in shmem_create_from_data() 25 err = shmem_write(file, 0, data, len); in shmem_create_from_data() 27 fput(file); in shmem_create_from_data() 31 return file; in shmem_create_from_data() 34 struct file *shmem_create_from_object(struct drm_i915_gem_object *obj) in shmem_create_from_object() 37 struct file *file; in shmem_create_from_object() local [all …]
|
/openbmc/phosphor-pid-control/pid/ec/ |
H A D | logging.cpp | 72 static void DumpContextHeader(std::ofstream& file) in DumpContextHeader() argument 74 file << "epoch_ms,input,setpoint,error"; in DumpContextHeader() 75 file << ",proportionalTerm"; in DumpContextHeader() 76 file << ",integralTerm1,integralTerm2"; in DumpContextHeader() 77 file << ",derivativeTerm"; in DumpContextHeader() 78 file << ",feedFwdTerm,output1,output2"; in DumpContextHeader() 79 file << ",minOut,maxOut"; in DumpContextHeader() 80 file << ",integralTerm3,output3"; in DumpContextHeader() 81 file << ",integralTerm,output"; in DumpContextHeader() 82 file << "\n" << std::flush; in DumpContextHeader() [all …]
|