Lines Matching refs:bs
153 void svcinfo_death(struct binder_state *bs, void *ptr) in svcinfo_death() argument
159 binder_release(bs, si->handle); in svcinfo_death()
170 uint32_t do_find_service(struct binder_state *bs, const uint16_t *s, size_t len, uid_t uid, pid_t s… in do_find_service() argument
196 int do_add_service(struct binder_state *bs, in do_add_service() argument
220 svcinfo_death(bs, si); in do_add_service()
241 binder_acquire(bs, handle); in do_add_service()
242 binder_link_to_death(bs, handle, &si->death); in do_add_service()
246 int svcmgr_handler(struct binder_state *bs, in svcmgr_handler() argument
298 handle = do_find_service(bs, s, len, txn->sender_euid, txn->sender_pid); in svcmgr_handler()
311 if (do_add_service(bs, s, len, handle, txn->sender_euid, in svcmgr_handler()
351 struct binder_state *bs; in main() local
353 bs = binder_open(128*1024); in main()
354 if (!bs) { in main()
359 if (binder_become_context_manager(bs)) { in main()
386 binder_loop(bs, svcmgr_handler); in main()