Home
last modified time | relevance | path

Searched refs:fd1 (Results 1 – 25 of 45) sorted by relevance

12

/hardware/qcom/display/msm8996/sdm/libs/hwc/
Dhwc_buffer_sync_handler.cpp58 DisplayError HWCBufferSyncHandler::SyncMerge(int fd1, int fd2, int *merged_fd) { in SyncMerge() argument
66 if (fd1 >= 0 && fd2 >= 0) { in SyncMerge()
67 *merged_fd = sync_merge("SyncMerge", fd1, fd2); in SyncMerge()
68 } else if (fd1 >= 0) { in SyncMerge()
69 *merged_fd = sync_merge("SyncMerge", fd1, fd1); in SyncMerge()
78 DLOGE("Sync merge error! fd1 %d fd2 %d", fd1, fd2); in SyncMerge()
Dhwc_buffer_sync_handler.h46 virtual DisplayError SyncMerge(int fd1, int fd2, int *merged_fd);
/hardware/qcom/display/msm8998/sdm/libs/hwc2/
Dhwc_buffer_sync_handler.cpp57 DisplayError HWCBufferSyncHandler::SyncMerge(int fd1, int fd2, int *merged_fd) { in SyncMerge() argument
65 if (fd1 >= 0 && fd2 >= 0) { in SyncMerge()
66 *merged_fd = sync_merge("SyncMerge", fd1, fd2); in SyncMerge()
67 } else if (fd1 >= 0) { in SyncMerge()
68 *merged_fd = sync_merge("SyncMerge", fd1, fd1); in SyncMerge()
77 DLOGE("Sync merge error! fd1 %d fd2 %d", fd1, fd2); in SyncMerge()
Dhwc_buffer_sync_handler.h46 virtual DisplayError SyncMerge(int fd1, int fd2, int *merged_fd);
/hardware/qcom/sm8150/display/sdm/libs/hwc2/
Dhwc_buffer_sync_handler.cpp56 DisplayError HWCBufferSyncHandler::SyncMerge(int fd1, int fd2, int *merged_fd) { in SyncMerge() argument
64 if (fd1 >= 0 && fd2 >= 0) { in SyncMerge()
65 *merged_fd = sync_merge("SyncMerge", fd1, fd2); in SyncMerge()
66 } else if (fd1 >= 0) { in SyncMerge()
67 *merged_fd = sync_merge("SyncMerge", fd1, fd1); in SyncMerge()
76 DLOGE("Sync merge error! fd1 %d fd2 %d", fd1, fd2); in SyncMerge()
Dhwc_buffer_sync_handler.h46 virtual DisplayError SyncMerge(int fd1, int fd2, int *merged_fd);
/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc/
Dhwc_buffer_sync_handler.cpp56 DisplayError HWCBufferSyncHandler::SyncMerge(int fd1, int fd2, int *merged_fd) { in SyncMerge() argument
64 if (fd1 >= 0 && fd2 >= 0) { in SyncMerge()
65 *merged_fd = sync_merge("SyncMerge", fd1, fd2); in SyncMerge()
66 } else if (fd1 >= 0) { in SyncMerge()
67 *merged_fd = sync_merge("SyncMerge", fd1, fd1); in SyncMerge()
76 DLOGE("Sync merge error! fd1 %d fd2 %d", fd1, fd2); in SyncMerge()
Dhwc_buffer_sync_handler.h46 virtual DisplayError SyncMerge(int fd1, int fd2, int *merged_fd);
/hardware/qcom/display/msm8909/sdm/libs/hwc/
Dhwc_buffer_sync_handler.cpp56 DisplayError HWCBufferSyncHandler::SyncMerge(int fd1, int fd2, int *merged_fd) { in SyncMerge() argument
64 if (fd1 >= 0 && fd2 >= 0) { in SyncMerge()
65 *merged_fd = sync_merge("SyncMerge", fd1, fd2); in SyncMerge()
66 } else if (fd1 >= 0) { in SyncMerge()
67 *merged_fd = sync_merge("SyncMerge", fd1, fd1); in SyncMerge()
76 DLOGE("Sync merge error! fd1 %d fd2 %d", fd1, fd2); in SyncMerge()
Dhwc_buffer_sync_handler.h46 virtual DisplayError SyncMerge(int fd1, int fd2, int *merged_fd);
/hardware/google/gfxstream/guest/mesa/src/util/
Dlibsync.h132 static inline int sync_merge(const char *name, int fd1, int fd2)
141 ret = ioctl(fd1, SYNC_IOC_MERGE, &data);
179 static inline int sync_accumulate(const char *name, int *fd1, int fd2) in sync_accumulate() argument
185 if (*fd1 < 0) { in sync_accumulate()
186 *fd1 = dup(fd2); in sync_accumulate()
190 ret = sync_merge(name, *fd1, fd2); in sync_accumulate()
196 close(*fd1); in sync_accumulate()
197 *fd1 = ret; in sync_accumulate()
Dos_file.c206 os_same_file_description(int fd1, int fd2) in os_same_file_description() argument
211 if (fd1 == fd2) in os_same_file_description()
214 return syscall(SYS_kcmp, pid, pid, KCMP_FILE, fd1, fd2); in os_same_file_description()
220 os_same_file_description(int fd1, int fd2) in os_same_file_description() argument
223 if (fd1 == fd2) in os_same_file_description()
Du_hash_table.c76 int fd1 = pointer_to_intptr(key1); in equal_fd() local
80 fstat(fd1, &stat1); in equal_fd()
Dos_file.h53 os_same_file_description(int fd1, int fd2);
/hardware/qcom/sm7250/display/composer/
Dhwc_buffer_sync_handler.cpp71 DisplayError HWCBufferSyncHandler::SyncMerge(int fd1, int fd2, int *merged_fd) { in SyncMerge() argument
76 if (fd1 < 0) { in SyncMerge()
78 } else if ((fd2 < 0) || (fd1 == fd2)) { in SyncMerge()
79 *merged_fd = dup(fd1); in SyncMerge()
81 *merged_fd = sync_merge("SyncMerge", fd1, fd2); in SyncMerge()
/hardware/interfaces/tetheroffload/config/1.0/vts/functional/
DVtsHalTetheroffloadConfigV1_0TargetTest.cpp98 unique_fd fd1(netlinkSocket(kFd1Groups)); in TEST_P() local
99 if (fd1.get() < 0) { in TEST_P()
104 nativeHandle1->data[0] = fd1.release(); in TEST_P()
140 unique_fd fd1(netlinkSocket(kFd1Groups)); in TEST_P() local
141 if (fd1.get() < 0) { in TEST_P()
146 nativeHandle1->data[0] = fd1.release(); in TEST_P()
/hardware/interfaces/tetheroffload/control/1.0/vts/functional/
DOffloadControlTestBase.cpp32 unique_fd fd1(conntrackSocket(NF_NETLINK_CONNTRACK_NEW | NF_NETLINK_CONNTRACK_DESTROY)); in setupConfigHal() local
33 if (fd1.get() < 0) { in setupConfigHal()
38 nativeHandle1->data[0] = fd1.release(); in setupConfigHal()
/hardware/qcom/sm7250/display/sdm/libs/utils/
Dfence.cpp92 int fd1 = fence1 ? fence1->fd_ : -1; in Merge() local
95 std::string name = "merged[" + to_string(fd1) + ", " + to_string(fd2) + "]"; in Merge()
97 g_buffer_sync_handler_->SyncMerge(fd1, fd2, &merged); in Merge()
/hardware/interfaces/tetheroffload/config/1.0/
DIOffloadConfig.hal27 * @param fd1 A file descriptor bound to the following netlink groups
35 setHandles(handle fd1, handle fd2) generates (bool success, string errMsg);
/hardware/qcom/display/msm8909/sdm/include/core/
Dbuffer_sync_handler.h79 virtual DisplayError SyncMerge(int fd1, int fd2, int *merged_fd) = 0;
/hardware/qcom/display/msm8998/sdm/include/core/
Dbuffer_sync_handler.h79 virtual DisplayError SyncMerge(int fd1, int fd2, int *merged_fd) = 0;
/hardware/qcom/display/msm8909w_3100/sdm/include/core/
Dbuffer_sync_handler.h79 virtual DisplayError SyncMerge(int fd1, int fd2, int *merged_fd) = 0;
/hardware/qcom/display/msm8996/sdm/include/core/
Dbuffer_sync_handler.h79 virtual DisplayError SyncMerge(int fd1, int fd2, int *merged_fd) = 0;
/hardware/qcom/sm8150/display/sdm/include/core/
Dbuffer_sync_handler.h79 virtual DisplayError SyncMerge(int fd1, int fd2, int *merged_fd) = 0;
/hardware/qcom/sm7250/display/sdm/include/core/
Dbuffer_sync_handler.h92 virtual DisplayError SyncMerge(int fd1, int fd2, int *merged_fd) = 0;

12