/linux-4.1.27/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 | 68 static int sd_create_vi(struct virtual_node *vn, in sd_create_vi() argument 158 static int direct_create_vi(struct virtual_node *vn, in direct_create_vi() argument 296 static int indirect_create_vi(struct virtual_node *vn, in indirect_create_vi() argument 466 static int direntry_create_vi(struct virtual_node *vn, in direntry_create_vi() argument 487 ((is_affected) ? ((vn->vn_mode == M_CUT) ? -1 : in direntry_create_vi() 488 (vn->vn_mode == M_PASTE ? 1 : 0)) : 0); in direntry_create_vi() 491 j = old_entry_num(is_affected, i, vn->vn_pos_in_item, in direntry_create_vi() 492 vn->vn_mode); in direntry_create_vi() 501 if (is_affected && vn->vn_mode == M_PASTE) in direntry_create_vi() 502 dir_u->entry_sizes[vn->vn_pos_in_item] = insert_size; in direntry_create_vi() [all …]
|
D | reiserfs.h | 2634 int (*create_vi) (struct virtual_node * vn, struct virtual_item * vi, 2650 #define op_create_vi(vn,vi,is_affected,insert_size) item_ops[le_ih_k_type ((vi)->vi_ih)]->create_v… argument
|
/linux-4.1.27/net/8021q/ |
D | vlanproc.c | 128 struct vlan_net *vn = net_generic(net, vlan_net_id); in vlan_proc_cleanup() local 130 if (vn->proc_vlan_conf) in vlan_proc_cleanup() 131 remove_proc_entry(name_conf, vn->proc_vlan_dir); in vlan_proc_cleanup() 133 if (vn->proc_vlan_dir) in vlan_proc_cleanup() 147 struct vlan_net *vn = net_generic(net, vlan_net_id); in vlan_proc_init() local 149 vn->proc_vlan_dir = proc_net_mkdir(net, name_root, net->proc_net); in vlan_proc_init() 150 if (!vn->proc_vlan_dir) in vlan_proc_init() 153 vn->proc_vlan_conf = proc_create(name_conf, S_IFREG|S_IRUSR|S_IWUSR, in vlan_proc_init() 154 vn->proc_vlan_dir, &vlan_fops); in vlan_proc_init() 155 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 228 switch (vn->name_type) { in register_vlan_device() 571 struct vlan_net *vn; in vlan_ioctl_handler() local 573 vn = net_generic(net, vlan_net_id); in vlan_ioctl_handler() 574 vn->name_type = args.u.name_type; in vlan_ioctl_handler() 623 struct vlan_net *vn = net_generic(net, vlan_net_id); in vlan_init_net() local 626 vn->name_type = VLAN_NAME_TYPE_RAW_PLUS_VID_NO_PAD; in vlan_init_net()
|
/linux-4.1.27/drivers/net/ |
D | vxlan.c | 242 struct vxlan_net *vn = net_generic(net, vxlan_net_id); in vs_head() local 244 return &vn->sock_list[hash_32(ntohs(port), PORT_HASH_BITS)]; in vs_head() 1034 static bool vxlan_group_used(struct vxlan_net *vn, struct vxlan_dev *dev) in vxlan_group_used() argument 1044 list_for_each_entry(vxlan, &vn->vxlan_list, next) { in vxlan_group_used() 1069 struct vxlan_net *vn = net_generic(net, vxlan_net_id); in vxlan_sock_release() local 1074 spin_lock(&vn->sock_lock); in vxlan_sock_release() 1077 spin_unlock(&vn->sock_lock); in vxlan_sock_release() 2160 struct vxlan_net *vn = net_generic(vxlan->net, vxlan_net_id); in vxlan_vs_add_dev() local 2164 spin_lock(&vn->sock_lock); in vxlan_vs_add_dev() 2166 spin_unlock(&vn->sock_lock); in vxlan_vs_add_dev() [all …]
|
/linux-4.1.27/drivers/scsi/fcoe/ |
D | fcoe_ctlr.c | 544 struct fip_vn_desc *vn; in fcoe_ctlr_send_keep_alive() local 554 len = sizeof(*kal) + ports * sizeof(*vn); in fcoe_ctlr_send_keep_alive() 569 ports * sizeof(*vn)) / FIP_BPW); in fcoe_ctlr_send_keep_alive() 578 vn = (struct fip_vn_desc *)(kal + 1); in fcoe_ctlr_send_keep_alive() 579 vn->fd_desc.fip_dtype = FIP_DT_VN_ID; in fcoe_ctlr_send_keep_alive() 580 vn->fd_desc.fip_dlen = sizeof(*vn) / FIP_BPW; in fcoe_ctlr_send_keep_alive() 581 memcpy(vn->fd_mac, fip->get_src_addr(lport), ETH_ALEN); in fcoe_ctlr_send_keep_alive() 582 hton24(vn->fd_fc_id, lport->port_id); in fcoe_ctlr_send_keep_alive() 583 put_unaligned_be64(lport->wwpn, &vn->fd_wwpn); in fcoe_ctlr_send_keep_alive() 1996 struct fip_vn_desc vn; in fcoe_ctlr_vn_send() member [all …]
|
/linux-4.1.27/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_cmn.h | 897 static inline int func_by_vn(struct bnx2x *bp, int vn) in func_by_vn() argument 899 return 2 * vn + BP_PORT(bp); in func_by_vn() 1268 int vn; in bnx2x_link_sync_notify() local 1271 for (vn = VN_0; vn < BP_MAX_VN_NUM(bp); vn++) { in bnx2x_link_sync_notify() 1272 if (vn == BP_VN(bp)) in bnx2x_link_sync_notify() 1275 func = func_by_vn(bp, vn); in bnx2x_link_sync_notify()
|
D | bnx2x_main.c | 2450 int vn; in bnx2x_calc_vn_min() local 2452 for (vn = VN_0; vn < BP_MAX_VN_NUM(bp); vn++) { in bnx2x_calc_vn_min() 2453 u32 vn_cfg = bp->mf_config[vn]; in bnx2x_calc_vn_min() 2466 input->vnic_min_rate[vn] = vn_min_rate; in bnx2x_calc_vn_min() 2484 static void bnx2x_calc_vn_max(struct bnx2x *bp, int vn, in bnx2x_calc_vn_max() argument 2488 u32 vn_cfg = bp->mf_config[vn]; in bnx2x_calc_vn_max() 2503 DP(NETIF_MSG_IFUP, "vn %d: vn_max_rate %d\n", vn, vn_max_rate); in bnx2x_calc_vn_max() 2505 input->vnic_max_rate[vn] = vn_max_rate; in bnx2x_calc_vn_max() 2520 int vn, n = (CHIP_MODE_IS_4_PORT(bp) ? 2 : 1); in bnx2x_read_mf_cfg() local 2536 for (vn = VN_0; vn < BP_MAX_VN_NUM(bp); vn++) { in bnx2x_read_mf_cfg() [all …]
|
D | bnx2x.h | 1440 #define BP_FW_MB_IDX_VN(bp, vn) (BP_PORT(bp) +\ argument 1441 (vn) * ((CHIP_IS_E1x(bp) || (CHIP_MODE_IS_4_PORT(bp))) ? 2 : 1))
|
/linux-4.1.27/drivers/usb/gadget/function/ |
D | f_mass_storage.h | 153 void fsg_common_set_inquiry_string(struct fsg_common *common, const char *vn,
|
D | f_mass_storage.c | 2964 void fsg_common_set_inquiry_string(struct fsg_common *common, const char *vn, in fsg_common_set_inquiry_string() argument 2972 "%-8s%-16s%04x", vn ?: "Linux", in fsg_common_set_inquiry_string()
|
/linux-4.1.27/net/batman-adv/ |
D | translation-table.c | 584 (uint8_t)atomic_read(&bat_priv->tt.vn)); in batadv_tt_local_add() 809 (*tt_data)->ttvn = atomic_read(&bat_priv->tt.vn); in batadv_tt_prepare_tvlv_local_data() 927 net_dev->name, (uint8_t)atomic_read(&bat_priv->tt.vn)); in batadv_tt_local_seq_print_text() 2683 my_ttvn = (uint8_t)atomic_read(&bat_priv->tt.vn); in batadv_send_my_tt_response() 2722 req_ttvn = (uint8_t)atomic_read(&bat_priv->tt.vn); in batadv_send_my_tt_response() 3242 atomic_inc(&bat_priv->tt.vn); in batadv_tt_local_commit_changes_nolock() 3245 (uint8_t)atomic_read(&bat_priv->tt.vn)); in batadv_tt_local_commit_changes_nolock()
|
D | routing.c | 652 orig_ttvn = (uint8_t)atomic_read(&bat_priv->tt.vn); in batadv_reroute_unicast_packet() 727 curr_ttvn = (uint8_t)atomic_read(&bat_priv->tt.vn); in batadv_check_unicast_ttvn()
|
D | types.h | 517 atomic_t vn; member
|
D | soft-interface.c | 772 atomic_set(&bat_priv->tt.vn, 0); in batadv_softif_init_late()
|
/linux-4.1.27/arch/powerpc/kvm/ |
D | book3s_hv.c | 2117 struct kvm_vcpu *v, *vn; in kvmppc_run_vcpu() local 2164 list_for_each_entry_safe(v, vn, &vc->runnable_threads, in kvmppc_run_vcpu()
|
/linux-4.1.27/Documentation/sound/alsa/ |
D | ALSA-Configuration.txt | 250 file a bug with your `lspci -vn` output.
|