Home
last modified time | relevance | path

Searched refs:pvc (Results 1 – 11 of 11) sorted by relevance

/Linux-v5.4/drivers/net/wan/
Dhdlc_fr.c177 struct pvc_device *pvc = state(hdlc)->first_pvc; in find_pvc() local
179 while (pvc) { in find_pvc()
180 if (pvc->dlci == dlci) in find_pvc()
181 return pvc; in find_pvc()
182 if (pvc->dlci > dlci) in find_pvc()
184 pvc = pvc->next; in find_pvc()
194 struct pvc_device *pvc, **pvc_p = &state(hdlc)->first_pvc; in add_pvc() local
204 pvc = kzalloc(sizeof(*pvc), GFP_ATOMIC); in add_pvc()
206 printk(KERN_DEBUG "add_pvc: allocated pvc %p, frad %p\n", pvc, dev); in add_pvc()
208 if (!pvc) in add_pvc()
[all …]
/Linux-v5.4/net/atm/
Dsignaling.c90 session_vcc->itf = msg->pvc.sap_addr.itf; in sigd_send()
91 session_vcc->vpi = msg->pvc.sap_addr.vpi; in sigd_send()
92 session_vcc->vci = msg->pvc.sap_addr.vci; in sigd_send()
143 struct atm_vcc *listen_vcc, const struct sockaddr_atmpvc *pvc, in sigd_enq2() argument
167 if (pvc) in sigd_enq2()
168 msg->pvc = *pvc; in sigd_enq2()
180 struct atm_vcc *listen_vcc, const struct sockaddr_atmpvc *pvc, in sigd_enq() argument
183 sigd_enq2(vcc, type, listen_vcc, pvc, svc, vcc ? &vcc->qos : NULL, 0); in sigd_enq()
Dsignaling.h24 struct atm_vcc *listen_vcc,const struct sockaddr_atmpvc *pvc,
27 struct atm_vcc *listen_vcc,const struct sockaddr_atmpvc *pvc,
Daddr.c42 struct sockaddr_atmpvc pvc; in notify_sigd() local
44 pvc.sap_addr.itf = dev->number; in notify_sigd()
45 sigd_enq(NULL, as_itf_notify, NULL, &pvc, NULL); in notify_sigd()
Dcommon.c817 struct sockaddr_atmpvc pvc; in vcc_getsockopt() local
821 memset(&pvc, 0, sizeof(pvc)); in vcc_getsockopt()
822 pvc.sap_family = AF_ATMPVC; in vcc_getsockopt()
823 pvc.sap_addr.itf = vcc->dev->number; in vcc_getsockopt()
824 pvc.sap_addr.vpi = vcc->vpi; in vcc_getsockopt()
825 pvc.sap_addr.vci = vcc->vci; in vcc_getsockopt()
826 return copy_to_user(optval, &pvc, sizeof(pvc)) ? -EFAULT : 0; in vcc_getsockopt()
DMakefile6 atm-y := addr.o pvc.o signaling.o svc.o ioctl.o common.o atm_misc.o raw.o resources.o atm_sysfs.o
Dsvc.c380 error = vcc_connect(newsock, msg->pvc.sap_addr.itf, in svc_accept()
381 msg->pvc.sap_addr.vpi, in svc_accept()
382 msg->pvc.sap_addr.vci); in svc_accept()
/Linux-v5.4/net/sched/
Dsch_atm.c621 struct sockaddr_atmpvc pvc; in atm_tc_dump_class() local
624 memset(&pvc, 0, sizeof(pvc)); in atm_tc_dump_class()
625 pvc.sap_family = AF_ATMPVC; in atm_tc_dump_class()
626 pvc.sap_addr.itf = flow->vcc->dev ? flow->vcc->dev->number : -1; in atm_tc_dump_class()
627 pvc.sap_addr.vpi = flow->vcc->vpi; in atm_tc_dump_class()
628 pvc.sap_addr.vci = flow->vcc->vci; in atm_tc_dump_class()
629 if (nla_put(skb, TCA_ATM_ADDR, sizeof(pvc), &pvc)) in atm_tc_dump_class()
/Linux-v5.4/arch/powerpc/kvm/
Dbook3s_hv.c2835 static bool can_piggyback(struct kvmppc_vcore *pvc, struct core_info *cip, in can_piggyback() argument
2838 if (cip->total_threads + pvc->num_threads > target_threads) in can_piggyback()
2841 return can_dynamic_split(pvc, cip); in can_piggyback()
2866 struct kvmppc_vcore *pvc, *vcnext; in collect_piggybacks() local
2869 list_for_each_entry_safe(pvc, vcnext, &lp->list, preempt_list) { in collect_piggybacks()
2870 if (!spin_trylock(&pvc->lock)) in collect_piggybacks()
2872 prepare_threads(pvc); in collect_piggybacks()
2873 if (!pvc->n_runnable || !pvc->kvm->arch.mmu_ready) { in collect_piggybacks()
2874 list_del_init(&pvc->preempt_list); in collect_piggybacks()
2875 if (pvc->runner == NULL) { in collect_piggybacks()
[all …]
/Linux-v5.4/include/uapi/linux/
Datmsvc.h33 struct sockaddr_atmpvc pvc; /* indicate, okay (connect) */ member
/Linux-v5.4/Documentation/networking/
Dgeneric-hdlc.txt47 any IP address to it) before using pvc devices.