| /OK3568_Linux_fs/kernel/tools/testing/selftests/memfd/ |
| H A D | memfd_test.c | 39 int r, fd; in mfd_assert_new() local 59 int r, fd; in mfd_assert_reopen_fd() local 86 static unsigned int mfd_assert_get_seals(int fd) in mfd_assert_get_seals() 99 static void mfd_assert_has_seals(int fd, unsigned int seals) in mfd_assert_has_seals() 110 static void mfd_assert_add_seals(int fd, unsigned int seals) in mfd_assert_add_seals() 123 static void mfd_fail_add_seals(int fd, unsigned int seals) in mfd_fail_add_seals() 142 static void mfd_assert_size(int fd, size_t size) in mfd_assert_size() 158 static int mfd_assert_dup(int fd) in mfd_assert_dup() 171 static void *mfd_assert_mmap_shared(int fd) in mfd_assert_mmap_shared() 189 static void *mfd_assert_mmap_private(int fd) in mfd_assert_mmap_private() [all …]
|
| H A D | fuse_test.c | 45 int r, fd; in mfd_assert_new() local 63 static __u64 mfd_assert_get_seals(int fd) in mfd_assert_get_seals() 76 static void mfd_assert_has_seals(int fd, __u64 seals) in mfd_assert_has_seals() 88 static void mfd_assert_add_seals(int fd, __u64 seals) in mfd_assert_add_seals() 102 static int mfd_busy_add_seals(int fd, __u64 seals) in mfd_busy_add_seals() 123 static void *mfd_assert_mmap_shared(int fd) in mfd_assert_mmap_shared() 141 static void *mfd_assert_mmap_private(int fd) in mfd_assert_mmap_private() 230 int fd, mfd, r; in main() local
|
| /OK3568_Linux_fs/kernel/arch/um/os-Linux/ |
| H A D | file.c | 43 int os_stat_fd(const int fd, struct uml_stat *ubuf) in os_stat_fd() 88 int os_ioctl_generic(int fd, unsigned int cmd, unsigned long arg) in os_ioctl_generic() 100 int os_get_ifname(int fd, char* namebuf) in os_get_ifname() 108 int os_set_slip(int fd) in os_set_slip() 123 int os_mode_fd(int fd, int mode) in os_mode_fd() 181 int fd, err, f = 0; in os_open_file() local 218 int fd, err; in os_connect_socket() local 243 void os_close_file(int fd) in os_close_file() 247 int os_fsync_file(int fd) in os_fsync_file() 254 int os_seek_file(int fd, unsigned long long offset) in os_seek_file() [all …]
|
| /OK3568_Linux_fs/external/security/librkcrypto/third_party/libdrm/src/ |
| H A D | xf86drmMode.c | 63 static inline int DRM_IOCTL(int fd, unsigned long cmd, void *arg) in DRM_IOCTL() 152 drm_public int drmIsKMS(int fd) in drmIsKMS() 162 drm_public drmModeResPtr drmModeGetResources(int fd) in drmModeGetResources() 257 drm_public int drmModeAddFB(int fd, uint32_t width, uint32_t height, uint8_t depth, in drmModeAddFB() 279 drm_public int drmModeAddFB2WithModifiers(int fd, uint32_t width, in drmModeAddFB2WithModifiers() 305 drm_public int drmModeAddFB2(int fd, uint32_t width, uint32_t height, in drmModeAddFB2() 316 drm_public int drmModeRmFB(int fd, uint32_t bufferId) in drmModeRmFB() 321 drm_public drmModeFBPtr drmModeGetFB(int fd, uint32_t buf) in drmModeGetFB() 346 drm_public int drmModeDirtyFB(int fd, uint32_t bufferId, in drmModeDirtyFB() 363 drm_public drmModeCrtcPtr drmModeGetCrtc(int fd, uint32_t crtcId) in drmModeGetCrtc() [all …]
|
| H A D | xf86drm.c | 560 drmIoctl(int fd, unsigned long request, void *arg) in drmIoctl() 570 static unsigned long drmGetKeyFromFd(int fd) in drmGetKeyFromFd() 579 drm_public drmHashEntry *drmGetEntry(int fd) in drmGetEntry() 719 int fd; in drmOpenDevice() local 834 int fd; in drmOpenMinor() local 865 int fd; in drmAvailable() local 967 int fd; in drmOpenByBusid() local 1031 int fd; in drmOpenByName() local 1149 int fd = drmOpenByBusid(busid, type); in drmOpenWithType() local 1249 drm_public drmVersionPtr drmGetVersion(int fd) in drmGetVersion() [all …]
|
| /OK3568_Linux_fs/kernel/fs/ |
| H A D | file.c | 249 static inline void __set_close_on_exec(unsigned int fd, struct fdtable *fdt) in __set_close_on_exec() 254 static inline void __clear_close_on_exec(unsigned int fd, struct fdtable *fdt) in __clear_close_on_exec() 260 static inline void __set_open_fd(unsigned int fd, struct fdtable *fdt) in __set_open_fd() 268 static inline void __clear_open_fd(unsigned int fd, struct fdtable *fdt) in __clear_open_fd() 527 unsigned int fd; in __alloc_fd() local 598 static void __put_unused_fd(struct files_struct *files, unsigned int fd) in __put_unused_fd() 606 void put_unused_fd(unsigned int fd) in put_unused_fd() 636 void __fd_install(struct files_struct *files, unsigned int fd, in __fd_install() 664 void fd_install(unsigned int fd, struct file *file) in fd_install() 671 static struct file *pick_file(struct files_struct *files, unsigned fd) in pick_file() [all …]
|
| /OK3568_Linux_fs/device/rockchip/common/data/ |
| H A D | kmsgrab.c | 13 static void *map_fb(int fd, int handle, size_t size) { in map_fb() 36 static int get_fb_dmafd(int fd, int handle) in get_fb_dmafd() 52 static void destroy_dumb(int fd, int handle) { in destroy_dumb() 60 static int dump_fb(int fd, int fb_id) { in dump_fb() 91 static int get_crtc_fb(int fd, int crtc_id) { in get_crtc_fb() 107 static int get_encoder_fb(int fd, int encoder_id) { in get_encoder_fb() 123 static int get_connector_fb(int fd, int connector_id) { in get_connector_fb() 139 static int get_plane_fb(int fd, int plane_id) { in get_plane_fb() 155 static void usage(const char *prog, int fd) { in usage() 180 int id, fd; in main() local
|
| /OK3568_Linux_fs/external/xserver/hw/xfree86/os-support/shared/ |
| H A D | posix_tty.c | 119 int fd, i; in xf86OpenSerial() local 187 xf86SetSerial(int fd, XF86OptionPtr options) in xf86SetSerial() 328 xf86SetSerialSpeed(int fd, int speed) in xf86SetSerialSpeed() 356 xf86ReadSerial(int fd, void *buf, int count) in xf86ReadSerial() 370 xf86WriteSerial(int fd, const void *buf, int count) in xf86WriteSerial() 384 xf86CloseSerial(int fd) in xf86CloseSerial() 393 xf86WaitForInput(int fd, int timeout) in xf86WaitForInput() 415 xf86SerialSendBreak(int fd, int duration) in xf86SerialSendBreak() 425 xf86FlushInput(int fd) in xf86FlushInput() 532 xf86SetSerialModemState(int fd, int state) in xf86SetSerialModemState() [all …]
|
| /OK3568_Linux_fs/kernel/include/linux/ |
| H A D | file.h | 36 struct fd { struct 43 static inline void fdput(struct fd fd) in fdput() 63 static inline struct fd fdget(unsigned int fd) in fdget() 68 static inline struct fd fdget_raw(unsigned int fd) in fdget_raw() 73 static inline struct fd fdget_pos(int fd) in fdget_pos() 108 static inline int receive_fd_replace(int fd, struct file *file, unsigned int o_flags) in receive_fd_replace()
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/sync/ |
| H A D | sync.c | 58 int sync_wait(int fd, int timeout) in sync_wait() 84 static struct sync_file_info *sync_file_info(int fd) in sync_file_info() 131 int sync_fence_size(int fd) in sync_fence_size() 146 int sync_fence_count_with_status(int fd, int status) in sync_fence_count_with_status() 171 int sw_sync_timeline_inc(int fd, unsigned int count) in sw_sync_timeline_inc() 178 int sw_sync_timeline_is_valid(int fd) in sw_sync_timeline_is_valid() 189 void sw_sync_timeline_destroy(int fd) in sw_sync_timeline_destroy() 195 int sw_sync_fence_create(int fd, const char *name, unsigned int value) in sw_sync_fence_create() 211 int sw_sync_fence_is_valid(int fd) in sw_sync_fence_is_valid() 217 void sw_sync_fence_destroy(int fd) in sw_sync_fence_destroy()
|
| /OK3568_Linux_fs/kernel/drivers/scsi/ |
| H A D | fdomain.c | 118 static inline void fdomain_make_bus_idle(struct fdomain *fd) in fdomain_make_bus_idle() 181 struct fdomain *fd = shost_priv(sh); in fdomain_select() local 205 static void fdomain_finish_cmd(struct fdomain *fd, int result) in fdomain_finish_cmd() 216 struct fdomain *fd = shost_priv(cmd->device->host); in fdomain_read_data() local 236 struct fdomain *fd = shost_priv(cmd->device->host); in fdomain_write_data() local 263 struct fdomain *fd = container_of(work, struct fdomain, work); in fdomain_work() local 380 struct fdomain *fd = dev_id; in fdomain_irq() local 399 struct fdomain *fd = shost_priv(cmd->device->host); in fdomain_queue() local 432 struct fdomain *fd = shost_priv(sh); in fdomain_abort() local 453 struct fdomain *fd = shost_priv(sh); in fdomain_host_reset() local [all …]
|
| /OK3568_Linux_fs/kernel/tools/testing/vsock/ |
| H A D | vsock_test.c | 35 int fd; in test_stream_connection_reset() local 71 int fd; in test_stream_bind_only_client() local 112 int fd; in test_stream_bind_only_server() local 132 int fd; in test_stream_client_close_client() local 146 int fd; in test_stream_client_close_server() local 167 int fd; in test_stream_server_close_client() local 188 int fd; in test_stream_server_close_server() local 255 int fd; in test_stream_msg_peek_client() local 269 int fd; in test_stream_msg_peek_server() local
|
| /OK3568_Linux_fs/kernel/arch/um/drivers/ |
| H A D | vector_user.c | 133 int fd = -1; in create_tap_fd() local 163 int fd = -1; in create_raw_fd() local 199 int fd = -1, i; in user_init_tap_fds() local 308 int fd = -1; in user_init_unix_fds() local 386 long fd; in strtofd() local 406 int fd = -1; in user_init_fd_fds() local 478 bool uml_raw_enable_qdisc_bypass(int fd) in uml_raw_enable_qdisc_bypass() 490 bool uml_raw_enable_vnet_headers(int fd) in uml_raw_enable_vnet_headers() 502 bool uml_tap_enable_vnet_headers(int fd) in uml_tap_enable_vnet_headers() 522 int fd = -1, gairet; in user_init_socket_fds() local [all …]
|
| /OK3568_Linux_fs/kernel/samples/uhid/ |
| H A D | uhid-example.c | 159 static int uhid_write(int fd, const struct uhid_event *ev) in uhid_write() 176 static int create(int fd) in create() 194 static void destroy(int fd) in destroy() 225 static int event(int fd) in event() 278 static int send_event(int fd) in send_event() 301 static int keyboard(int fd) in keyboard() 389 int fd; in main() local
|
| /OK3568_Linux_fs/external/xserver/hw/xfree86/drivers/modesetting/ |
| H A D | dumb_bo.c | 43 dumb_bo_create(int fd, in dumb_bo_create() 74 dumb_bo_map(int fd, struct dumb_bo *bo) in dumb_bo_map() 100 dumb_bo_get_fd(int fd, struct dumb_bo *bo, uint32_t flags) in dumb_bo_get_fd() 119 dumb_bo_get_name(int fd, struct dumb_bo *bo) in dumb_bo_get_name() 137 dumb_bo_destroy(int fd, struct dumb_bo *bo) in dumb_bo_destroy() 158 dumb_get_bo_from_handle(int fd, int handle, int pitch, int size) in dumb_get_bo_from_handle() 173 dumb_get_bo_from_fd(int fd, int dmafd, int pitch, int size) in dumb_get_bo_from_fd()
|
| /OK3568_Linux_fs/kernel/fs/hfsplus/ |
| H A D | bfind.c | 15 int hfs_find_init(struct hfs_btree *tree, struct hfs_find_data *fd) in hfs_find_init() 44 void hfs_find_exit(struct hfs_find_data *fd) in hfs_find_exit() 55 struct hfs_find_data *fd, in hfs_find_1st_rec_by_cnid() 93 struct hfs_find_data *fd, in hfs_find_rec_by_key() 114 int __hfs_brec_find(struct hfs_bnode *bnode, struct hfs_find_data *fd, in __hfs_brec_find() 164 int hfs_brec_find(struct hfs_find_data *fd, search_strategy_t do_key_compare) in hfs_brec_find() 218 int hfs_brec_read(struct hfs_find_data *fd, void *rec, int rec_len) in hfs_brec_read() 231 int hfs_brec_goto(struct hfs_find_data *fd, int cnt) in hfs_brec_goto()
|
| /OK3568_Linux_fs/kernel/arch/xtensa/kernel/ |
| H A D | smp.c | 488 struct flush_data *fd = arg; in ipi_flush_tlb_page() local 494 struct flush_data fd = { in flush_tlb_page() local 503 struct flush_data *fd = arg; in ipi_flush_tlb_range() local 510 struct flush_data fd = { in flush_tlb_range() local 520 struct flush_data *fd = arg; in ipi_flush_tlb_kernel_range() local 526 struct flush_data fd = { in flush_tlb_kernel_range() local 547 struct flush_data *fd = arg; in ipi_flush_cache_page() local 554 struct flush_data fd = { in flush_cache_page() local 564 struct flush_data *fd = arg; in ipi_flush_cache_range() local 571 struct flush_data fd = { in flush_cache_range() local [all …]
|
| /OK3568_Linux_fs/kernel/arch/powerpc/kernel/ |
| H A D | sys_ppc32.c | 53 unsigned long fd, unsigned long pgoff) in compat_sys_mmap2() 64 compat_ssize_t compat_sys_pread64(unsigned int fd, char __user *ubuf, compat_size_t count, in compat_sys_pread64() 70 compat_ssize_t compat_sys_pwrite64(unsigned int fd, const char __user *ubuf, compat_size_t count, in compat_sys_pwrite64() 76 compat_ssize_t compat_sys_readahead(int fd, u32 r4, u32 offhi, u32 offlo, u32 count) in compat_sys_readahead() 87 asmlinkage long compat_sys_fallocate(int fd, int mode, u32 offhi, u32 offlo, in compat_sys_fallocate() 94 asmlinkage int compat_sys_ftruncate64(unsigned int fd, u32 reg4, unsigned long high, in compat_sys_ftruncate64() 100 long ppc32_fadvise64(int fd, u32 unused, u32 offset_high, u32 offset_low, in ppc32_fadvise64() 107 asmlinkage long compat_sys_sync_file_range2(int fd, unsigned int flags, in compat_sys_sync_file_range2()
|
| /OK3568_Linux_fs/u-boot/include/fsl-mc/ |
| H A D | fsl_dpaa_fd.h | 39 static inline u64 ldpaa_fd_get_addr(const struct dpaa_fd *fd) in ldpaa_fd_get_addr() 45 static inline void ldpaa_fd_set_addr(struct dpaa_fd *fd, u64 addr) in ldpaa_fd_set_addr() 51 static inline u32 ldpaa_fd_get_len(const struct dpaa_fd *fd) in ldpaa_fd_get_len() 56 static inline void ldpaa_fd_set_len(struct dpaa_fd *fd, u32 len) in ldpaa_fd_set_len() 61 static inline uint16_t ldpaa_fd_get_offset(const struct dpaa_fd *fd) in ldpaa_fd_get_offset() 66 static inline void ldpaa_fd_set_offset(struct dpaa_fd *fd, uint16_t offset) in ldpaa_fd_set_offset() 72 static inline uint16_t ldpaa_fd_get_bpid(const struct dpaa_fd *fd) in ldpaa_fd_get_bpid() 77 static inline void ldpaa_fd_set_bpid(struct dpaa_fd *fd, uint16_t bpid) in ldpaa_fd_set_bpid()
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/ |
| H A D | test_maps.c | 40 int fd; in test_hashmap() local 129 int fd, i, j; in test_hashmap_sizes() local 153 int fd, i; in test_hashmap_percpu() local 254 int i, fd, ret; in helper_fill_hashmap() local 276 int fd, i, max_entries = 1000; in test_hashmap_walk() local 347 int key, next_key, fd; in test_arraymap() local 404 int key, next_key, fd, i; in test_arraymap_percpu() local 467 int key, fd, i; in test_arraymap_percpu_many_keys() local 498 int fd; in test_devmap() local 513 int fd; in test_devmap_hash() local [all …]
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/net/ |
| H A D | msg_zerocopy.c | 135 static void do_setsockopt(int fd, int level, int optname, int val) in do_setsockopt() 141 static int do_poll(int fd, int events) in do_poll() 157 static int do_accept(int fd) in do_accept() 183 static bool do_sendmsg(int fd, struct msghdr *msg, bool do_zerocopy, int domain) in do_sendmsg() 226 static void do_sendmsg_corked(int fd, struct msghdr *msg) in do_sendmsg_corked() 324 int fd; in do_setup_tx() local 359 static bool do_recvmsg_completion(int fd) in do_recvmsg_completion() 392 static bool do_recv_completion(int fd, int domain) in do_recv_completion() 460 static void do_recv_completions(int fd, int domain) in do_recv_completions() 466 static void do_recv_remaining_completions(int fd, int domain) in do_recv_remaining_completions() [all …]
|
| /OK3568_Linux_fs/kernel/include/soc/fsl/ |
| H A D | dpaa2-fd.h | 103 static inline dma_addr_t dpaa2_fd_get_addr(const struct dpaa2_fd *fd) in dpaa2_fd_get_addr() 113 static inline void dpaa2_fd_set_addr(struct dpaa2_fd *fd, dma_addr_t addr) in dpaa2_fd_set_addr() 124 static inline u32 dpaa2_fd_get_frc(const struct dpaa2_fd *fd) in dpaa2_fd_get_frc() 134 static inline void dpaa2_fd_set_frc(struct dpaa2_fd *fd, u32 frc) in dpaa2_fd_set_frc() 145 static inline u32 dpaa2_fd_get_ctrl(const struct dpaa2_fd *fd) in dpaa2_fd_get_ctrl() 155 static inline void dpaa2_fd_set_ctrl(struct dpaa2_fd *fd, u32 ctrl) in dpaa2_fd_set_ctrl() 166 static inline dma_addr_t dpaa2_fd_get_flc(const struct dpaa2_fd *fd) in dpaa2_fd_get_flc() 176 static inline void dpaa2_fd_set_flc(struct dpaa2_fd *fd, dma_addr_t flc_addr) in dpaa2_fd_set_flc() 181 static inline bool dpaa2_fd_short_len(const struct dpaa2_fd *fd) in dpaa2_fd_short_len() 193 static inline u32 dpaa2_fd_get_len(const struct dpaa2_fd *fd) in dpaa2_fd_get_len() [all …]
|
| /OK3568_Linux_fs/kernel/tools/power/acpi/tools/acpidbg/ |
| H A D | acpidbg.c | 97 static int acpi_aml_set_fl(int fd, int flags) in acpi_aml_set_fl() 115 static int acpi_aml_set_fd(int fd, int maxfd, fd_set *set) in acpi_aml_set_fd() 123 static int acpi_aml_read(int fd, struct circ_buf *crc) in acpi_aml_read() 159 static int acpi_aml_read_batch_log(int fd, struct circ_buf *crc) in acpi_aml_read_batch_log() 223 static int acpi_aml_write(int fd, struct circ_buf *crc) in acpi_aml_write() 238 static int acpi_aml_write_batch_log(int fd, struct circ_buf *crc) in acpi_aml_write_batch_log() 255 static int acpi_aml_write_batch_cmd(int fd, struct circ_buf *crc) in acpi_aml_write_batch_cmd() 265 static void acpi_aml_loop(int fd) in acpi_aml_loop() 336 static bool acpi_aml_readable(int fd) in acpi_aml_readable() 360 static void acpi_aml_flush(int fd) in acpi_aml_flush() [all …]
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/powerpc/ |
| H A D | utils.c | 32 int rc, fd; in read_auxv() local 145 int rc = -1, fd; in read_sysfs_file() local 164 int rc = -1, fd; in read_debugfs_file() local 186 int rc = -1, fd; in write_debugfs_file() local 232 int fd; in perf_event_open_counter() local 245 int perf_event_enable(int fd) in perf_event_enable() 255 int perf_event_disable(int fd) in perf_event_disable() 265 int perf_event_reset(int fd) in perf_event_reset()
|
| /OK3568_Linux_fs/kernel/fs/hfs/ |
| H A D | bfind.c | 15 int hfs_find_init(struct hfs_btree *tree, struct hfs_find_data *fd) in hfs_find_init() 44 void hfs_find_exit(struct hfs_find_data *fd) in hfs_find_exit() 55 int __hfs_brec_find(struct hfs_bnode *bnode, struct hfs_find_data *fd) in __hfs_brec_find() 107 int hfs_brec_find(struct hfs_find_data *fd) in hfs_brec_find() 161 int hfs_brec_read(struct hfs_find_data *fd, void *rec, int rec_len) in hfs_brec_read() 174 int hfs_brec_goto(struct hfs_find_data *fd, int cnt) in hfs_brec_goto()
|