Home
last modified time | relevance | path

Searched refs:svc (Results 1 – 25 of 94) sorted by relevance

1234

/linux/drivers/greybus/
H A Dsvc_watchdog.c17 struct gb_svc *svc; member
32 gb_svc_watchdog_disable(watchdog->svc); in svc_watchdog_pm_notifier()
35 gb_svc_watchdog_enable(watchdog->svc); in svc_watchdog_pm_notifier()
66 struct gb_svc *svc; in do_work() local
70 svc = watchdog->svc; in do_work()
72 dev_dbg(&svc->dev, "%s: ping.\n", __func__); in do_work()
73 retval = gb_svc_ping(svc); in do_work()
82 dev_err(&svc->dev, in do_work()
86 if (svc->action == GB_SVC_WATCHDOG_BITE_PANIC_KERNEL) { in do_work()
88 } else if (svc->action == GB_SVC_WATCHDOG_BITE_RESET_UNIPRO) { in do_work()
[all …]
H A Dhd.c112 if (hd->svc) in gb_hd_release()
113 gb_svc_put(hd->svc); in gb_hd_release()
189 hd->svc = gb_svc_create(hd); in gb_hd_create()
190 if (!hd->svc) { in gb_hd_create()
208 ret = gb_svc_add(hd->svc); in gb_hd_add()
228 gb_svc_del(hd->svc); in gb_hd_del()
236 gb_svc_del(hd->svc); in gb_hd_shutdown()
/linux/include/linux/greybus/
H A Dsvc.h36 struct gb_svc *svc; member
63 int gb_svc_add(struct gb_svc *svc);
64 void gb_svc_del(struct gb_svc *svc);
65 void gb_svc_put(struct gb_svc *svc);
67 int gb_svc_pwrmon_intf_sample_get(struct gb_svc *svc, u8 intf_id,
69 int gb_svc_intf_device_id(struct gb_svc *svc, u8 intf_id, u8 device_id);
70 int gb_svc_route_create(struct gb_svc *svc, u8 intf1_id, u8 dev1_id,
72 void gb_svc_route_destroy(struct gb_svc *svc, u8 intf1_id, u8 intf2_id);
73 int gb_svc_connection_create(struct gb_svc *svc, u8 intf1_id, u16 cport1_id,
75 void gb_svc_connection_destroy(struct gb_svc *svc, u8 intf1_id, u16 cport1_id,
[all …]
/linux/net/netfilter/ipvs/
H A Dip_vs_mh.c122 struct ip_vs_service *svc) in ip_vs_mh_permutate()
137 p = &svc->destinations; in ip_vs_mh_permutate()
139 while ((p = p->next) != &svc->destinations) { in ip_vs_mh_permutate()
142 ds->offset = ip_vs_mh_hashkey(svc->af, &dest->addr, in ip_vs_mh_permutate()
145 ds->skip = ip_vs_mh_hashkey(svc->af, &dest->addr, in ip_vs_mh_permutate()
159 struct ip_vs_service *svc) in ip_vs_mh_populate()
180 p = &svc->destinations; in ip_vs_mh_populate()
184 if (p == &svc->destinations) in ip_vs_mh_populate()
188 while (p != &svc->destinations) { in ip_vs_mh_populate()
234 ip_vs_mh_get(struct ip_vs_service *svc, struc
123 ip_vs_mh_permutate(struct ip_vs_mh_state * s,struct ip_vs_service * svc) ip_vs_mh_permutate() argument
160 ip_vs_mh_populate(struct ip_vs_mh_state * s,struct ip_vs_service * svc) ip_vs_mh_populate() argument
235 ip_vs_mh_get(struct ip_vs_service * svc,struct ip_vs_mh_state * s,const union nf_inet_addr * addr,__be16 port) ip_vs_mh_get() argument
247 ip_vs_mh_get_fallback(struct ip_vs_service * svc,struct ip_vs_mh_state * s,const union nf_inet_addr * addr,__be16 port) ip_vs_mh_get_fallback() argument
289 ip_vs_mh_reassign(struct ip_vs_mh_state * s,struct ip_vs_service * svc) ip_vs_mh_reassign() argument
322 ip_vs_mh_gcd_weight(struct ip_vs_service * svc) ip_vs_mh_gcd_weight() argument
343 ip_vs_mh_shift_weight(struct ip_vs_service * svc,int gcd) ip_vs_mh_shift_weight() argument
381 ip_vs_mh_init_svc(struct ip_vs_service * svc) ip_vs_mh_init_svc() argument
419 ip_vs_mh_done_svc(struct ip_vs_service * svc) ip_vs_mh_done_svc() argument
431 ip_vs_mh_dest_changed(struct ip_vs_service * svc,struct ip_vs_dest * dest) ip_vs_mh_dest_changed() argument
474 ip_vs_mh_schedule(struct ip_vs_service * svc,const struct sk_buff * skb,struct ip_vs_iphdr * iph) ip_vs_mh_schedule() argument
[all...]
H A Dip_vs_wrr.c68 static int ip_vs_wrr_gcd_weight(struct ip_vs_service *svc)
74 list_for_each_entry(dest, &svc->destinations, n_list) { in ip_vs_wrr_gcd_weight()
90 static int ip_vs_wrr_max_weight(struct ip_vs_service *svc)
95 list_for_each_entry(dest, &svc->destinations, n_list) { in ip_vs_wrr_max_weight()
105 static int ip_vs_wrr_init_svc(struct ip_vs_service *svc)
116 mark->cl = list_entry(&svc->destinations, struct ip_vs_dest, n_list); in ip_vs_wrr_init_svc()
117 mark->di = ip_vs_wrr_gcd_weight(svc); in ip_vs_wrr_init_svc()
118 mark->mw = ip_vs_wrr_max_weight(svc) - (mark->di - 1); in ip_vs_wrr_init_svc()
120 svc->sched_data = mark; in ip_vs_wrr_init_svc()
126 static void ip_vs_wrr_done_svc(struct ip_vs_service *svc)
69 ip_vs_wrr_gcd_weight(struct ip_vs_service * svc) ip_vs_wrr_gcd_weight() argument
91 ip_vs_wrr_max_weight(struct ip_vs_service * svc) ip_vs_wrr_max_weight() argument
106 ip_vs_wrr_init_svc(struct ip_vs_service * svc) ip_vs_wrr_init_svc() argument
127 ip_vs_wrr_done_svc(struct ip_vs_service * svc) ip_vs_wrr_done_svc() argument
138 ip_vs_wrr_dest_changed(struct ip_vs_service * svc,struct ip_vs_dest * dest) ip_vs_wrr_dest_changed() argument
160 ip_vs_wrr_schedule(struct ip_vs_service * svc,const struct sk_buff * skb,struct ip_vs_iphdr * iph) ip_vs_wrr_schedule() argument
[all...]
H A Dip_vs_rr.c25 static int ip_vs_rr_init_svc(struct ip_vs_service *svc)
27 svc->sched_data = &svc->destinations; in ip_vs_rr_init_svc()
32 static int ip_vs_rr_del_dest(struct ip_vs_service *svc, struct ip_vs_dest *dest)
36 spin_lock_bh(&svc->sched_lock); in ip_vs_rr_del_dest()
37 p = (struct list_head *) svc->sched_data; in ip_vs_rr_del_dest()
42 svc->sched_data = p->next->prev; in ip_vs_rr_del_dest()
43 spin_unlock_bh(&svc->sched_lock); in ip_vs_rr_del_dest()
52 ip_vs_rr_schedule(struct ip_vs_service *svc, const struct sk_buff *skb,
61 spin_lock_bh(&svc in ip_vs_rr_schedule()
26 ip_vs_rr_init_svc(struct ip_vs_service * svc) ip_vs_rr_init_svc() argument
33 ip_vs_rr_del_dest(struct ip_vs_service * svc,struct ip_vs_dest * dest) ip_vs_rr_del_dest() argument
53 ip_vs_rr_schedule(struct ip_vs_service * svc,const struct sk_buff * skb,struct ip_vs_iphdr * iph) ip_vs_rr_schedule() argument
[all...]
H A Dip_vs_lblc.c104 struct ip_vs_service *svc; /* pointer back to service */
227 static void ip_vs_lblc_flush(struct ip_vs_service *svc)
229 struct ip_vs_lblc_table *tbl = svc->sched_data; in ip_vs_lblc_flush()
234 spin_lock_bh(&svc->sched_lock); in ip_vs_lblc_flush()
242 spin_unlock_bh(&svc->sched_lock); in ip_vs_lblc_flush()
245 static int sysctl_lblc_expiration(struct ip_vs_service *svc)
248 return svc->ipvs->sysctl_lblc_expiration; in sysctl_lblc_expiration()
254 static inline void ip_vs_lblc_full_check(struct ip_vs_service *svc)
256 struct ip_vs_lblc_table *tbl = svc->sched_data; in ip_vs_lblc_full_check()
265 spin_lock(&svc in ip_vs_lblc_full_check()
105 struct ip_vs_service *svc; /* pointer back to service */ global() member
228 ip_vs_lblc_flush(struct ip_vs_service * svc) ip_vs_lblc_flush() argument
246 sysctl_lblc_expiration(struct ip_vs_service * svc) sysctl_lblc_expiration() argument
255 ip_vs_lblc_full_check(struct ip_vs_service * svc) ip_vs_lblc_full_check() argument
297 struct ip_vs_service *svc = tbl->svc; ip_vs_lblc_check_expire() local
343 ip_vs_lblc_init_svc(struct ip_vs_service * svc) ip_vs_lblc_init_svc() argument
382 ip_vs_lblc_done_svc(struct ip_vs_service * svc) ip_vs_lblc_done_svc() argument
400 __ip_vs_lblc_schedule(struct ip_vs_service * svc) __ip_vs_lblc_schedule() argument
461 is_overloaded(struct ip_vs_dest * dest,struct ip_vs_service * svc) is_overloaded() argument
481 ip_vs_lblc_schedule(struct ip_vs_service * svc,const struct sk_buff * skb,struct ip_vs_iphdr * iph) ip_vs_lblc_schedule() argument
[all...]
H A Dip_vs_sched.c39 int ip_vs_bind_scheduler(struct ip_vs_service *svc,
45 ret = scheduler->init_service(svc); in ip_vs_bind_scheduler()
51 rcu_assign_pointer(svc->scheduler, scheduler); in ip_vs_bind_scheduler()
59 void ip_vs_unbind_scheduler(struct ip_vs_service *svc,
64 cur_sched = rcu_dereference_protected(svc->scheduler, 1); in ip_vs_unbind_scheduler()
70 sched->done_service(svc); in ip_vs_unbind_scheduler()
71 /* svc->scheduler can be set to NULL only by caller */ in ip_vs_unbind_scheduler()
142 void ip_vs_scheduler_err(struct ip_vs_service *svc, const char *msg)
144 struct ip_vs_scheduler *sched = rcu_dereference(svc->scheduler); in ip_vs_scheduler_err()
147 if (svc in ip_vs_scheduler_err()
40 ip_vs_bind_scheduler(struct ip_vs_service * svc,struct ip_vs_scheduler * scheduler) ip_vs_bind_scheduler() argument
60 ip_vs_unbind_scheduler(struct ip_vs_service * svc,struct ip_vs_scheduler * sched) ip_vs_unbind_scheduler() argument
143 ip_vs_scheduler_err(struct ip_vs_service * svc,const char * msg) ip_vs_scheduler_err() argument
[all...]
H A Dip_vs_lblcr.c276 struct ip_vs_service *svc; /* pointer back to service */
393 static void ip_vs_lblcr_flush(struct ip_vs_service *svc)
395 struct ip_vs_lblcr_table *tbl = svc->sched_data; in ip_vs_lblcr_flush()
400 spin_lock_bh(&svc->sched_lock); in ip_vs_lblcr_flush()
407 spin_unlock_bh(&svc->sched_lock); in ip_vs_lblcr_flush()
410 static int sysctl_lblcr_expiration(struct ip_vs_service *svc)
413 return svc->ipvs->sysctl_lblcr_expiration; in sysctl_lblcr_expiration()
419 static inline void ip_vs_lblcr_full_check(struct ip_vs_service *svc)
421 struct ip_vs_lblcr_table *tbl = svc->sched_data; in ip_vs_lblcr_full_check()
430 spin_lock(&svc in ip_vs_lblcr_full_check()
277 struct ip_vs_service *svc; /* pointer back to service */ global() member
394 ip_vs_lblcr_flush(struct ip_vs_service * svc) ip_vs_lblcr_flush() argument
411 sysctl_lblcr_expiration(struct ip_vs_service * svc) sysctl_lblcr_expiration() argument
420 ip_vs_lblcr_full_check(struct ip_vs_service * svc) ip_vs_lblcr_full_check() argument
461 struct ip_vs_service *svc = tbl->svc; ip_vs_lblcr_check_expire() local
506 ip_vs_lblcr_init_svc(struct ip_vs_service * svc) ip_vs_lblcr_init_svc() argument
545 ip_vs_lblcr_done_svc(struct ip_vs_service * svc) ip_vs_lblcr_done_svc() argument
563 __ip_vs_lblcr_schedule(struct ip_vs_service * svc) __ip_vs_lblcr_schedule() argument
625 is_overloaded(struct ip_vs_dest * dest,struct ip_vs_service * svc) is_overloaded() argument
645 ip_vs_lblcr_schedule(struct ip_vs_service * svc,const struct sk_buff * skb,struct ip_vs_iphdr * iph) ip_vs_lblcr_schedule() argument
[all...]
H A Dip_vs_sh.c103 ip_vs_sh_get(struct ip_vs_service *svc, struct ip_vs_sh_state *s,
106 unsigned int hash = ip_vs_sh_hashkey(svc->af, addr, port, 0); in ip_vs_sh_get()
120 ip_vs_sh_get_fallback(struct ip_vs_service *svc, struct ip_vs_sh_state *s,
128 ihash = ip_vs_sh_hashkey(svc->af, addr, port, 0); in ip_vs_sh_get_fallback()
143 hash = ip_vs_sh_hashkey(svc->af, addr, port, roffset); in ip_vs_sh_get_fallback()
162 ip_vs_sh_reassign(struct ip_vs_sh_state *s, struct ip_vs_service *svc)
172 p = &svc->destinations; in ip_vs_sh_reassign()
182 if (p == &svc->destinations) in ip_vs_sh_reassign()
227 static int ip_vs_sh_init_svc(struct ip_vs_service *svc)
236 svc in ip_vs_sh_init_svc()
104 ip_vs_sh_get(struct ip_vs_service * svc,struct ip_vs_sh_state * s,const union nf_inet_addr * addr,__be16 port) ip_vs_sh_get() argument
121 ip_vs_sh_get_fallback(struct ip_vs_service * svc,struct ip_vs_sh_state * s,const union nf_inet_addr * addr,__be16 port) ip_vs_sh_get_fallback() argument
163 ip_vs_sh_reassign(struct ip_vs_sh_state * s,struct ip_vs_service * svc) ip_vs_sh_reassign() argument
228 ip_vs_sh_init_svc(struct ip_vs_service * svc) ip_vs_sh_init_svc() argument
249 ip_vs_sh_done_svc(struct ip_vs_service * svc) ip_vs_sh_done_svc() argument
263 ip_vs_sh_dest_changed(struct ip_vs_service * svc,struct ip_vs_dest * dest) ip_vs_sh_dest_changed() argument
309 ip_vs_sh_schedule(struct ip_vs_service * svc,const struct sk_buff * skb,struct ip_vs_iphdr * iph) ip_vs_sh_schedule() argument
[all...]
H A Dip_vs_dh.c97 ip_vs_dh_reassign(struct ip_vs_dh_state *s, struct ip_vs_service *svc)
106 p = &svc->destinations; in ip_vs_dh_reassign()
115 if (p == &svc->destinations) in ip_vs_dh_reassign()
151 static int ip_vs_dh_init_svc(struct ip_vs_service *svc)
160 svc->sched_data = s; in ip_vs_dh_init_svc()
166 ip_vs_dh_reassign(s, svc); in ip_vs_dh_init_svc()
172 static void ip_vs_dh_done_svc(struct ip_vs_service *svc)
174 struct ip_vs_dh_state *s = svc->sched_data; in ip_vs_dh_done_svc()
186 static int ip_vs_dh_dest_changed(struct ip_vs_service *svc,
189 struct ip_vs_dh_state *s = svc in ip_vs_dh_dest_changed()
98 ip_vs_dh_reassign(struct ip_vs_dh_state * s,struct ip_vs_service * svc) ip_vs_dh_reassign() argument
152 ip_vs_dh_init_svc(struct ip_vs_service * svc) ip_vs_dh_init_svc() argument
173 ip_vs_dh_done_svc(struct ip_vs_service * svc) ip_vs_dh_done_svc() argument
187 ip_vs_dh_dest_changed(struct ip_vs_service * svc,struct ip_vs_dest * dest) ip_vs_dh_dest_changed() argument
213 ip_vs_dh_schedule(struct ip_vs_service * svc,const struct sk_buff * skb,struct ip_vs_iphdr * iph) ip_vs_dh_schedule() argument
[all...]
H A Dip_vs_wlc.c28 ip_vs_wlc_schedule(struct ip_vs_service *svc, const struct sk_buff *skb,
49 list_for_each_entry_rcu(dest, &svc->destinations, n_list) { in ip_vs_wlc_schedule()
57 ip_vs_scheduler_err(svc, "no destination available"); in ip_vs_wlc_schedule()
64 list_for_each_entry_continue_rcu(dest, &svc->destinations, n_list) { in ip_vs_wlc_schedule()
29 ip_vs_wlc_schedule(struct ip_vs_service * svc,const struct sk_buff * skb,struct ip_vs_iphdr * iph) ip_vs_wlc_schedule() argument
H A Dip_vs_sed.c56 ip_vs_sed_schedule(struct ip_vs_service *svc, const struct sk_buff *skb,
77 list_for_each_entry_rcu(dest, &svc->destinations, n_list) { in ip_vs_sed_schedule()
85 ip_vs_scheduler_err(svc, "no destination available"); in ip_vs_sed_schedule()
92 list_for_each_entry_continue_rcu(dest, &svc->destinations, n_list) { in ip_vs_sed_schedule()
57 ip_vs_sed_schedule(struct ip_vs_service * svc,const struct sk_buff * skb,struct ip_vs_iphdr * iph) ip_vs_sed_schedule() argument
H A Dip_vs_twos.c43 static struct ip_vs_dest *ip_vs_twos_schedule(struct ip_vs_service *svc,
54 list_for_each_entry_rcu(dest, &svc->destinations, n_list) { in ip_vs_twos_schedule()
65 ip_vs_scheduler_err(svc, "no destination available"); in ip_vs_twos_schedule()
77 list_for_each_entry_rcu(dest, &svc->destinations, n_list) { in ip_vs_twos_schedule()
44 ip_vs_twos_schedule(struct ip_vs_service * svc,const struct sk_buff * skb,struct ip_vs_iphdr * iph) ip_vs_twos_schedule() argument
H A Dip_vs_fo.c20 ip_vs_fo_schedule(struct ip_vs_service *svc, const struct sk_buff *skb,
31 list_for_each_entry_rcu(dest, &svc->destinations, n_list) { in ip_vs_fo_schedule()
48 ip_vs_scheduler_err(svc, "no destination available"); in ip_vs_fo_schedule()
21 ip_vs_fo_schedule(struct ip_vs_service * svc,const struct sk_buff * skb,struct ip_vs_iphdr * iph) ip_vs_fo_schedule() argument
H A Dip_vs_lc.c23 ip_vs_lc_schedule(struct ip_vs_service *svc, const struct sk_buff *skb,
40 list_for_each_entry_rcu(dest, &svc->destinations, n_list) { in ip_vs_lc_schedule()
52 ip_vs_scheduler_err(svc, "no destination available"); in ip_vs_lc_schedule()
24 ip_vs_lc_schedule(struct ip_vs_service * svc,const struct sk_buff * skb,struct ip_vs_iphdr * iph) ip_vs_lc_schedule() argument
/linux/drivers/soc/qcom/
H A Dqmi_interface.c37 struct qmi_service *svc; in qmi_recv_new_server() local
47 svc = kzalloc(sizeof(*svc), GFP_KERNEL); in qmi_recv_new_server()
48 if (!svc) in qmi_recv_new_server()
51 svc->service = service; in qmi_recv_new_server()
52 svc->version = instance & 0xff; in qmi_recv_new_server()
53 svc->instance = instance >> 8; in qmi_recv_new_server()
54 svc->node = node; in qmi_recv_new_server()
55 svc->port = port; in qmi_recv_new_server()
57 ret = ops->new_server(qmi, svc); in qmi_recv_new_server()
59 kfree(svc); in qmi_recv_new_server()
[all …]
H A Dapr.c62 spin_lock_irqsave(&adev->svc.lock, flags); in apr_send_pkt()
66 hdr->src_svc = adev->svc.id; in apr_send_pkt()
68 hdr->dest_svc = adev->svc.id; in apr_send_pkt()
71 spin_unlock_irqrestore(&adev->svc.lock, flags); in apr_send_pkt()
95 struct pkt_router_svc *svc; in gpr_alloc_port() local
102 svc = port; in gpr_alloc_port()
103 svc->callback = cb; in gpr_alloc_port()
104 svc->pr = pr; in gpr_alloc_port()
105 svc->priv = priv; in gpr_alloc_port()
106 svc->dev = dev; in gpr_alloc_port()
[all …]
/linux/drivers/thunderbolt/
H A Ddma_test.c93 const struct tb_service *svc; member
225 dev_warn(&dt->svc->dev, "failed to disable DMA paths\n"); in dma_test_stop_rings()
247 dev_dbg(&dt->svc->dev, "packet %u/%u received\n", dt->packets_received, in dma_test_rx_callback()
349 dev_dbg(&dt->svc->dev, "packet %u/%u sent\n", dt->packets_sent, in dma_test_submit_tx()
361 struct tb_service *svc = data; \
362 struct dma_test *dt = tb_service_get_drvdata(svc); \
374 struct tb_service *svc = data; \
375 struct dma_test *dt = tb_service_get_drvdata(svc); \
509 struct tb_service *svc = data; in test_store() local
510 struct dma_test *dt = tb_service_get_drvdata(svc); in test_store()
[all …]
H A Dxdomain.c907 struct tb_service *svc = container_of(dev, struct tb_service, dev); in key_show() local
913 return sysfs_emit(buf, "%*pE\n", (int)strlen(svc->key), svc->key); in key_show()
917 static int get_modalias(const struct tb_service *svc, char *buf, size_t size) in get_modalias() argument
919 return snprintf(buf, size, "tbsvc:k%sp%08Xv%08Xr%08X", svc->key, in get_modalias()
920 svc->prtcid, svc->prtcvers, svc->prtcrevs); in get_modalias()
926 struct tb_service *svc = container_of(dev, struct tb_service, dev); in modalias_show() local
929 get_modalias(svc, buf, PAGE_SIZE - 2); in modalias_show()
937 struct tb_service *svc = container_of(dev, struct tb_service, dev); in prtcid_show() local
939 return sysfs_emit(buf, "%u\n", svc->prtcid); in prtcid_show()
946 struct tb_service *svc = container_of(dev, struct tb_service, dev); in prtcvers_show() local
[all …]
H A Ddomain.c23 const struct tb_service *svc) in match_service_id() argument
26 if (strcmp(id->protocol_key, svc->key)) in match_service_id()
31 if (id->protocol_id != svc->prtcid) in match_service_id()
36 if (id->protocol_version != svc->prtcvers) in match_service_id()
41 if (id->protocol_revision != svc->prtcrevs) in match_service_id()
53 struct tb_service *svc; in __tb_service_match() local
55 svc = tb_to_service(dev); in __tb_service_match()
56 if (!svc) in __tb_service_match()
64 if (match_service_id(ids, svc)) in __tb_service_match()
78 struct tb_service *svc = tb_to_service(dev); in tb_service_probe() local
[all …]
/linux/Documentation/driver-api/firmware/
H A Dother_interfaces.rst35 .. kernel-doc:: include/linux/firmware/intel/stratix10-svc-client.h
38 .. kernel-doc:: include/linux/firmware/intel/stratix10-svc-client.h
41 .. kernel-doc:: include/linux/firmware/intel/stratix10-svc-client.h
44 .. kernel-doc:: include/linux/firmware/intel/stratix10-svc-client.h
47 .. kernel-doc:: include/linux/firmware/intel/stratix10-svc-client.h
50 .. kernel-doc:: drivers/firmware/stratix10-svc.c
/linux/net/sunrpc/
H A Dsvcauth.c188 struct svc_cred *svc) in svcauth_map_clnt_to_svc_cred_local() argument
193 memset(svc, 0, sizeof(struct svc_cred)); in svcauth_map_clnt_to_svc_cred_local()
195 svc->cr_uid = KUIDT_INIT(from_kuid_munged(userns, cred->fsuid)); in svcauth_map_clnt_to_svc_cred_local()
196 svc->cr_gid = KGIDT_INIT(from_kgid_munged(userns, cred->fsgid)); in svcauth_map_clnt_to_svc_cred_local()
197 svc->cr_flavor = clnt->cl_auth->au_flavor; in svcauth_map_clnt_to_svc_cred_local()
199 svc->cr_group_info = get_group_info(cred->group_info); in svcauth_map_clnt_to_svc_cred_local()
201 svc->cr_principal = NULL; in svcauth_map_clnt_to_svc_cred_local()
202 svc->cr_gss_mech = NULL; in svcauth_map_clnt_to_svc_cred_local()
/linux/sound/usb/qcom/
H A Dqc_audio_offload.c349 struct uaudio_qmi_svc *svc = uaudio_svc; in uaudio_send_disconnect_ind() local
363 ret = qmi_send_indication(svc->uaudio_svc_hdl, &svc->client_sq, in uaudio_send_disconnect_ind()
853 struct uaudio_qmi_svc *svc = uaudio_svc; in qmi_bye_cb() local
855 if (svc->uaudio_svc_hdl != handle) in qmi_bye_cb()
858 if (svc->client_connected && svc->client_sq.sq_node == node) { in qmi_bye_cb()
862 svc->client_sq.sq_node = 0; in qmi_bye_cb()
863 svc->client_sq.sq_port = 0; in qmi_bye_cb()
864 svc->client_sq.sq_family = 0; in qmi_bye_cb()
865 svc->client_connected = false; in qmi_bye_cb()
883 struct uaudio_qmi_svc *svc; in qmi_svc_disconnect_cb() local
[all …]
/linux/include/net/
H A Dip_vs.h748 struct ip_vs_service __rcu *svc; /* service it belongs to */ member
767 int (*init_service)(struct ip_vs_service *svc);
769 void (*done_service)(struct ip_vs_service *svc);
771 int (*add_dest)(struct ip_vs_service *svc, struct ip_vs_dest *dest);
773 int (*del_dest)(struct ip_vs_service *svc, struct ip_vs_dest *dest);
775 int (*upd_dest)(struct ip_vs_service *svc, struct ip_vs_dest *dest);
778 struct ip_vs_dest* (*schedule)(struct ip_vs_service *svc,
798 struct ip_vs_conn* (*conn_out)(struct ip_vs_service *svc,
1298 struct ip_vs_conn *ip_vs_new_conn_out(struct ip_vs_service *svc,
1520 int ip_vs_bind_scheduler(struct ip_vs_service *svc,
[all …]

1234