/kernel/linux/common_modules/newip/src/linux-5.10/drivers/net/bt/ |
D | btdev.h | 175 #define set_state(vn, st) bt_virnet_set_state(vn, st) argument 176 static inline void bt_virnet_set_state(struct bt_virnet *vn, in bt_virnet_set_state() argument 179 vn->state = state; in bt_virnet_set_state() 182 static inline const struct cdev *bt_virnet_get_cdev(const struct bt_virnet *vn) in bt_virnet_get_cdev() argument 184 if (unlikely(!vn->io_file) || unlikely(!vn->io_file->bt_cdev)) in bt_virnet_get_cdev() 187 return vn->io_file->bt_cdev->cdev; in bt_virnet_get_cdev() 190 static inline const int bt_virnet_get_cdev_number(const struct bt_virnet *vn, dev_t *number) in bt_virnet_get_cdev_number() argument 192 if (unlikely(!vn->io_file) || unlikely(!vn->io_file->bt_cdev) || in bt_virnet_get_cdev_number() 193 unlikely(!vn->io_file->bt_cdev->cdev) || unlikely(!number)) in bt_virnet_get_cdev_number() 196 *number = vn->io_file->bt_cdev->cdev->dev; in bt_virnet_get_cdev_number() [all …]
|
D | btdev.c | 706 static int bt_table_add_device(struct bt_table *tbl, struct bt_virnet *vn) in bt_table_add_device() argument 715 vnet = bt_table_find(tbl, ndev_name(vn)); in bt_table_add_device() 717 btdev_dbg_err("found duplicated device %s", ndev_name(vn)); in bt_table_add_device() 721 btdev_dbg("%s has been added", ndev_name(vn)); in bt_table_add_device() 723 list_add_tail(&vn->virnet_entry, &tbl->head); in bt_table_add_device() 731 static void bt_table_remove_device(struct bt_table *tbl, struct bt_virnet *vn) in bt_table_remove_device() argument 736 btdev_dbg("%s has been removed", ndev_name(vn)); in bt_table_remove_device() 738 list_del(&vn->virnet_entry); in bt_table_remove_device()
|
/kernel/linux/linux-5.10/fs/reiserfs/ |
D | fix_node.c | 54 struct virtual_node *vn = tb->tb_vn; in create_virtual_node() local 61 vn->vn_size = in create_virtual_node() 66 vn->vn_nr_item = (vn->vn_size - DC_SIZE) / (DC_SIZE + KEY_SIZE); in create_virtual_node() 71 vn->vn_nr_item = in create_virtual_node() 72 B_NR_ITEMS(Sh) + ((vn->vn_mode == M_INSERT) ? 1 : 0) - in create_virtual_node() 73 ((vn->vn_mode == M_DELETE) ? 1 : 0); in create_virtual_node() 76 vn->vn_vi = (struct virtual_item *)(tb->tb_vn + 1); in create_virtual_node() 77 memset(vn->vn_vi, 0, vn->vn_nr_item * sizeof(struct virtual_item)); in create_virtual_node() 78 vn->vn_free_ptr += vn->vn_nr_item * sizeof(struct virtual_item); in create_virtual_node() 85 && (vn->vn_mode != M_DELETE || vn->vn_affected_item_num)) in create_virtual_node() [all …]
|
D | item_ops.c | 60 static int sd_create_vi(struct virtual_node *vn, in sd_create_vi() argument 150 static int direct_create_vi(struct virtual_node *vn, in direct_create_vi() argument 288 static int indirect_create_vi(struct virtual_node *vn, in indirect_create_vi() argument 458 static int direntry_create_vi(struct virtual_node *vn, in direntry_create_vi() argument 479 ((is_affected) ? ((vn->vn_mode == M_CUT) ? -1 : in direntry_create_vi() 480 (vn->vn_mode == M_PASTE ? 1 : 0)) : 0); in direntry_create_vi() 483 j = old_entry_num(is_affected, i, vn->vn_pos_in_item, in direntry_create_vi() 484 vn->vn_mode); in direntry_create_vi() 493 if (is_affected && vn->vn_mode == M_PASTE) in direntry_create_vi() 494 dir_u->entry_sizes[vn->vn_pos_in_item] = insert_size; in direntry_create_vi() [all …]
|
/kernel/linux/linux-5.10/net/8021q/ |
D | vlanproc.c | 94 struct vlan_net *vn = net_generic(net, vlan_net_id); in vlan_proc_cleanup() local 96 if (vn->proc_vlan_conf) in vlan_proc_cleanup() 97 remove_proc_entry(name_conf, vn->proc_vlan_dir); in vlan_proc_cleanup() 99 if (vn->proc_vlan_dir) in vlan_proc_cleanup() 113 struct vlan_net *vn = net_generic(net, vlan_net_id); in vlan_proc_init() local 115 vn->proc_vlan_dir = proc_net_mkdir(net, name_root, net->proc_net); in vlan_proc_init() 116 if (!vn->proc_vlan_dir) in vlan_proc_init() 119 vn->proc_vlan_conf = proc_create_net(name_conf, S_IFREG | 0600, in vlan_proc_init() 120 vn->proc_vlan_dir, &vlan_seq_ops, in vlan_proc_init() 122 if (!vn->proc_vlan_conf) in vlan_proc_init() [all …]
|
D | vlan.c | 216 struct vlan_net *vn = net_generic(net, vlan_net_id); in register_vlan_device() local 229 switch (vn->name_type) { in register_vlan_device() 605 struct vlan_net *vn; in vlan_ioctl_handler() local 607 vn = net_generic(net, vlan_net_id); in vlan_ioctl_handler() 608 vn->name_type = args.u.name_type; in vlan_ioctl_handler() 657 struct vlan_net *vn = net_generic(net, vlan_net_id); in vlan_init_net() local 660 vn->name_type = VLAN_NAME_TYPE_RAW_PLUS_VID_NO_PAD; in vlan_init_net()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ |
D | memnv04.c | 35 struct nv04_mem_map_vn vn; in nv04_mem_map() member 41 if ((ret = nvif_unvers(ret, &argv, &argc, args->vn))) in nv04_mem_map() 55 struct nv04_mem_vn vn; in nv04_mem_new() member 59 if ((ret = nvif_unvers(ret, &argv, &argc, args->vn))) in nv04_mem_new()
|
D | memgf100.c | 39 struct gf100_mem_map_vn vn; in gf100_mem_map() member 50 if (!(ret = nvif_unvers(ret, &argv, &argc, args->vn))) { in gf100_mem_map() 73 struct gf100_mem_vn vn; in gf100_mem_new() member 82 if (!(ret = nvif_unvers(ret, &argv, &argc, args->vn))) { in gf100_mem_new()
|
D | memnv50.c | 39 struct nv50_mem_map_vn vn; in nv50_mem_map() member 52 if (!(ret = nvif_unvers(ret, &argv, &argc, args->vn))) { in nv50_mem_map() 70 struct nv50_mem_vn vn; in nv50_mem_new() member 80 if (!(ret = nvif_unvers(ret, &argv, &argc, args->vn))) { in nv50_mem_new()
|
D | vmmnv04.c | 84 struct nv04_vmm_map_vn vn; in nv04_vmm_valid() member 87 if ((ret = nvif_unvers(ret, &argv, &argc, args->vn))) in nv04_vmm_valid() 108 struct nv04_vmm_vn vn; in nv04_vmm_new_() member 117 return nvif_unvers(-ENOSYS, &argv, &argc, args->vn); in nv04_vmm_new_()
|
D | vmmgp100.c | 405 struct gp100_vmm_map_vn vn; in gp100_vmm_valid() member 423 if (!(ret = nvif_unvers(ret, &argv, &argc, args->vn))) { in gp100_vmm_valid() 516 struct gp100_vmm_fault_replay_vn vn; in gp100_vmm_fault_replay() member 520 if (!(ret = nvif_unvers(ret, &argv, &argc, args->vn))) { in gp100_vmm_fault_replay() 600 struct gp100_vmm_vn vn; in gp100_vmm_new_() member 609 if (!(ret = nvif_unvers(ret, &argv, &argc, args->vn))) { in gp100_vmm_new_()
|
D | vmmgm200.c | 150 struct gm200_vmm_vn vn; in gm200_vmm_new_() member 163 if (!(ret = nvif_unvers(ret, &argv, &argc, args->vn))) { in gm200_vmm_new_()
|
D | mem.c | 149 struct nvif_mem_ram_vn vn; in nvkm_mem_new_host() member 186 if ( (ret = nvif_unvers(ret, &argv, &argc, args->vn))) { in nvkm_mem_new_host()
|
D | vmmnv50.c | 232 struct nv50_vmm_map_vn vn; in nv50_vmm_valid() member 251 if (!(ret = nvif_unvers(ret, &argv, &argc, args->vn))) { in nv50_vmm_valid()
|
D | vmmgf100.c | 245 struct gf100_vmm_map_vn vn; in gf100_vmm_valid() member 263 if (!(ret = nvif_unvers(ret, &argv, &argc, args->vn))) { in gf100_vmm_valid()
|
/kernel/linux/linux-5.10/drivers/net/ |
D | vxlan.c | 171 struct vxlan_net *vn = net_generic(net, vxlan_net_id); in vs_head() local 173 return &vn->sock_list[hash_32(ntohs(port), PORT_HASH_BITS)]; in vs_head() 1521 static bool vxlan_group_used(struct vxlan_net *vn, struct vxlan_dev *dev) in vxlan_group_used() argument 1543 list_for_each_entry(vxlan, &vn->vxlan_list, next) { in vxlan_group_used() 1572 struct vxlan_net *vn; in __vxlan_sock_release_prep() local 1579 vn = net_generic(sock_net(vs->sock->sk), vxlan_net_id); in __vxlan_sock_release_prep() 1580 spin_lock(&vn->sock_lock); in __vxlan_sock_release_prep() 1586 spin_unlock(&vn->sock_lock); in __vxlan_sock_release_prep() 3017 struct vxlan_net *vn = net_generic(vxlan->net, vxlan_net_id); in vxlan_vs_del_dev() local 3019 spin_lock(&vn->sock_lock); in vxlan_vs_del_dev() [all …]
|
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_cmn.h | 904 static inline int func_by_vn(struct bnx2x *bp, int vn) in func_by_vn() argument 906 return 2 * vn + BP_PORT(bp); in func_by_vn() 1327 int vn; in bnx2x_link_sync_notify() local 1330 for (vn = VN_0; vn < BP_MAX_VN_NUM(bp); vn++) { in bnx2x_link_sync_notify() 1331 if (vn == BP_VN(bp)) in bnx2x_link_sync_notify() 1334 func = func_by_vn(bp, vn); in bnx2x_link_sync_notify()
|
D | bnx2x_main.c | 2468 int vn; in bnx2x_calc_vn_min() local 2470 for (vn = VN_0; vn < BP_MAX_VN_NUM(bp); vn++) { in bnx2x_calc_vn_min() 2471 u32 vn_cfg = bp->mf_config[vn]; in bnx2x_calc_vn_min() 2484 input->vnic_min_rate[vn] = vn_min_rate; in bnx2x_calc_vn_min() 2502 static void bnx2x_calc_vn_max(struct bnx2x *bp, int vn, in bnx2x_calc_vn_max() argument 2506 u32 vn_cfg = bp->mf_config[vn]; in bnx2x_calc_vn_max() 2521 DP(NETIF_MSG_IFUP, "vn %d: vn_max_rate %d\n", vn, vn_max_rate); in bnx2x_calc_vn_max() 2523 input->vnic_max_rate[vn] = vn_max_rate; in bnx2x_calc_vn_max() 2538 int vn, n = (CHIP_MODE_IS_4_PORT(bp) ? 2 : 1); in bnx2x_read_mf_cfg() local 2554 for (vn = VN_0; vn < BP_MAX_VN_NUM(bp); vn++) { in bnx2x_read_mf_cfg() [all …]
|
/kernel/linux/linux-5.10/drivers/scsi/fcoe/ |
D | fcoe_ctlr.c | 539 struct fip_vn_desc *vn; in fcoe_ctlr_send_keep_alive() local 549 len = sizeof(*kal) + ports * sizeof(*vn); in fcoe_ctlr_send_keep_alive() 564 ports * sizeof(*vn)) / FIP_BPW); in fcoe_ctlr_send_keep_alive() 573 vn = (struct fip_vn_desc *)(kal + 1); in fcoe_ctlr_send_keep_alive() 574 vn->fd_desc.fip_dtype = FIP_DT_VN_ID; in fcoe_ctlr_send_keep_alive() 575 vn->fd_desc.fip_dlen = sizeof(*vn) / FIP_BPW; in fcoe_ctlr_send_keep_alive() 576 memcpy(vn->fd_mac, fip->get_src_addr(lport), ETH_ALEN); in fcoe_ctlr_send_keep_alive() 577 hton24(vn->fd_fc_id, lport->port_id); in fcoe_ctlr_send_keep_alive() 578 put_unaligned_be64(lport->wwpn, &vn->fd_wwpn); in fcoe_ctlr_send_keep_alive() 2031 struct fip_vn_desc vn; in fcoe_ctlr_vn_send() member [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/sun4i/ |
D | sun8i_vi_layer.c | 80 u32 vn = 0, vm = 0; in sun8i_vi_layer_update_coord() local 157 vn = (u32)ability * dst_h / 100; in sun8i_vi_layer_update_coord() 158 src_h = vn; in sun8i_vi_layer_update_coord() 193 SUN8I_MIXER_CHAN_VI_DS_N(vn) | in sun8i_vi_layer_update_coord() 197 SUN8I_MIXER_CHAN_VI_DS_N(vn) | in sun8i_vi_layer_update_coord()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/ |
D | i915_gem_evict.c | 377 struct i915_vma *vma, *vn; in i915_gem_evict_vm() local 391 list_for_each_entry_safe(vma, vn, &eviction_list, evict_link) { in i915_gem_evict_vm()
|
/kernel/linux/linux-5.10/Documentation/admin-guide/media/ |
D | pci-cardlist.rst | 27 The subsystem IDs can be obtained using ``lspci -vn`` 32 $ lspci -vn
|
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gem/ |
D | i915_gem_tiling.c | 185 struct i915_vma *vma, *vn; in i915_gem_object_fence_prepare() local 205 list_for_each_entry_safe(vma, vn, &unbind, vm_link) { in i915_gem_object_fence_prepare()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gt/ |
D | intel_gtt.c | 36 struct i915_vma *vma, *vn; in __i915_vm_close() local 41 list_for_each_entry_safe(vma, vn, &vm->bound_list, vm_link) { in __i915_vm_close()
|
/kernel/linux/linux-5.10/drivers/usb/gadget/function/ |
D | f_mass_storage.h | 137 void fsg_common_set_inquiry_string(struct fsg_common *common, const char *vn,
|