Searched refs:dm_user_header (Results 1 – 3 of 3) sorted by relevance
83 struct dm_user_header { struct97 struct dm_user_header header; argument
59 struct dm_user_header* BufferSink::GetHeaderPtr() { in GetHeaderPtr()60 if (!(sizeof(struct dm_user_header) <= buffer_size_)) { in GetHeaderPtr()64 struct dm_user_header* header = (struct dm_user_header*)(&(buf[0])); in GetHeaderPtr()614 if (!android::base::ReadFully(ctrl_fd_, bufsink_.GetBufPtr(), sizeof(struct dm_user_header))) { in ReadDmUserHeader()630 payload_size += sizeof(struct dm_user_header); in WriteDmUserPayload()652 struct dm_user_header* header = bufsink_.GetHeaderPtr(); in DmuserWriteRequest()726 struct dm_user_header* header = bufsink_.GetHeaderPtr(); in DmuserReadRequest()816 size_t buf_size = sizeof(struct dm_user_header) + PAYLOAD_SIZE; in InitializeBufsink()845 struct dm_user_header* header = bufsink_.GetHeaderPtr(); in ProcessIORequest()
99 struct dm_user_header* GetHeaderPtr();