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