• Home
  • Raw
  • Download

Lines Matching refs:txn

20 void bio_init_from_txn(struct binder_io *io, struct binder_txn *txn);
41 void binder_dump_txn(struct binder_txn *txn) in binder_dump_txn() argument
44 unsigned *offs = txn->offs; in binder_dump_txn()
45 unsigned count = txn->offs_size / 4; in binder_dump_txn()
48 txn->target, txn->cookie, txn->code, txn->flags); in binder_dump_txn()
50 txn->sender_pid, txn->sender_euid, txn->data_size, txn->offs_size); in binder_dump_txn()
51 hexdump(txn->data, txn->data_size); in binder_dump_txn()
53 obj = (void*) (((char*) txn->data) + *offs++); in binder_dump_txn()
79 #define binder_dump_txn(txn) do{} while (0) argument
169 struct binder_txn txn; in binder_send_reply() member
175 data.txn.target = 0; in binder_send_reply()
176 data.txn.cookie = 0; in binder_send_reply()
177 data.txn.code = 0; in binder_send_reply()
179 data.txn.flags = TF_STATUS_CODE; in binder_send_reply()
180 data.txn.data_size = sizeof(int); in binder_send_reply()
181 data.txn.offs_size = 0; in binder_send_reply()
182 data.txn.data = &status; in binder_send_reply()
183 data.txn.offs = 0; in binder_send_reply()
185 data.txn.flags = 0; in binder_send_reply()
186 data.txn.data_size = reply->data - reply->data0; in binder_send_reply()
187 data.txn.offs_size = ((char*) reply->offs) - ((char*) reply->offs0); in binder_send_reply()
188 data.txn.data = reply->data0; in binder_send_reply()
189 data.txn.offs = reply->offs0; in binder_send_reply()
220 struct binder_txn *txn = (void *) ptr; in binder_parse() local
225 binder_dump_txn(txn); in binder_parse()
233 bio_init_from_txn(&msg, txn); in binder_parse()
234 res = func(bs, txn, &msg, &reply); in binder_parse()
235 binder_send_reply(bs, &reply, txn->data, res); in binder_parse()
237 ptr += sizeof(*txn) / sizeof(uint32_t); in binder_parse()
241 struct binder_txn *txn = (void*) ptr; in binder_parse() local
246 binder_dump_txn(txn); in binder_parse()
248 bio_init_from_txn(bio, txn); in binder_parse()
253 ptr += (sizeof(*txn) / sizeof(uint32_t)); in binder_parse()
311 struct binder_txn txn; in binder_call() member
321 writebuf.txn.target = target; in binder_call()
322 writebuf.txn.code = code; in binder_call()
323 writebuf.txn.flags = 0; in binder_call()
324 writebuf.txn.data_size = msg->data - msg->data0; in binder_call()
325 writebuf.txn.offs_size = ((char*) msg->offs) - ((char*) msg->offs0); in binder_call()
326 writebuf.txn.data = msg->data0; in binder_call()
327 writebuf.txn.offs = msg->offs0; in binder_call()
394 void bio_init_from_txn(struct binder_io *bio, struct binder_txn *txn) in bio_init_from_txn() argument
396 bio->data = bio->data0 = txn->data; in bio_init_from_txn()
397 bio->offs = bio->offs0 = txn->offs; in bio_init_from_txn()
398 bio->data_avail = txn->data_size; in bio_init_from_txn()
399 bio->offs_avail = txn->offs_size / 4; in bio_init_from_txn()