Home
last modified time | relevance | path

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

/linux-4.19.296/drivers/thunderbolt/
Dxdomain.c577 struct tb_service *svc = container_of(dev, struct tb_service, dev); in key_show() local
583 return sprintf(buf, "%*pEp\n", (int)strlen(svc->key), svc->key); in key_show()
587 static int get_modalias(struct tb_service *svc, char *buf, size_t size) in get_modalias() argument
589 return snprintf(buf, size, "tbsvc:k%sp%08Xv%08Xr%08X", svc->key, in get_modalias()
590 svc->prtcid, svc->prtcvers, svc->prtcrevs); in get_modalias()
596 struct tb_service *svc = container_of(dev, struct tb_service, dev); in modalias_show() local
599 get_modalias(svc, buf, PAGE_SIZE - 2); in modalias_show()
607 struct tb_service *svc = container_of(dev, struct tb_service, dev); in prtcid_show() local
609 return sprintf(buf, "%u\n", svc->prtcid); in prtcid_show()
616 struct tb_service *svc = container_of(dev, struct tb_service, dev); in prtcvers_show() local
[all …]
Ddomain.c25 const struct tb_service *svc) in match_service_id() argument
28 if (strcmp(id->protocol_key, svc->key)) in match_service_id()
33 if (id->protocol_id != svc->prtcid) in match_service_id()
38 if (id->protocol_version != svc->prtcvers) in match_service_id()
43 if (id->protocol_revision != svc->prtcrevs) in match_service_id()
55 struct tb_service *svc; in __tb_service_match() local
57 svc = tb_to_service(dev); in __tb_service_match()
58 if (!svc) in __tb_service_match()
66 if (match_service_id(ids, svc)) in __tb_service_match()
80 struct tb_service *svc = tb_to_service(dev); in tb_service_probe() local
[all …]
/linux-4.19.296/include/linux/
Dthunderbolt.h357 static inline struct tb_service *tb_service_get(struct tb_service *svc) in tb_service_get() argument
359 if (svc) in tb_service_get()
360 get_device(&svc->dev); in tb_service_get()
361 return svc; in tb_service_get()
364 static inline void tb_service_put(struct tb_service *svc) in tb_service_put() argument
366 if (svc) in tb_service_put()
367 put_device(&svc->dev); in tb_service_put()
392 int (*probe)(struct tb_service *svc, const struct tb_service_id *id);
393 void (*remove)(struct tb_service *svc);
394 void (*shutdown)(struct tb_service *svc);
[all …]
/linux-4.19.296/include/net/
Dip_vs.h683 struct ip_vs_service __rcu *svc; /* service it belongs to */ member
701 int (*init_service)(struct ip_vs_service *svc);
703 void (*done_service)(struct ip_vs_service *svc);
705 int (*add_dest)(struct ip_vs_service *svc, struct ip_vs_dest *dest);
707 int (*del_dest)(struct ip_vs_service *svc, struct ip_vs_dest *dest);
709 int (*upd_dest)(struct ip_vs_service *svc, struct ip_vs_dest *dest);
712 struct ip_vs_dest* (*schedule)(struct ip_vs_service *svc,
732 struct ip_vs_conn* (*conn_out)(struct ip_vs_service *svc,
1157 struct ip_vs_conn *ip_vs_new_conn_out(struct ip_vs_service *svc,
1379 int ip_vs_bind_scheduler(struct ip_vs_service *svc,
[all …]
/linux-4.19.296/include/linux/soc/qcom/
Dqmi.h146 int (*new_server)(struct qmi_handle *qmi, struct qmi_service *svc);
147 void (*del_server)(struct qmi_handle *qmi, struct qmi_service *svc);
/linux-4.19.296/fs/lockd/
DMakefile8 lockd-objs-y := clntlock.o clntproc.o clntxdr.o host.o svc.o svclock.o \
/linux-4.19.296/include/uapi/linux/
Datmsvc.h38 struct sockaddr_atmsvc svc; /* SVC address */ member