Lines Matching refs:bs
164 void svcinfo_death(struct binder_state *bs, void *ptr) in svcinfo_death() argument
170 binder_release(bs, si->handle); in svcinfo_death()
205 int do_add_service(struct binder_state *bs, in do_add_service() argument
229 svcinfo_death(bs, si); in do_add_service()
250 binder_acquire(bs, handle); in do_add_service()
251 binder_link_to_death(bs, handle, &si->death); in do_add_service()
255 int svcmgr_handler(struct binder_state *bs, in svcmgr_handler() argument
320 if (do_add_service(bs, s, len, handle, txn->sender_euid, in svcmgr_handler()
367 struct binder_state *bs; in main() local
369 bs = binder_open(128*1024); in main()
370 if (!bs) { in main()
375 if (binder_become_context_manager(bs)) { in main()
402 binder_loop(bs, svcmgr_handler); in main()