Lines Matching refs:bs
116 void svcinfo_death(struct binder_state *bs, void *ptr) in svcinfo_death() argument
121 binder_release(bs, si->ptr); in svcinfo_death()
132 void *do_find_service(struct binder_state *bs, uint16_t *s, unsigned len, unsigned uid) in do_find_service() argument
153 int do_add_service(struct binder_state *bs, in do_add_service() argument
175 svcinfo_death(bs, si); in do_add_service()
196 binder_acquire(bs, ptr); in do_add_service()
197 binder_link_to_death(bs, ptr, &si->death); in do_add_service()
201 int svcmgr_handler(struct binder_state *bs, in svcmgr_handler() argument
235 ptr = do_find_service(bs, s, len, txn->sender_euid); in svcmgr_handler()
245 if (do_add_service(bs, s, len, ptr, txn->sender_euid, allow_isolated)) in svcmgr_handler()
272 struct binder_state *bs; in main() local
275 bs = binder_open(128*1024); in main()
277 if (binder_become_context_manager(bs)) { in main()
283 binder_loop(bs, svcmgr_handler); in main()