| /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/net/ethernet/meta/fbnic/ |
| H A D | fbnic_txrx.c | 544 static void fbnic_clean_twq0(struct fbnic_napi_vector *nv, int napi_budget, in fbnic_clean_twq0() argument 580 fbnic_unmap_single_twd(nv->dev, &ring->desc[head]); in fbnic_clean_twq0() 587 fbnic_unmap_page_twd(nv->dev, in fbnic_clean_twq0() 606 txq = txring_txq(nv->napi.dev, ring); in fbnic_clean_twq0() 632 static void fbnic_clean_twq1(struct fbnic_napi_vector *nv, bool pp_allow_direct, in fbnic_clean_twq1() argument 681 static void fbnic_clean_tsq(struct fbnic_napi_vector *nv, in fbnic_clean_tsq() argument 698 netdev_err(nv->napi.dev, in fbnic_clean_tsq() 710 fbn = netdev_priv(nv->napi.dev); in fbnic_clean_tsq() 775 static void fbnic_clean_twq(struct fbnic_napi_vector *nv, int napi_budget, in fbnic_clean_twq() argument 780 fbnic_clean_twq0(nv, napi_budget, &qt->sub0, false, head0); in fbnic_clean_twq() [all …]
|
| H A D | fbnic_debugfs.c | 318 void fbnic_dbg_nv_init(struct fbnic_napi_vector *nv) in fbnic_dbg_nv_init() argument 320 struct fbnic_dev *fbd = nv->fbd; in fbnic_dbg_nv_init() 325 snprintf(name, sizeof(name), "nv.%03d", nv->v_idx); in fbnic_dbg_nv_init() 327 nv->dbg_nv = debugfs_create_dir(name, fbd->dbg_fbd); in fbnic_dbg_nv_init() 330 for (i = 0; i < nv->txt_count; i++) { in fbnic_dbg_nv_init() 331 struct fbnic_q_triad *qt = &nv->qt[i]; in fbnic_dbg_nv_init() 339 debugfs_create_file(name, 0400, nv->dbg_nv, &qt->sub0, in fbnic_dbg_nv_init() 343 debugfs_create_file(name, 0400, nv->dbg_nv, &qt->sub1, in fbnic_dbg_nv_init() 347 debugfs_create_file(name, 0400, nv->dbg_nv, &qt->cmpl, in fbnic_dbg_nv_init() 352 for (j = 0; j < nv->rxt_count; j++, i++) { in fbnic_dbg_nv_init() [all …]
|
| H A D | fbnic_txrx.h | 200 static inline int fbnic_napi_idx(const struct fbnic_napi_vector *nv) in fbnic_napi_idx() argument 202 return nv->v_idx - FBNIC_NON_NAPI_VECTORS; in fbnic_napi_idx() 205 void fbnic_dbg_nv_init(struct fbnic_napi_vector *nv); 206 void fbnic_dbg_nv_exit(struct fbnic_napi_vector *nv);
|
| /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/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/scsi/qla2xxx/ |
| 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/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/drivers/mtd/devices/ |
| H A D | Makefile | 10 obj-$(CONFIG_MTD_MS02NV) += ms02-nv.o
|
| /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/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/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/gpu/drm/nouveau/nvkm/engine/gr/fuc/ |
| H A D | com.fuc | 89 // nv_rd32 - read 32-bit value from nv register 107 // nv_wr32 - write 32-bit value to nv register
|
| /linux/drivers/staging/media/atomisp/pci/runtime/frame/src/ |
| H A D | frame.c | 525 frame_init_plane(&frame->planes.nv.y, y_width, y_stride, y_height, 0); in frame_init_nv_planes() 526 frame_init_plane(&frame->planes.nv.uv, uv_width, in frame_init_nv_planes()
|
| /linux/arch/arm/boot/dts/marvell/ |
| H A D | kirkwood-netgear_readynas_nv+_v2.dts | 15 …compatible = "netgear,readynas-nv+-v2", "netgear,readynas", "marvell,kirkwood-88f6282", "marvell,k…
|
| /linux/Documentation/power/ |
| H A D | video.rst | 138 HP Pavilion ZD7000 vbetool post needed, need open-source nv 178 Sony Vaio PCG-GRT995MP none (1), works with 'nv' X driver
|
| /linux/drivers/gpu/drm/nouveau/nvkm/subdev/pmu/fuc/ |
| H A D | kernel.fuc | 46 // read nv register 63 // write nv register
|
| /linux/arch/x86/kernel/ |
| H A D | irq.c | 372 this_cpu_write(posted_msi_pi_desc.nv, POSTED_MSI_NOTIFICATION_VECTOR); in dummy_handler()
|