/Linux-v6.6/arch/um/drivers/ |
D | daemon_user.c | 48 static int connect_to_switch(struct daemon_data *pri) in connect_to_switch() argument 50 struct sockaddr_un *ctl_addr = pri->ctl_addr; in connect_to_switch() 51 struct sockaddr_un *local_addr = pri->local_addr; in connect_to_switch() 56 pri->control = socket(AF_UNIX, SOCK_STREAM, 0); in connect_to_switch() 57 if (pri->control < 0) { in connect_to_switch() 64 if (connect(pri->control, (struct sockaddr *) ctl_addr, in connect_to_switch() 98 n = write(pri->control, &req, sizeof(req)); in connect_to_switch() 106 n = read(pri->control, sun, sizeof(*sun)); in connect_to_switch() 114 pri->data_addr = sun; in connect_to_switch() 122 close(pri->control); in connect_to_switch() [all …]
|
D | pcap_user.c | 18 struct pcap_data *pri = data; in pcap_user_init() local 22 p = pcap_open_live(pri->host_if, ETH_MAX_PACKET + ETH_HEADER_OTHER, in pcap_user_init() 23 pri->promisc, 0, errors); in pcap_user_init() 30 pri->dev = dev; in pcap_user_init() 31 pri->pcap = p; in pcap_user_init() 37 struct pcap_data *pri = data; in pcap_user_open() local 41 if (pri->pcap == NULL) in pcap_user_open() 44 if (pri->filter != NULL) { in pcap_user_open() 45 err = dev_netmask(pri->dev, &netmask); in pcap_user_open() 51 pri->compiled = uml_kmalloc(sizeof(struct bpf_program), in pcap_user_open() [all …]
|
D | umcast_user.c | 43 struct umcast_data *pri = data; in umcast_user_init() local 45 pri->remote_addr = new_addr(pri->addr, pri->rport); in umcast_user_init() 46 if (pri->unicast) in umcast_user_init() 47 pri->listen_addr = new_addr(NULL, pri->lport); in umcast_user_init() 49 pri->listen_addr = pri->remote_addr; in umcast_user_init() 50 pri->dev = dev; in umcast_user_init() 56 struct umcast_data *pri = data; in umcast_remove() local 58 kfree(pri->listen_addr); in umcast_remove() 59 if (pri->unicast) in umcast_remove() 60 kfree(pri->remote_addr); in umcast_remove() [all …]
|
D | slirp_user.c | 16 struct slirp_data *pri = data; in slirp_user_init() local 18 pri->dev = dev; in slirp_user_init() 51 struct slirp_data *pri = data; in slirp_open() local 58 err = slirp_tramp(pri->argw.argv, fds[1]); in slirp_open() 65 pri->slave = fds[1]; in slirp_open() 66 pri->slip.pos = 0; in slirp_open() 67 pri->slip.esc = 0; in slirp_open() 68 pri->pid = err; in slirp_open() 79 struct slirp_data *pri = data; in slirp_close() local 83 close(pri->slave); in slirp_close() [all …]
|
D | slip_user.c | 21 struct slip_data *pri = data; in slip_user_init() local 23 pri->dev = dev; in slip_user_init() 125 struct slip_data *pri = data; in slip_open() local 152 pri->slave = sfd; in slip_open() 153 pri->slip.pos = 0; in slip_open() 154 pri->slip.esc = 0; in slip_open() 155 if (pri->gate_addr != NULL) { in slip_open() 157 strcpy(gate_buf, pri->gate_addr); in slip_open() 166 err = os_get_ifname(pri->slave, pri->name); in slip_open() 172 iter_addresses(pri->dev, open_addr, pri->name); in slip_open() [all …]
|
D | vde_user.c | 15 struct vde_data *pri = data; in vde_user_init() local 19 pri->dev = dev; in vde_user_init() 21 conn = vde_open(pri->vde_switch, pri->descr, pri->args); in vde_user_init() 32 pri->conn = conn; in vde_user_init() 39 struct vde_data *pri = data; in vde_user_open() local 41 if (pri->conn != NULL) in vde_user_open() 42 return vde_datafd(pri->conn); in vde_user_open() 50 struct vde_data *pri = data; in vde_remove() local 52 if (pri->conn != NULL) { in vde_remove() 54 vde_close(pri->conn); in vde_remove() [all …]
|
D | vde_kern.c | 19 struct uml_net_private *pri; in vde_init() local 22 pri = netdev_priv(dev); in vde_init() 23 vpri = (struct vde_data *) pri->user; in vde_init() 41 struct vde_data *pri = (struct vde_data *) &lp->user; in vde_read() local 43 if (pri->conn != NULL) in vde_read() 44 return vde_user_read(pri->conn, skb_mac_header(skb), in vde_read() 53 struct vde_data *pri = (struct vde_data *) &lp->user; in vde_write() local 55 if (pri->conn != NULL) in vde_write() 56 return vde_user_write((void *)pri->conn, skb->data, in vde_write()
|
D | daemon_kern.c | 21 struct uml_net_private *pri; in daemon_init() local 25 pri = netdev_priv(dev); in daemon_init() 26 dpri = (struct daemon_data *) pri->user; in daemon_init()
|
D | slip.h | 18 extern int slip_user_read(int fd, void *buf, int len, struct slip_data *pri); 19 extern int slip_user_write(int fd, void *buf, int len, struct slip_data *pri);
|
D | slirp.h | 30 extern int slirp_user_read(int fd, void *buf, int len, struct slirp_data *pri); 32 struct slirp_data *pri);
|
D | pcap_kern.c | 20 struct uml_net_private *pri; in pcap_init_kern() local 24 pri = netdev_priv(dev); in pcap_init_kern() 25 ppri = (struct pcap_data *) pri->user; in pcap_init_kern()
|
/Linux-v6.6/arch/um/os-Linux/drivers/ |
D | tuntap_user.c | 22 struct tuntap_data *pri = data; in tuntap_user_init() local 24 pri->dev = dev; in tuntap_user_init() 31 struct tuntap_data *pri = data; in tuntap_add_addr() local 33 tap_check_ips(pri->gate_addr, addr); in tuntap_add_addr() 34 if ((pri->fd == -1) || pri->fixed_config) in tuntap_add_addr() 36 open_addr(addr, netmask, pri->dev_name); in tuntap_add_addr() 42 struct tuntap_data *pri = data; in tuntap_del_addr() local 44 if ((pri->fd == -1) || pri->fixed_config) in tuntap_del_addr() 46 close_addr(addr, netmask, pri->dev_name); in tuntap_del_addr() 131 struct tuntap_data *pri = data; in tuntap_open() local [all …]
|
D | ethertap_user.c | 24 struct ethertap_data *pri = data; in etap_user_init() local 26 pri->dev = dev; in etap_user_init() 139 struct ethertap_data *pri = data; in etap_open() local 143 err = tap_open_common(pri->dev, pri->gate_addr); in etap_open() 163 err = etap_tramp(pri->dev_name, pri->gate_addr, control_fds[0], in etap_open() 182 pri->data_fd = data_fds[0]; in etap_open() 183 pri->control_fd = control_fds[0]; in etap_open() 184 iter_addresses(pri->dev, etap_open_addr, &pri->control_fd); in etap_open() 198 struct ethertap_data *pri = data; in etap_close() local 200 iter_addresses(pri->dev, etap_close_addr, &pri->control_fd); in etap_close() [all …]
|
D | tuntap_kern.c | 20 struct uml_net_private *pri; in tuntap_init() local 24 pri = netdev_priv(dev); in tuntap_init() 25 tpri = (struct tuntap_data *) pri->user; in tuntap_init()
|
D | ethertap_kern.c | 21 struct uml_net_private *pri; in etap_init() local 25 pri = netdev_priv(dev); in etap_init() 26 epri = (struct ethertap_data *) pri->user; in etap_init()
|
/Linux-v6.6/drivers/pci/ |
D | ats.c | 200 int pri = pdev->pri_cap; in pci_enable_pri() local 216 if (!pri) in pci_enable_pri() 219 pci_read_config_word(pdev, pri + PCI_PRI_STATUS, &status); in pci_enable_pri() 223 pci_read_config_dword(pdev, pri + PCI_PRI_MAX_REQ, &max_requests); in pci_enable_pri() 226 pci_write_config_dword(pdev, pri + PCI_PRI_ALLOC_REQ, reqs); in pci_enable_pri() 229 pci_write_config_word(pdev, pri + PCI_PRI_CTRL, control); in pci_enable_pri() 245 int pri = pdev->pri_cap; in pci_disable_pri() local 254 if (!pri) in pci_disable_pri() 257 pci_read_config_word(pdev, pri + PCI_PRI_CTRL, &control); in pci_disable_pri() 259 pci_write_config_word(pdev, pri + PCI_PRI_CTRL, control); in pci_disable_pri() [all …]
|
/Linux-v6.6/drivers/isdn/mISDN/ |
D | clock.c | 55 int pri = -128; in select_iclock() local 58 if (iclock->pri > pri) { in select_iclock() 59 pri = iclock->pri; in select_iclock() 87 *mISDN_register_clock(char *name, int pri, clockctl_func_t *ctl, void *priv) in mISDN_register_clock() argument 93 printk(KERN_DEBUG "%s: %s %d\n", __func__, name, pri); in mISDN_register_clock() 100 iclock->pri = pri; in mISDN_register_clock() 118 iclock->pri); in mISDN_unregister_clock()
|
D | l1oip_core.c | 296 | (hc->pri ? 0x20 : 0x00) /* type */ in l1oip_socket_send() 473 if (((*buf) & 0x20) && !hc->pri) { in l1oip_socket_parse() 478 if (!((*buf) & 0x20) && hc->pri) { in l1oip_socket_parse() 1048 if (hc->pri) { in l1oip_dctrl() 1056 if (!hc->pri) { in l1oip_dctrl() 1286 init_card(struct l1oip *hc, int pri, int bundle) in init_card() argument 1295 hc->pri = pri; in init_card() 1296 hc->d_idx = pri ? 16 : 3; in init_card() 1297 hc->b_num = pri ? 30 : 2; in init_card() 1299 if (hc->pri) in init_card() [all …]
|
/Linux-v6.6/drivers/gpu/drm/ci/ |
D | testlist.txt | 1399 kms_frontbuffer_tracking@fbc-1p-primscrn-pri-indfb-draw-mmap-cpu 1400 kms_frontbuffer_tracking@fbc-1p-primscrn-pri-indfb-draw-mmap-gtt 1401 kms_frontbuffer_tracking@fbc-1p-primscrn-pri-indfb-draw-mmap-wc 1402 kms_frontbuffer_tracking@fbc-1p-primscrn-pri-indfb-draw-pwrite 1403 kms_frontbuffer_tracking@fbc-1p-primscrn-pri-indfb-draw-blt 1404 kms_frontbuffer_tracking@fbc-1p-primscrn-pri-indfb-draw-render 1405 kms_frontbuffer_tracking@fbc-1p-primscrn-pri-shrfb-draw-mmap-cpu 1406 kms_frontbuffer_tracking@fbc-1p-primscrn-pri-shrfb-draw-mmap-gtt 1407 kms_frontbuffer_tracking@fbc-1p-primscrn-pri-shrfb-draw-mmap-wc 1408 kms_frontbuffer_tracking@fbc-1p-primscrn-pri-shrfb-draw-pwrite [all …]
|
/Linux-v6.6/drivers/pinctrl/ |
D | pinctrl-sx150x.c | 90 } pri; member 159 .pri.x123 = { 179 .pri.x123 = { 202 .pri.x123 = { 225 .pri.x456 = { 244 .pri.x456 = { 266 .pri.x456 = { 289 .pri.x789 = { 310 .pri.x789 = { 331 .pri.x789 = { [all …]
|
/Linux-v6.6/drivers/gpu/drm/nouveau/include/nvkm/core/ |
D | device.h | 29 void __iomem *pri; member 114 #define nvkm_rd08(d,a) ioread8((d)->pri + (a)) 115 #define nvkm_rd16(d,a) ioread16_native((d)->pri + (a)) 116 #define nvkm_rd32(d,a) ioread32_native((d)->pri + (a)) 117 #define nvkm_wr08(d,a,v) iowrite8((v), (d)->pri + (a)) 118 #define nvkm_wr16(d,a,v) iowrite16_native((v), (d)->pri + (a)) 119 #define nvkm_wr32(d,a,v) iowrite32_native((v), (d)->pri + (a))
|
/Linux-v6.6/arch/x86/kernel/cpu/ |
D | hypervisor.c | 65 uint32_t pri, max_pri = 0; in detect_hypervisor_vendor() local 71 pri = (*p)->detect(); in detect_hypervisor_vendor() 72 if (pri > max_pri) { in detect_hypervisor_vendor() 73 max_pri = pri; in detect_hypervisor_vendor()
|
/Linux-v6.6/drivers/infiniband/hw/mlx4/ |
D | qp.c | 767 qp->pri.vid = 0xFFFF; in _mlx4_ib_create_qp_rss() 1412 if (qp->pri.smac || (!qp->pri.smac && qp->pri.smac_port)) { in destroy_qp_common() 1413 mlx4_unregister_mac(dev->dev, qp->pri.smac_port, qp->pri.smac); in destroy_qp_common() 1414 qp->pri.smac = 0; in destroy_qp_common() 1415 qp->pri.smac_port = 0; in destroy_qp_common() 1421 if (qp->pri.vid < 0x1000) { in destroy_qp_common() 1422 mlx4_unregister_vlan(dev->dev, qp->pri.vlan_port, qp->pri.vid); in destroy_qp_common() 1423 qp->pri.vid = 0xFFFF; in destroy_qp_common() 1424 qp->pri.candidate_vid = 0xFFFF; in destroy_qp_common() 1425 qp->pri.update_vid = 0; in destroy_qp_common() [all …]
|
/Linux-v6.6/include/linux/ |
D | memory.h | 138 static inline int hotplug_memory_notifier(notifier_fn_t fn, int pri) in hotplug_memory_notifier() argument 164 #define hotplug_memory_notifier(fn, pri) ({ \ argument 166 { .notifier_call = fn, .priority = pri };\
|
/Linux-v6.6/arch/mips/include/asm/ |
D | traps.h | 32 #define nmi_notifier(fn, pri) \ argument 36 .priority = pri \
|