Home
last modified time | relevance | path

Searched refs:cmsghp (Results 1 – 4 of 4) sorted by relevance

/device/moto/shamu/camera/QCamera2/stack/mm-camera-interface/src/
Dmm_camera_sock.c123 struct cmsghdr * cmsghp = NULL; in mm_camera_socket_sendmsg() local
149 cmsghp = CMSG_FIRSTHDR(&msgh); in mm_camera_socket_sendmsg()
150 if (cmsghp != NULL) { in mm_camera_socket_sendmsg()
152 cmsghp->cmsg_level = SOL_SOCKET; in mm_camera_socket_sendmsg()
153 cmsghp->cmsg_type = SCM_RIGHTS; in mm_camera_socket_sendmsg()
154 cmsghp->cmsg_len = CMSG_LEN(sizeof(int)); in mm_camera_socket_sendmsg()
155 *((int *)CMSG_DATA(cmsghp)) = sendfd; in mm_camera_socket_sendmsg()
156 CDBG("%s: cmsg data=%d", __func__, *((int *) CMSG_DATA(cmsghp))); in mm_camera_socket_sendmsg()
186 struct cmsghdr *cmsghp = NULL; in mm_camera_socket_recvmsg() local
214 if( ((cmsghp = CMSG_FIRSTHDR(&msgh)) != NULL) && in mm_camera_socket_recvmsg()
[all …]
/device/huawei/angler/camera/QCamera2/stack/mm-camera-interface/src/
Dmm_camera_sock.c123 struct cmsghdr * cmsghp = NULL; in mm_camera_socket_sendmsg() local
148 cmsghp = CMSG_FIRSTHDR(&msgh); in mm_camera_socket_sendmsg()
149 if (cmsghp != NULL) { in mm_camera_socket_sendmsg()
151 cmsghp->cmsg_level = SOL_SOCKET; in mm_camera_socket_sendmsg()
152 cmsghp->cmsg_type = SCM_RIGHTS; in mm_camera_socket_sendmsg()
153 cmsghp->cmsg_len = CMSG_LEN(sizeof(int)); in mm_camera_socket_sendmsg()
154 *((int *)CMSG_DATA(cmsghp)) = sendfd; in mm_camera_socket_sendmsg()
155 CDBG("%s: cmsg data=%d", __func__, *((int *) CMSG_DATA(cmsghp))); in mm_camera_socket_sendmsg()
185 struct cmsghdr *cmsghp = NULL; in mm_camera_socket_recvmsg() local
214 if( ((cmsghp = CMSG_FIRSTHDR(&msgh)) != NULL) && in mm_camera_socket_recvmsg()
[all …]
/device/moto/shamu/camera/QCamera/stack/mm-camera-interface/src/
Dmm_camera_sock.c118 struct cmsghdr * cmsghp = NULL; in mm_camera_socket_sendmsg() local
142 cmsghp = CMSG_FIRSTHDR(&msgh); in mm_camera_socket_sendmsg()
143 if (cmsghp != NULL) { in mm_camera_socket_sendmsg()
145 cmsghp->cmsg_level = SOL_SOCKET; in mm_camera_socket_sendmsg()
146 cmsghp->cmsg_type = SCM_RIGHTS; in mm_camera_socket_sendmsg()
147 cmsghp->cmsg_len = CMSG_LEN(sizeof(int)); in mm_camera_socket_sendmsg()
148 *((int *)CMSG_DATA(cmsghp)) = sendfd; in mm_camera_socket_sendmsg()
149 CDBG("%s: cmsg data=%d", __func__, *((int *) CMSG_DATA(cmsghp))); in mm_camera_socket_sendmsg()
178 struct cmsghdr *cmsghp = NULL; in mm_camera_socket_recvmsg() local
206 if( ((cmsghp = CMSG_FIRSTHDR(&msgh)) != NULL) && in mm_camera_socket_recvmsg()
[all …]
/device/lge/bullhead/camera/QCamera2/stack/mm-camera-interface/src/
Dmm_camera_sock.c123 struct cmsghdr * cmsghp = NULL; in mm_camera_socket_sendmsg() local
148 cmsghp = CMSG_FIRSTHDR(&msgh); in mm_camera_socket_sendmsg()
149 if (cmsghp != NULL) { in mm_camera_socket_sendmsg()
151 cmsghp->cmsg_level = SOL_SOCKET; in mm_camera_socket_sendmsg()
152 cmsghp->cmsg_type = SCM_RIGHTS; in mm_camera_socket_sendmsg()
153 cmsghp->cmsg_len = CMSG_LEN(sizeof(int)); in mm_camera_socket_sendmsg()
154 *((int *)CMSG_DATA(cmsghp)) = sendfd; in mm_camera_socket_sendmsg()
155 CDBG("%s: cmsg data=%d", __func__, *((int *) CMSG_DATA(cmsghp))); in mm_camera_socket_sendmsg()
185 struct cmsghdr *cmsghp = NULL; in mm_camera_socket_recvmsg() local
214 if( ((cmsghp = CMSG_FIRSTHDR(&msgh)) != NULL) && in mm_camera_socket_recvmsg()
[all …]