Home
last modified time | relevance | path

Searched refs:file_handle (Results 1 – 24 of 24) sorted by relevance

/openbmc/libpldm/src/oem/ibm/
H A Dfile_io.c10 uint32_t *file_handle, uint32_t *offset, in decode_rw_file_memory_req() argument
13 if (msg == NULL || file_handle == NULL || offset == NULL || in decode_rw_file_memory_req()
25 *file_handle = le32toh(request->file_handle); in decode_rw_file_memory_req()
64 uint32_t file_handle, uint32_t offset, in encode_rw_file_memory_req() argument
84 req->file_handle = htole32(file_handle); in encode_rw_file_memory_req()
240 uint32_t *file_handle, uint32_t *offset, in decode_read_file_req() argument
243 if (msg == NULL || file_handle == NULL || offset == NULL || in decode_read_file_req()
255 *file_handle = le32toh(request->file_handle); in decode_read_file_req()
263 int encode_read_file_req(uint8_t instance_id, uint32_t file_handle, in encode_read_file_req() argument
287 request->file_handle = htole32(file_handle); in encode_read_file_req()
[all …]
/openbmc/libpldm/include/libpldm/oem/ibm/
H A Dfile_io.h108 uint32_t file_handle; //!< A Handle to the file member
137 uint32_t *file_handle, uint32_t *offset,
170 uint32_t file_handle, uint32_t offset,
213 uint32_t file_handle; //!< File Handle member
286 uint32_t file_handle; //!< Handle to file member
306 uint32_t file_handle; //!< Handle to file member
331 uint32_t *file_handle, uint32_t *offset,
344 int encode_read_file_req(uint8_t instance_id, uint32_t file_handle,
392 uint32_t *file_handle, uint32_t *offset,
410 int encode_write_file_req(uint8_t instance_id, uint32_t file_handle,
[all …]
/openbmc/linux/fs/
H A Dfhandle.c18 struct file_handle __user *ufh, in do_sys_name_to_handle()
22 struct file_handle f_handle; in do_sys_name_to_handle()
24 struct file_handle *handle = NULL; in do_sys_name_to_handle()
37 if (copy_from_user(&f_handle, ufh, sizeof(struct file_handle))) in do_sys_name_to_handle()
99 struct file_handle __user *, handle, int __user *, mnt_id, in SYSCALL_DEFINE5()
146 static int do_handle_to_path(int mountdirfd, struct file_handle *handle, in do_handle_to_path()
174 static int handle_to_path(int mountdirfd, struct file_handle __user *ufh, in handle_to_path()
178 struct file_handle f_handle; in handle_to_path()
179 struct file_handle *handle = NULL; in handle_to_path()
190 if (copy_from_user(&f_handle, ufh, sizeof(struct file_handle))) { in handle_to_path()
[all …]
/openbmc/u-boot/lib/efi_loader/
H A Defi_file.c26 struct file_handle { struct
38 #define to_fh(x) container_of(x, struct file_handle, base) argument
42 static char *basename(struct file_handle *fh) in basename()
50 static int set_blk_dev(struct file_handle *fh) in set_blk_dev()
63 static int is_dir(struct file_handle *fh) in is_dir()
151 struct file_handle *parent, u16 *file_name, u64 mode, in file_open()
154 struct file_handle *fh; in file_open()
225 struct file_handle *fh = to_fh(file); in efi_file_open()
268 static efi_status_t file_close(struct file_handle *fh) in file_close()
277 struct file_handle *fh = to_fh(file); in efi_file_close()
[all …]
/openbmc/openbmc/meta-openembedded/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/
H A D0001-wiredtiger-Avoid-using-off64_t.patch19 @@ -533,7 +533,7 @@ __posix_file_sync_nowait(WT_FILE_HANDLE *file_handle, WT_SESSION *wt_session)
20 pfh = (WT_FILE_HANDLE_POSIX *)file_handle;
/openbmc/libpldm/src/oem/meta/
H A Dfile_io.c60 size_t payload_length, uint8_t *file_handle, in decode_oem_meta_file_io_req() argument
67 if (msg == NULL || file_handle == NULL || length == NULL || in decode_oem_meta_file_io_req()
86 *file_handle = request_msg->handle; in decode_oem_meta_file_io_req()
/openbmc/linux/samples/fanotify/
H A Dfs-monitor.c35 static void print_fh(struct file_handle *fh) in print_fh()
99 print_fh((struct file_handle *) &fid->handle); in handle_notifications()
/openbmc/linux/tools/build/feature/
H A Dtest-file-handle.c10 struct file_handle fh; in main()
/openbmc/pldm/pldmtool/oem/ibm/
H A Dpldm_oem_ibm.cpp174 fdata["FileHandle"] = std::to_string(filetableData->file_handle); in printFileAttrTable()
175 startptr += sizeof(filetableData->file_handle); in printFileAttrTable()
/openbmc/pldm/oem/ibm/test/
H A Dlibpldmresponder_fileio_test.cpp626 request->file_handle = fileHandle; in TEST_F()
650 request->file_handle = 2; in TEST_F()
674 request->file_handle = fileHandle; in TEST_F()
738 request->file_handle = fileHandle; in TEST_F()
758 request->file_handle = 2; in TEST_F()
789 request->file_handle = fileHandle; in TEST_F()
827 request->file_handle = 0xFFFFFFFF; in TEST()
915 request->file_handle = 0; in TEST()
958 request->file_handle = 0; in TEST()
/openbmc/libpldm/include/libpldm/oem/meta/
H A Dfile_io.h127 size_t payload_length, uint8_t *file_handle,
/openbmc/linux/tools/testing/selftests/bpf/
H A Dcgroup_helpers.c413 struct file_handle *fhp, *fhp2; in get_cgroup_id()
432 fhsize = sizeof(struct file_handle) + fhp->handle_bytes; in get_cgroup_id()
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/inotify-tools/inotify-tools/
H A D0002-libinotifytools-Bridge-differences-between-musl-glib.patch27 struct file_handle handle;
/openbmc/libpldm/tests/oem/ibm/
H A Dfileio.cpp500 request->file_handle = htole32(fileHandle); in TEST()
536 request->file_handle = htole32(fileHandle); in TEST()
764 ASSERT_EQ(le32toh(request->file_handle), fileHandle); in TEST()
790 ASSERT_EQ(le32toh(request->file_handle), fileHandle); in TEST()
882 request->file_handle = htole32(fileHandle); in TEST()
1133 request->file_handle = htole32(fileHandle); in TEST()
1321 request->file_handle = htole32(fileHandle); in TEST()
1543 request->file_handle = htole32(fileHandle); in TEST()
1903 request->file_handle = htole32(fileHandle); in TEST()
2160 request->file_handle = htole32(fileHandle); in TEST()
/openbmc/linux/fs/notify/
H A Dfdinfo.c45 struct file_handle handle; in show_mark_fhandle()
/openbmc/libpldm/abi/x86_64/
H A Dgcc.dump8015 'name' => 'file_handle',
8090 'name' => 'file_handle',
8164 'name' => 'file_handle',
8239 'name' => 'file_handle',
8314 'name' => 'file_handle',
8366 'name' => 'file_handle',
8430 'name' => 'file_handle',
8495 'name' => 'file_handle',
8555 'name' => 'file_handle',
8607 'name' => 'file_handle',
[all …]
/openbmc/linux/tools/perf/util/
H A Dcgroup.c56 struct file_handle fh; in read_cgroup_id()
H A Dsynthetic-events.c554 struct file_handle fh; in perf_event__synthesize_cgroup()
/openbmc/linux/include/linux/
H A Dsyscalls.h65 struct file_handle;
853 struct file_handle __user *handle,
856 struct file_handle __user *handle,
H A Dcompat.h781 struct file_handle __user *handle,
H A Dfs.h1035 struct file_handle { struct
/openbmc/linux/fs/notify/fanotify/
H A Dfanotify_user.c122 (sizeof(struct fanotify_event_info_fid) + sizeof(struct file_handle))
412 struct file_handle handle = { }; in copy_fid_info_to_user()
/openbmc/qemu/linux-user/
H A Dsyscall.c7863 struct file_handle *target_fh; in do_name_to_handle_at()
7864 struct file_handle *fh; in do_name_to_handle_at()
7879 total_size = sizeof(struct file_handle) + size; in do_name_to_handle_at()
7916 struct file_handle *target_fh; in do_open_by_handle_at()
7917 struct file_handle *fh; in do_open_by_handle_at()
7925 total_size = sizeof(struct file_handle) + size; in do_open_by_handle_at()
/openbmc/qemu/
H A Dmeson.build2760 int main(void) { struct file_handle fh; return open_by_handle_at(0, &fh, 0); }