| /linux/fs/xfs/ |
| H A D | xfs_attr_item.c | 56 struct xfs_attri_log_nameval *nv) in xfs_attri_log_nameval_get() argument 58 if (!refcount_inc_not_zero(&nv->refcount)) in xfs_attri_log_nameval_get() 60 return nv; in xfs_attri_log_nameval_get() 65 struct xfs_attri_log_nameval *nv) in xfs_attri_log_nameval_put() argument 67 if (!nv) in xfs_attri_log_nameval_put() 69 if (refcount_dec_and_test(&nv->refcount)) in xfs_attri_log_nameval_put() 70 kvfree(nv); in xfs_attri_log_nameval_put() 84 struct xfs_attri_log_nameval *nv; in xfs_attri_log_nameval_alloc() local 90 nv = xlog_kvmalloc(sizeof(struct xfs_attri_log_nameval) + in xfs_attri_log_nameval_alloc() 94 nv->name.iov_base = nv + 1; in xfs_attri_log_nameval_alloc() [all …]
|
| /linux/drivers/scsi/ |
| H A D | qla1280.c | 577 struct nvram *nv; in qla1280_read_nvram() local 587 nv = &ha->nvram; in qla1280_read_nvram() 596 if (nv->id0 != 'I' || nv->id1 != 'S' || in qla1280_read_nvram() 597 nv->id2 != 'P' || nv->id3 != ' ' || nv->version < 1) { in qla1280_read_nvram() 610 " version %i\n", nv->id0, nv->id1, nv->id2, nv->id3, in qla1280_read_nvram() 611 nv->version); in qla1280_read_nvram() 639 nv->isp_parameter = cpu_to_le16(nv->isp_parameter); in qla1280_read_nvram() 640 nv->firmware_feature.w = cpu_to_le16(nv->firmware_feature.w); in qla1280_read_nvram() 642 nv->bus[i].selection_timeout = cpu_to_le16(nv->bus[i].selection_timeout); in qla1280_read_nvram() 643 nv->bus[i].max_queue_depth = cpu_to_le16(nv->bus[i].max_queue_depth); in qla1280_read_nvram() [all …]
|
| /linux/lib/ |
| H A D | group_cpus.c | 260 struct node_groups *nv, in assign_cpus_to_groups() argument 267 extra_grps = ncpus - nv->ngroups * (ncpus / nv->ngroups); in assign_cpus_to_groups() 270 for (v = 0; v < nv->ngroups; v++, *curgrp += 1) { in assign_cpus_to_groups() 271 cpus_per_grp = ncpus / nv->ngroups; in assign_cpus_to_groups() 383 struct node_groups *nv = &cluster_groups[i]; in __try_group_cluster_cpus() local 386 cpumask_and(nmsk, node_cpumask, clusters[nv->id]); in __try_group_cluster_cpus() 390 WARN_ON_ONCE(nv->ngroups > nc); in __try_group_cluster_cpus() 392 assign_cpus_to_groups(nc, nmsk, nv, masks, curgrp, last_grp); in __try_group_cluster_cpus() 444 struct node_groups *nv = &node_groups[i]; in __group_cpus_evenly() local 446 if (nv->ngroups == UINT_MAX) in __group_cpus_evenly() [all …]
|
| /linux/net/netfilter/ |
| H A D | xt_DSCP.c | 76 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()
|
| /linux/drivers/scsi/qla2xxx/ |
| H A D | qla_init.c | 4187 struct nvram_81xx *nv = ha->nvram; in qla24xx_detect_sfp() local 4197 (nv->enhanced_features & NEF_LR_DIST_ENABLE)) { in qla24xx_detect_sfp() 4201 (nv->enhanced_features >> LR_DIST_NV_POS) in qla24xx_detect_sfp() 5215 static void qla2xxx_nvram_wwn_from_ofw(scsi_qla_host_t *vha, nvram_t *nv) in qla2xxx_nvram_wwn_from_ofw() argument 5226 memcpy(nv->port_name, val, WWN_SIZE); in qla2xxx_nvram_wwn_from_ofw() 5230 memcpy(nv->node_name, val, WWN_SIZE); in qla2xxx_nvram_wwn_from_ofw() 5256 nvram_t *nv = ha->nvram; in qla2x00_nvram_config() local 5263 ha->nvram_size = sizeof(*nv); in qla2x00_nvram_config() 5277 nv, ha->nvram_size); in qla2x00_nvram_config() 5280 if (chksum || memcmp("ISP ", nv->id, sizeof(nv->id)) || in qla2x00_nvram_config() [all …]
|
| H A D | qla_target.c | 7957 qlt_24xx_config_nvram_stage1(struct scsi_qla_host *vha, struct nvram_24xx *nv) in qlt_24xx_config_nvram_stage1() argument 7968 ha->tgt.saved_exchange_count = nv->exchange_count; in qlt_24xx_config_nvram_stage1() 7970 nv->firmware_options_1; in qlt_24xx_config_nvram_stage1() 7972 nv->firmware_options_2; in qlt_24xx_config_nvram_stage1() 7974 nv->firmware_options_3; in qlt_24xx_config_nvram_stage1() 7979 nv->exchange_count = cpu_to_le16(0xFFFF); in qlt_24xx_config_nvram_stage1() 7981 nv->exchange_count = cpu_to_le16(vha->ql2xexchoffld); in qlt_24xx_config_nvram_stage1() 7984 nv->firmware_options_1 |= cpu_to_le32(BIT_4); in qlt_24xx_config_nvram_stage1() 7988 nv->firmware_options_1 |= cpu_to_le32(BIT_5); in qlt_24xx_config_nvram_stage1() 7991 nv->firmware_options_1 &= cpu_to_le32(~BIT_13); in qlt_24xx_config_nvram_stage1() [all …]
|
| /linux/drivers/net/ethernet/meta/fbnic/ |
| H A D | fbnic_irq.c | 252 struct fbnic_napi_vector *nv) in fbnic_napi_request_irq() argument 255 int i = fbnic_napi_idx(nv); in fbnic_napi_request_irq() 259 err = fbnic_request_irq(fbd, nv->v_idx, in fbnic_napi_request_irq() 272 struct fbnic_napi_vector *nv) in fbnic_napi_free_irq() argument 275 int i = fbnic_napi_idx(nv); in fbnic_napi_free_irq() 280 fbnic_free_irq(fbd, nv->v_idx, &fbn->napi[i]); in fbnic_napi_free_irq()
|
| H A D | fbnic.h | 190 struct fbnic_napi_vector *nv); 192 struct fbnic_napi_vector *nv); 215 void fbnic_config_txrx_usecs(struct fbnic_napi_vector *nv, u32 arm); 216 void fbnic_config_rx_frames(struct fbnic_napi_vector *nv);
|
| H A D | fbnic_ethtool.c | 182 struct fbnic_napi_vector *nv) in fbnic_aggregate_vector_counters() argument 186 for (i = 0; i < nv->txt_count; i++) { in fbnic_aggregate_vector_counters() 187 fbnic_aggregate_ring_tx_counters(fbn, &nv->qt[i].sub0); in fbnic_aggregate_vector_counters() 188 fbnic_aggregate_ring_xdp_counters(fbn, &nv->qt[i].sub1); in fbnic_aggregate_vector_counters() 189 fbnic_aggregate_ring_tx_counters(fbn, &nv->qt[i].cmpl); in fbnic_aggregate_vector_counters() 192 for (j = 0; j < nv->rxt_count; j++, i++) { in fbnic_aggregate_vector_counters() 193 fbnic_aggregate_ring_bdq_counters(fbn, &nv->qt[i].sub0); in fbnic_aggregate_vector_counters() 194 fbnic_aggregate_ring_bdq_counters(fbn, &nv->qt[i].sub1); in fbnic_aggregate_vector_counters() 195 fbnic_aggregate_ring_rx_counters(fbn, &nv->qt[i].cmpl); in fbnic_aggregate_vector_counters() 270 struct fbnic_napi_vector *nv = fbn->napi[i]; in fbnic_set_coalesce() local [all …]
|
| /linux/samples/bpf/ |
| H A D | tcp_basertt_kern.c | 28 char nv[] = "nv"; in bpf_basertt() local 50 if (!n && !__builtin_memcmp(cong, nv, sizeof(nv))) { in bpf_basertt()
|
| /linux/arch/x86/kvm/vmx/ |
| H A D | posted_intr.c | 79 if (pi_desc->nv != POSTED_INTR_WAKEUP_VECTOR && vcpu->cpu == cpu) { in vmx_vcpu_pi_load() 92 if (pi_desc->nv == POSTED_INTR_WAKEUP_VECTOR) { in vmx_vcpu_pi_load() 128 new.nv = POSTED_INTR_VECTOR; in vmx_vcpu_pi_load() 194 new.nv = POSTED_INTR_WAKEUP_VECTOR; in pi_enable_wakeup_handler()
|
| /linux/drivers/input/mouse/ |
| H A D | sentelic.c | 183 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()
|
| /linux/drivers/s390/char/ |
| H A D | raw3270.c | 903 struct raw3270_view *oldview = NULL, *nv; in __raw3270_activate_view() local 929 list_for_each_entry(nv, &rp->view_list, list) { in __raw3270_activate_view() 930 if (nv == view || nv == oldview) in __raw3270_activate_view() 932 rc = raw3270_assign_activate_view(rp, nv); in __raw3270_activate_view() 1065 struct raw3270_view *nv; in raw3270_del_view() local 1076 list_for_each_entry(nv, &rp->view_list, list) { in raw3270_del_view() 1077 if (nv->fn->activate(nv) == 0) { in raw3270_del_view() 1078 rp->view = nv; in raw3270_del_view()
|
| /linux/drivers/media/tuners/ |
| H A D | it913x.c | 33 static const u8 nv[] = {48, 32, 24, 16, 12, 8, 6, 4, 2}; in it913x_init() local 73 else if (utmp < ARRAY_SIZE(nv)) in it913x_init() 74 nv_val = nv[utmp]; in it913x_init()
|
| /linux/drivers/media/pci/ddbridge/ |
| H A D | ddbridge-max.c | 238 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()
|
| /linux/arch/powerpc/perf/ |
| H A D | core-book3s.c | 970 unsigned long mask, value, nv; in power_check_constraints() local 996 nv = (value | cpuhw->avalues[i][0]) + in power_check_constraints() 999 if (((((nv + tadd) ^ value) & mask) & (~grp_mask)) != 0) in power_check_constraints() 1002 if (((((nv + tadd) ^ cpuhw->avalues[i][0]) & cpuhw->amasks[i][0]) in power_check_constraints() 1006 value = nv; in power_check_constraints() 1033 value = mask = nv = 0; in power_check_constraints() 1046 nv = (value | cpuhw->avalues[i][j]) + in power_check_constraints() 1048 if ((((nv + tadd) ^ value) & mask) == 0 && in power_check_constraints() 1049 (((nv + tadd) ^ cpuhw->avalues[i][j]) in power_check_constraints() 1071 value = nv; in power_check_constraints()
|
| /linux/drivers/mtd/devices/ |
| H A D | Makefile | 10 obj-$(CONFIG_MTD_MS02NV) += ms02-nv.o
|
| /linux/drivers/net/ |
| H A D | net_failover.c | 162 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()
|
| /linux/drivers/staging/media/atomisp/pci/runtime/frame/interface/ |
| H A D | ia_css_frame_comm.h | 93 struct ia_css_frame_sp_nv_planes nv; member
|
| /linux/arch/csky/include/asm/ |
| H A D | futex.h | 111 : [ov] "Jr" (oldval), [nv] "Jr" (newval), [e] "Jr" (-EFAULT) in futex_atomic_cmpxchg_inatomic()
|
| /linux/arch/riscv/include/asm/ |
| H A D | futex.h | 96 : [ov] "Jr" ((long)(int)oldval), [nv] "Jr" (newval) in futex_atomic_cmpxchg_inatomic()
|
| /linux/drivers/staging/nvec/ |
| H A D | README | 13 [1] e.g. https://nv-tegra.nvidia.com/gitweb/?p=linux-2.6.git;a=tree;f=arch/arm/mach-tegra/nvec;hb=a…
|
| /linux/drivers/staging/media/atomisp/pci/ |
| H A D | ia_css_frame_public.h | 175 struct ia_css_frame_nv_planes nv; member
|
| /linux/arch/x86/include/asm/ |
| H A D | posted_intr.h | 25 u8 nv; member
|
| /linux/drivers/net/ethernet/apm/xgene/ |
| H A D | xgene_enet_main.c | 418 u8 ll = 0, nv = 0, idx = 0; in xgene_enet_setup_tx_desc() local 453 nv = 1; in xgene_enet_setup_tx_desc() 540 raw_desc->m0 = cpu_to_le64(SET_VAL(LL, ll) | SET_VAL(NV, nv) | in xgene_enet_setup_tx_desc() 684 bool nv; in xgene_enet_rx_frame() local 701 nv = GET_VAL(NV, le64_to_cpu(raw_desc->m0)); in xgene_enet_rx_frame() 702 if (!nv) in xgene_enet_rx_frame() 726 if (!nv) in xgene_enet_rx_frame()
|