Home
last modified time | relevance | path

Searched refs:nv (Results 1 - 25 of 71) sorted by relevance

123

/kernel/linux/linux-6.6/fs/xfs/
H A Dxfs_attr_item.c57 struct xfs_attri_log_nameval *nv) in xfs_attri_log_nameval_get()
59 if (!refcount_inc_not_zero(&nv->refcount)) in xfs_attri_log_nameval_get()
61 return nv; in xfs_attri_log_nameval_get()
66 struct xfs_attri_log_nameval *nv) in xfs_attri_log_nameval_put()
68 if (!nv) in xfs_attri_log_nameval_put()
70 if (refcount_dec_and_test(&nv->refcount)) in xfs_attri_log_nameval_put()
71 kvfree(nv); in xfs_attri_log_nameval_put()
81 struct xfs_attri_log_nameval *nv; in xfs_attri_log_nameval_alloc() local
87 nv = xlog_kvmalloc(sizeof(struct xfs_attri_log_nameval) + in xfs_attri_log_nameval_alloc()
90 nv in xfs_attri_log_nameval_alloc()
56 xfs_attri_log_nameval_get( struct xfs_attri_log_nameval *nv) xfs_attri_log_nameval_get() argument
65 xfs_attri_log_nameval_put( struct xfs_attri_log_nameval *nv) xfs_attri_log_nameval_put() argument
144 struct xfs_attri_log_nameval *nv = attrip->attri_nameval; xfs_attri_item_size() local
169 struct xfs_attri_log_nameval *nv = attrip->attri_nameval; xfs_attri_item_format() local
225 xfs_attri_init( struct xfs_mount *mp, struct xfs_attri_log_nameval *nv) xfs_attri_init() argument
552 struct xfs_attri_log_nameval *nv = attrip->attri_nameval; xfs_attri_item_recover() local
710 struct xfs_attri_log_nameval *nv; xlog_recover_attri_commit_pass2() local
[all...]
/kernel/linux/linux-5.10/drivers/scsi/
H A Dqla1280.c583 struct nvram *nv; in qla1280_read_nvram() local
593 nv = &ha->nvram; in qla1280_read_nvram()
602 if (nv->id0 != 'I' || nv->id1 != 'S' || in qla1280_read_nvram()
603 nv->id2 != 'P' || nv->id3 != ' ' || nv->version < 1) { in qla1280_read_nvram()
616 " version %i\n", nv->id0, nv->id1, nv in qla1280_read_nvram()
1119 struct nvram *nv; qla1280_set_target_parameters() local
1188 struct nvram *nv; qla1280_slave_configure() local
1935 qla1280_print_settings(struct nvram *nv) qla1280_print_settings() argument
1987 struct nvram *nv = &ha->nvram; qla1280_set_target_defaults() local
2018 struct nvram *nv = &ha->nvram; qla1280_set_defaults() local
2072 struct nvram *nv = &ha->nvram; qla1280_config_target() local
2130 struct nvram *nv = &ha->nvram; qla1280_config_bus() local
2163 struct nvram *nv = &ha->nvram; qla1280_nvram_config() local
[all...]
/kernel/linux/linux-6.6/drivers/scsi/
H A Dqla1280.c575 struct nvram *nv; in qla1280_read_nvram() local
585 nv = &ha->nvram; in qla1280_read_nvram()
594 if (nv->id0 != 'I' || nv->id1 != 'S' || in qla1280_read_nvram()
595 nv->id2 != 'P' || nv->id3 != ' ' || nv->version < 1) { in qla1280_read_nvram()
608 " version %i\n", nv->id0, nv->id1, nv in qla1280_read_nvram()
1109 struct nvram *nv; qla1280_set_target_parameters() local
1178 struct nvram *nv; qla1280_slave_configure() local
1925 qla1280_print_settings(struct nvram *nv) qla1280_print_settings() argument
1977 struct nvram *nv = &ha->nvram; qla1280_set_target_defaults() local
2008 struct nvram *nv = &ha->nvram; qla1280_set_defaults() local
2062 struct nvram *nv = &ha->nvram; qla1280_config_target() local
2120 struct nvram *nv = &ha->nvram; qla1280_config_bus() local
2153 struct nvram *nv = &ha->nvram; qla1280_nvram_config() local
[all...]
/kernel/linux/linux-5.10/net/netfilter/
H A Dxt_DSCP.c76 u_int8_t orig, nv; in tos_tg() local
79 nv = (orig & ~info->tos_mask) ^ info->tos_value; in tos_tg()
81 if (orig != nv) { in tos_tg()
85 ipv4_change_dsfield(iph, 0, nv); in tos_tg()
96 u_int8_t orig, nv; in tos_tg6() local
99 nv = (orig & ~info->tos_mask) ^ info->tos_value; in tos_tg6()
101 if (orig != nv) { in tos_tg6()
105 ipv6_change_dsfield(iph, 0, nv); in tos_tg6()
/kernel/linux/linux-6.6/net/netfilter/
H A Dxt_DSCP.c76 u_int8_t orig, nv; in tos_tg() local
79 nv = (orig & ~info->tos_mask) ^ info->tos_value; in tos_tg()
81 if (orig != nv) { in tos_tg()
85 ipv4_change_dsfield(iph, 0, nv); in tos_tg()
96 u_int8_t orig, nv; in tos_tg6() local
99 nv = (orig & ~info->tos_mask) ^ info->tos_value; in tos_tg6()
101 if (orig != nv) { in tos_tg6()
105 ipv6_change_dsfield(iph, 0, nv); in tos_tg6()
/kernel/linux/linux-5.10/drivers/scsi/qla2xxx/
H A Dqla_init.c3697 struct nvram_81xx *nv = ha->nvram; in qla24xx_detect_sfp() local
3707 (nv->enhanced_features & NEF_LR_DIST_ENABLE)) { in qla24xx_detect_sfp()
3711 (nv->enhanced_features >> LR_DIST_NV_POS) in qla24xx_detect_sfp()
4669 static void qla2xxx_nvram_wwn_from_ofw(scsi_qla_host_t *vha, nvram_t *nv) in qla2xxx_nvram_wwn_from_ofw() argument
4680 memcpy(nv->port_name, val, WWN_SIZE); in qla2xxx_nvram_wwn_from_ofw()
4684 memcpy(nv->node_name, val, WWN_SIZE); in qla2xxx_nvram_wwn_from_ofw()
4710 nvram_t *nv = ha->nvram; in qla2x00_nvram_config() local
4717 ha->nvram_size = sizeof(*nv); in qla2x00_nvram_config()
4731 nv, ha->nvram_size); in qla2x00_nvram_config()
4734 if (chksum || memcmp("ISP ", nv in qla2x00_nvram_config()
7344 qla24xx_nvram_wwn_from_ofw(scsi_qla_host_t *vha, struct nvram_24xx *nv) qla24xx_nvram_wwn_from_ofw() argument
7369 struct nvram_24xx *nv; qla24xx_nvram_config() local
8549 struct nvram_81xx *nv; qla81xx_nvram_config() local
[all...]
H A Dqla_target.c6838 qlt_24xx_config_nvram_stage1(struct scsi_qla_host *vha, struct nvram_24xx *nv) in qlt_24xx_config_nvram_stage1() argument
6849 ha->tgt.saved_exchange_count = nv->exchange_count; in qlt_24xx_config_nvram_stage1()
6851 nv->firmware_options_1; in qlt_24xx_config_nvram_stage1()
6853 nv->firmware_options_2; in qlt_24xx_config_nvram_stage1()
6855 nv->firmware_options_3; in qlt_24xx_config_nvram_stage1()
6860 nv->exchange_count = cpu_to_le16(0xFFFF); in qlt_24xx_config_nvram_stage1()
6862 nv->exchange_count = cpu_to_le16(vha->ql2xexchoffld); in qlt_24xx_config_nvram_stage1()
6865 nv->firmware_options_1 |= cpu_to_le32(BIT_4); in qlt_24xx_config_nvram_stage1()
6869 nv->firmware_options_1 |= cpu_to_le32(BIT_5); in qlt_24xx_config_nvram_stage1()
6872 nv in qlt_24xx_config_nvram_stage1()
6944 qlt_81xx_config_nvram_stage1(struct scsi_qla_host *vha, struct nvram_81xx *nv) qlt_81xx_config_nvram_stage1() argument
[all...]
/kernel/linux/linux-6.6/drivers/scsi/qla2xxx/
H A Dqla_init.c4134 struct nvram_81xx *nv = ha->nvram; in qla24xx_detect_sfp() local
4144 (nv->enhanced_features & NEF_LR_DIST_ENABLE)) { in qla24xx_detect_sfp()
4148 (nv->enhanced_features >> LR_DIST_NV_POS) in qla24xx_detect_sfp()
5164 static void qla2xxx_nvram_wwn_from_ofw(scsi_qla_host_t *vha, nvram_t *nv) in qla2xxx_nvram_wwn_from_ofw() argument
5175 memcpy(nv->port_name, val, WWN_SIZE); in qla2xxx_nvram_wwn_from_ofw()
5179 memcpy(nv->node_name, val, WWN_SIZE); in qla2xxx_nvram_wwn_from_ofw()
5205 nvram_t *nv = ha->nvram; in qla2x00_nvram_config() local
5212 ha->nvram_size = sizeof(*nv); in qla2x00_nvram_config()
5226 nv, ha->nvram_size); in qla2x00_nvram_config()
5229 if (chksum || memcmp("ISP ", nv in qla2x00_nvram_config()
7830 qla24xx_nvram_wwn_from_ofw(scsi_qla_host_t *vha, struct nvram_24xx *nv) qla24xx_nvram_wwn_from_ofw() argument
7855 struct nvram_24xx *nv; qla24xx_nvram_config() local
9035 struct nvram_81xx *nv; qla81xx_nvram_config() local
[all...]
H A Dqla_target.c6875 qlt_24xx_config_nvram_stage1(struct scsi_qla_host *vha, struct nvram_24xx *nv) in qlt_24xx_config_nvram_stage1() argument
6886 ha->tgt.saved_exchange_count = nv->exchange_count; in qlt_24xx_config_nvram_stage1()
6888 nv->firmware_options_1; in qlt_24xx_config_nvram_stage1()
6890 nv->firmware_options_2; in qlt_24xx_config_nvram_stage1()
6892 nv->firmware_options_3; in qlt_24xx_config_nvram_stage1()
6897 nv->exchange_count = cpu_to_le16(0xFFFF); in qlt_24xx_config_nvram_stage1()
6899 nv->exchange_count = cpu_to_le16(vha->ql2xexchoffld); in qlt_24xx_config_nvram_stage1()
6902 nv->firmware_options_1 |= cpu_to_le32(BIT_4); in qlt_24xx_config_nvram_stage1()
6906 nv->firmware_options_1 |= cpu_to_le32(BIT_5); in qlt_24xx_config_nvram_stage1()
6909 nv in qlt_24xx_config_nvram_stage1()
6981 qlt_81xx_config_nvram_stage1(struct scsi_qla_host *vha, struct nvram_81xx *nv) qlt_81xx_config_nvram_stage1() argument
[all...]
/kernel/linux/linux-5.10/kernel/irq/
H A Daffinity.c293 struct node_vectors *nv = &node_vectors[i]; in __irq_build_affinity_masks() local
295 if (nv->nvectors == UINT_MAX) in __irq_build_affinity_masks()
299 cpumask_and(nmsk, cpu_mask, node_to_cpumask[nv->id]); in __irq_build_affinity_masks()
304 WARN_ON_ONCE(nv->nvectors > ncpus); in __irq_build_affinity_masks()
307 extra_vecs = ncpus - nv->nvectors * (ncpus / nv->nvectors); in __irq_build_affinity_masks()
310 for (v = 0; v < nv->nvectors; v++, curvec++) { in __irq_build_affinity_masks()
311 cpus_per_vec = ncpus / nv->nvectors; in __irq_build_affinity_masks()
328 done += nv->nvectors; in __irq_build_affinity_masks()
/kernel/linux/linux-6.6/lib/
H A Dgroup_cpus.c291 struct node_groups *nv = &node_groups[i]; in __group_cpus_evenly() local
293 if (nv->ngroups == UINT_MAX) in __group_cpus_evenly()
297 cpumask_and(nmsk, cpu_mask, node_to_cpumask[nv->id]); in __group_cpus_evenly()
302 WARN_ON_ONCE(nv->ngroups > ncpus); in __group_cpus_evenly()
305 extra_grps = ncpus - nv->ngroups * (ncpus / nv->ngroups); in __group_cpus_evenly()
308 for (v = 0; v < nv->ngroups; v++, curgrp++) { in __group_cpus_evenly()
309 cpus_per_grp = ncpus / nv->ngroups; in __group_cpus_evenly()
326 done += nv->ngroups; in __group_cpus_evenly()
/kernel/linux/linux-5.10/samples/bpf/
H A Dtcp_basertt_kern.c28 char nv[] = "nv"; in bpf_basertt() local
50 if (!n && !__builtin_memcmp(cong, nv, sizeof(nv))) { in bpf_basertt()
/kernel/linux/linux-6.6/samples/bpf/
H A Dtcp_basertt_kern.c28 char nv[] = "nv"; in bpf_basertt() local
50 if (!n && !__builtin_memcmp(cong, nv, sizeof(nv))) { in bpf_basertt()
/kernel/linux/linux-5.10/arch/x86/kvm/vmx/
H A Dposted_intr.c41 * If the 'nv' field is POSTED_INTR_WAKEUP_VECTOR, do not change in vmx_vcpu_pi_load()
47 if (pi_desc->nv == POSTED_INTR_WAKEUP_VECTOR || vcpu->cpu == cpu) { in vmx_vcpu_pi_load()
108 WARN(old.nv != POSTED_INTR_WAKEUP_VECTOR, in __pi_post_block()
119 new.nv = POSTED_INTR_VECTOR; in __pi_post_block()
187 new.nv = POSTED_INTR_WAKEUP_VECTOR; in pi_pre_block()
/kernel/linux/linux-6.6/arch/x86/kvm/vmx/
H A Dposted_intr.c74 if (pi_desc->nv != POSTED_INTR_WAKEUP_VECTOR && vcpu->cpu == cpu) { in vmx_vcpu_pi_load()
91 if (pi_desc->nv == POSTED_INTR_WAKEUP_VECTOR) { in vmx_vcpu_pi_load()
116 new.nv = POSTED_INTR_VECTOR; in vmx_vcpu_pi_load()
166 new.nv = POSTED_INTR_WAKEUP_VECTOR; in pi_enable_wakeup_handler()
/kernel/linux/linux-5.10/drivers/input/mouse/
H A Dsentelic.c183 int v, nv; in fsp_reg_write_enable() local
189 nv = v | FSP_BIT_EN_REG_CLK; in fsp_reg_write_enable()
191 nv = v & ~FSP_BIT_EN_REG_CLK; in fsp_reg_write_enable()
194 if (nv != v) in fsp_reg_write_enable()
195 if (fsp_reg_write(psmouse, FSP_REG_SYSCTL1, nv) == -1) in fsp_reg_write_enable()
334 int v, nv; in fsp_opc_tag_enable() local
343 nv = v | FSP_BIT_EN_OPC_TAG; in fsp_opc_tag_enable()
345 nv = v & ~FSP_BIT_EN_OPC_TAG; in fsp_opc_tag_enable()
348 if (nv != v) { in fsp_opc_tag_enable()
350 res = fsp_reg_write(psmouse, FSP_REG_OPC_QDOWN, nv); in fsp_opc_tag_enable()
[all...]
/kernel/linux/linux-6.6/drivers/input/mouse/
H A Dsentelic.c183 int v, nv; in fsp_reg_write_enable() local
189 nv = v | FSP_BIT_EN_REG_CLK; in fsp_reg_write_enable()
191 nv = v & ~FSP_BIT_EN_REG_CLK; in fsp_reg_write_enable()
194 if (nv != v) in fsp_reg_write_enable()
195 if (fsp_reg_write(psmouse, FSP_REG_SYSCTL1, nv) == -1) in fsp_reg_write_enable()
334 int v, nv; in fsp_opc_tag_enable() local
343 nv = v | FSP_BIT_EN_OPC_TAG; in fsp_opc_tag_enable()
345 nv = v & ~FSP_BIT_EN_OPC_TAG; in fsp_opc_tag_enable()
348 if (nv != v) { in fsp_opc_tag_enable()
350 res = fsp_reg_write(psmouse, FSP_REG_OPC_QDOWN, nv); in fsp_opc_tag_enable()
[all...]
/kernel/linux/linux-5.10/drivers/s390/char/
H A Draw3270.c845 struct raw3270_view *oldview, *nv; in raw3270_activate_view() local
872 list_for_each_entry(nv, &rp->view_list, list) in raw3270_activate_view()
873 if (nv != view && nv != oldview) { in raw3270_activate_view()
874 rp->view = nv; in raw3270_activate_view()
875 if (nv->fn->activate(nv) == 0) in raw3270_activate_view()
993 struct raw3270_view *nv; in raw3270_del_view() local
1005 list_for_each_entry(nv, &rp->view_list, list) { in raw3270_del_view()
1006 if (nv in raw3270_del_view()
[all...]
/kernel/linux/linux-6.6/drivers/s390/char/
H A Draw3270.c897 struct raw3270_view *oldview = NULL, *nv; in __raw3270_activate_view() local
923 list_for_each_entry(nv, &rp->view_list, list) { in __raw3270_activate_view()
924 if (nv == view || nv == oldview) in __raw3270_activate_view()
926 rc = raw3270_assign_activate_view(rp, nv); in __raw3270_activate_view()
1059 struct raw3270_view *nv; in raw3270_del_view() local
1070 list_for_each_entry(nv, &rp->view_list, list) { in raw3270_del_view()
1071 if (nv->fn->activate(nv) == 0) { in raw3270_del_view()
1072 rp->view = nv; in raw3270_del_view()
[all...]
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/runtime/frame/interface/
H A Dia_css_frame_comm.h102 struct ia_css_frame_sp_nv_planes nv; member
/kernel/linux/linux-6.6/drivers/staging/media/atomisp/pci/runtime/frame/interface/
H A Dia_css_frame_comm.h102 struct ia_css_frame_sp_nv_planes nv; member
/kernel/linux/linux-5.10/drivers/media/pci/ddbridge/
H A Dddbridge-max.c247 u32 nv, ov = dev->link[port->lnr].lnb.voltages; in max_set_voltage() local
278 nv = dev->link[port->lnr].lnb.voltages; in max_set_voltage()
293 if (nv != ov) { in max_set_voltage()
294 if (nv) { in max_set_voltage()
/kernel/linux/linux-5.10/drivers/net/
H A Dnet_failover.c162 u64 nv = new[i]; in net_failover_fold_stats() local
164 s64 delta = nv - ov; in net_failover_fold_stats()
167 if (((nv | ov) >> 32) == 0) in net_failover_fold_stats()
168 delta = (s64)(s32)((u32)nv - (u32)ov); in net_failover_fold_stats()
/kernel/linux/linux-6.6/drivers/media/pci/ddbridge/
H A Dddbridge-max.c238 u32 nv, ov = dev->link[port->lnr].lnb.voltages; in max_set_voltage() local
269 nv = dev->link[port->lnr].lnb.voltages; in max_set_voltage()
284 if (nv != ov) { in max_set_voltage()
285 if (nv) { in max_set_voltage()
/kernel/linux/linux-6.6/drivers/net/
H A Dnet_failover.c162 u64 nv = new[i]; in net_failover_fold_stats() local
164 s64 delta = nv - ov; in net_failover_fold_stats()
167 if (((nv | ov) >> 32) == 0) in net_failover_fold_stats()
168 delta = (s64)(s32)((u32)nv - (u32)ov); in net_failover_fold_stats()

Completed in 44 milliseconds

123