nm 36 arch/arc/include/asm/linkage.h .macro ARCFP_DATA nm nm 100 arch/arc/kernel/troubleshoot.c char *nm = "?"; nm 103 arch/arc/kernel/troubleshoot.c nm = file_path(vma->vm_file, buf, ARC_PATH_MAX-1); nm 104 arch/arc/kernel/troubleshoot.c if (IS_ERR(nm)) nm 105 arch/arc/kernel/troubleshoot.c nm = "?"; nm 111 arch/arc/kernel/troubleshoot.c nm, vma->vm_start, vma->vm_end); nm 384 arch/sparc/kernel/ioport.c const char *nm; nm 387 arch/sparc/kernel/ioport.c if ((nm = r->name) == NULL) nm = "???"; nm 390 arch/sparc/kernel/ioport.c (unsigned long long)r->end, nm); nm 310 block/blk-sysfs.c unsigned long nm; nm 311 block/blk-sysfs.c ssize_t ret = queue_var_store(&nm, page, count); nm 318 block/blk-sysfs.c if (nm == 2) nm 320 block/blk-sysfs.c else if (nm) nm 31 drivers/clk/sunxi-ng/ccu_nm.c struct _ccu_nm *nm) nm 37 drivers/clk/sunxi-ng/ccu_nm.c for (_n = nm->min_n; _n <= nm->max_n; _n++) { nm 38 drivers/clk/sunxi-ng/ccu_nm.c for (_m = nm->min_m; _m <= nm->max_m; _m++) { nm 53 drivers/clk/sunxi-ng/ccu_nm.c nm->n = best_n; nm 54 drivers/clk/sunxi-ng/ccu_nm.c nm->m = best_m; nm 59 drivers/clk/sunxi-ng/ccu_nm.c struct ccu_nm *nm = hw_to_ccu_nm(hw); nm 61 drivers/clk/sunxi-ng/ccu_nm.c return ccu_gate_helper_disable(&nm->common, nm->enable); nm 66 drivers/clk/sunxi-ng/ccu_nm.c struct ccu_nm *nm = hw_to_ccu_nm(hw); nm 68 drivers/clk/sunxi-ng/ccu_nm.c return ccu_gate_helper_enable(&nm->common, nm->enable); nm 73 drivers/clk/sunxi-ng/ccu_nm.c struct ccu_nm *nm = hw_to_ccu_nm(hw); nm 75 drivers/clk/sunxi-ng/ccu_nm.c return ccu_gate_helper_is_enabled(&nm->common, nm->enable); nm 81 drivers/clk/sunxi-ng/ccu_nm.c struct ccu_nm *nm = hw_to_ccu_nm(hw); nm 86 drivers/clk/sunxi-ng/ccu_nm.c if (ccu_frac_helper_is_enabled(&nm->common, &nm->frac)) { nm 87 drivers/clk/sunxi-ng/ccu_nm.c rate = ccu_frac_helper_read_rate(&nm->common, &nm->frac); nm 89 drivers/clk/sunxi-ng/ccu_nm.c if (nm->common.features & CCU_FEATURE_FIXED_POSTDIV) nm 90 drivers/clk/sunxi-ng/ccu_nm.c rate /= nm->fixed_post_div; nm 95 drivers/clk/sunxi-ng/ccu_nm.c reg = readl(nm->common.base + nm->common.reg); nm 97 drivers/clk/sunxi-ng/ccu_nm.c n = reg >> nm->n.shift; nm 98 drivers/clk/sunxi-ng/ccu_nm.c n &= (1 << nm->n.width) - 1; nm 99 drivers/clk/sunxi-ng/ccu_nm.c n += nm->n.offset; nm 103 drivers/clk/sunxi-ng/ccu_nm.c m = reg >> nm->m.shift; nm 104 drivers/clk/sunxi-ng/ccu_nm.c m &= (1 << nm->m.width) - 1; nm 105 drivers/clk/sunxi-ng/ccu_nm.c m += nm->m.offset; nm 109 drivers/clk/sunxi-ng/ccu_nm.c if (ccu_sdm_helper_is_enabled(&nm->common, &nm->sdm)) nm 110 drivers/clk/sunxi-ng/ccu_nm.c rate = ccu_sdm_helper_read_rate(&nm->common, &nm->sdm, m, n); nm 114 drivers/clk/sunxi-ng/ccu_nm.c if (nm->common.features & CCU_FEATURE_FIXED_POSTDIV) nm 115 drivers/clk/sunxi-ng/ccu_nm.c rate /= nm->fixed_post_div; nm 123 drivers/clk/sunxi-ng/ccu_nm.c struct ccu_nm *nm = hw_to_ccu_nm(hw); nm 126 drivers/clk/sunxi-ng/ccu_nm.c if (nm->common.features & CCU_FEATURE_FIXED_POSTDIV) nm 127 drivers/clk/sunxi-ng/ccu_nm.c rate *= nm->fixed_post_div; nm 129 drivers/clk/sunxi-ng/ccu_nm.c if (rate < nm->min_rate) { nm 130 drivers/clk/sunxi-ng/ccu_nm.c rate = nm->min_rate; nm 131 drivers/clk/sunxi-ng/ccu_nm.c if (nm->common.features & CCU_FEATURE_FIXED_POSTDIV) nm 132 drivers/clk/sunxi-ng/ccu_nm.c rate /= nm->fixed_post_div; nm 136 drivers/clk/sunxi-ng/ccu_nm.c if (nm->max_rate && rate > nm->max_rate) { nm 137 drivers/clk/sunxi-ng/ccu_nm.c rate = nm->max_rate; nm 138 drivers/clk/sunxi-ng/ccu_nm.c if (nm->common.features & CCU_FEATURE_FIXED_POSTDIV) nm 139 drivers/clk/sunxi-ng/ccu_nm.c rate /= nm->fixed_post_div; nm 143 drivers/clk/sunxi-ng/ccu_nm.c if (ccu_frac_helper_has_rate(&nm->common, &nm->frac, rate)) { nm 144 drivers/clk/sunxi-ng/ccu_nm.c if (nm->common.features & CCU_FEATURE_FIXED_POSTDIV) nm 145 drivers/clk/sunxi-ng/ccu_nm.c rate /= nm->fixed_post_div; nm 149 drivers/clk/sunxi-ng/ccu_nm.c if (ccu_sdm_helper_has_rate(&nm->common, &nm->sdm, rate)) { nm 150 drivers/clk/sunxi-ng/ccu_nm.c if (nm->common.features & CCU_FEATURE_FIXED_POSTDIV) nm 151 drivers/clk/sunxi-ng/ccu_nm.c rate /= nm->fixed_post_div; nm 155 drivers/clk/sunxi-ng/ccu_nm.c _nm.min_n = nm->n.min ?: 1; nm 156 drivers/clk/sunxi-ng/ccu_nm.c _nm.max_n = nm->n.max ?: 1 << nm->n.width; nm 158 drivers/clk/sunxi-ng/ccu_nm.c _nm.max_m = nm->m.max ?: 1 << nm->m.width; nm 163 drivers/clk/sunxi-ng/ccu_nm.c if (nm->common.features & CCU_FEATURE_FIXED_POSTDIV) nm 164 drivers/clk/sunxi-ng/ccu_nm.c rate /= nm->fixed_post_div; nm 172 drivers/clk/sunxi-ng/ccu_nm.c struct ccu_nm *nm = hw_to_ccu_nm(hw); nm 178 drivers/clk/sunxi-ng/ccu_nm.c if (nm->common.features & CCU_FEATURE_FIXED_POSTDIV) nm 179 drivers/clk/sunxi-ng/ccu_nm.c rate = rate * nm->fixed_post_div; nm 181 drivers/clk/sunxi-ng/ccu_nm.c if (ccu_frac_helper_has_rate(&nm->common, &nm->frac, rate)) { nm 182 drivers/clk/sunxi-ng/ccu_nm.c spin_lock_irqsave(nm->common.lock, flags); nm 185 drivers/clk/sunxi-ng/ccu_nm.c reg = readl(nm->common.base + nm->common.reg); nm 186 drivers/clk/sunxi-ng/ccu_nm.c reg &= ~GENMASK(nm->m.width + nm->m.shift - 1, nm->m.shift); nm 187 drivers/clk/sunxi-ng/ccu_nm.c writel(reg, nm->common.base + nm->common.reg); nm 189 drivers/clk/sunxi-ng/ccu_nm.c spin_unlock_irqrestore(nm->common.lock, flags); nm 191 drivers/clk/sunxi-ng/ccu_nm.c ccu_frac_helper_enable(&nm->common, &nm->frac); nm 193 drivers/clk/sunxi-ng/ccu_nm.c return ccu_frac_helper_set_rate(&nm->common, &nm->frac, nm 194 drivers/clk/sunxi-ng/ccu_nm.c rate, nm->lock); nm 196 drivers/clk/sunxi-ng/ccu_nm.c ccu_frac_helper_disable(&nm->common, &nm->frac); nm 199 drivers/clk/sunxi-ng/ccu_nm.c _nm.min_n = nm->n.min ?: 1; nm 200 drivers/clk/sunxi-ng/ccu_nm.c _nm.max_n = nm->n.max ?: 1 << nm->n.width; nm 202 drivers/clk/sunxi-ng/ccu_nm.c _nm.max_m = nm->m.max ?: 1 << nm->m.width; nm 204 drivers/clk/sunxi-ng/ccu_nm.c if (ccu_sdm_helper_has_rate(&nm->common, &nm->sdm, rate)) { nm 205 drivers/clk/sunxi-ng/ccu_nm.c ccu_sdm_helper_enable(&nm->common, &nm->sdm, rate); nm 208 drivers/clk/sunxi-ng/ccu_nm.c ccu_sdm_helper_get_factors(&nm->common, &nm->sdm, rate, nm 211 drivers/clk/sunxi-ng/ccu_nm.c ccu_sdm_helper_disable(&nm->common, &nm->sdm); nm 215 drivers/clk/sunxi-ng/ccu_nm.c spin_lock_irqsave(nm->common.lock, flags); nm 217 drivers/clk/sunxi-ng/ccu_nm.c reg = readl(nm->common.base + nm->common.reg); nm 218 drivers/clk/sunxi-ng/ccu_nm.c reg &= ~GENMASK(nm->n.width + nm->n.shift - 1, nm->n.shift); nm 219 drivers/clk/sunxi-ng/ccu_nm.c reg &= ~GENMASK(nm->m.width + nm->m.shift - 1, nm->m.shift); nm 221 drivers/clk/sunxi-ng/ccu_nm.c reg |= (_nm.n - nm->n.offset) << nm->n.shift; nm 222 drivers/clk/sunxi-ng/ccu_nm.c reg |= (_nm.m - nm->m.offset) << nm->m.shift; nm 223 drivers/clk/sunxi-ng/ccu_nm.c writel(reg, nm->common.base + nm->common.reg); nm 225 drivers/clk/sunxi-ng/ccu_nm.c spin_unlock_irqrestore(nm->common.lock, flags); nm 227 drivers/clk/sunxi-ng/ccu_nm.c ccu_helper_wait_for_lock(&nm->common, nm->lock); nm 33 drivers/gpu/drm/bridge/analogix/analogix_dp_core.c #define to_dp(nm) container_of(nm, struct analogix_dp_device, nm) nm 31 drivers/gpu/drm/exynos/exynos_dp.c #define to_dp(nm) container_of(nm, struct exynos_dp_device, nm) nm 379 drivers/gpu/drm/i915/display/intel_audio.c const struct dp_aud_n_m *nm; nm 384 drivers/gpu/drm/i915/display/intel_audio.c nm = audio_config_dp_get_n_m(crtc_state, rate); nm 385 drivers/gpu/drm/i915/display/intel_audio.c if (nm) nm 386 drivers/gpu/drm/i915/display/intel_audio.c DRM_DEBUG_KMS("using Maud %u, Naud %u\n", nm->m, nm->n); nm 396 drivers/gpu/drm/i915/display/intel_audio.c if (nm) { nm 398 drivers/gpu/drm/i915/display/intel_audio.c tmp |= AUD_CONFIG_N(nm->n); nm 409 drivers/gpu/drm/i915/display/intel_audio.c if (nm) { nm 410 drivers/gpu/drm/i915/display/intel_audio.c tmp |= nm->m; nm 243 drivers/gpu/drm/radeon/radeon_i2c.c u32 nm; nm 261 drivers/gpu/drm/radeon/radeon_i2c.c nm = (sclk * 10) / (i2c_clock * 4); nm 263 drivers/gpu/drm/radeon/radeon_i2c.c if ((nm / loop) < loop) nm 42 drivers/gpu/drm/rockchip/analogix_dp-rockchip.c #define to_dp(nm) container_of(nm, struct rockchip_dp_device, nm) nm 169 drivers/gpu/drm/rockchip/dw-mipi-dsi-rockchip.c #define to_dsi(nm) container_of(nm, struct dw_mipi_dsi_rockchip, nm) nm 1151 drivers/infiniband/hw/hfi1/debugfs.c #define DEBUGFS_OPS(nm, readroutine, writeroutine) \ nm 1153 drivers/infiniband/hw/hfi1/debugfs.c .name = nm, \ nm 1162 drivers/infiniband/hw/hfi1/debugfs.c #define DEBUGFS_XOPS(nm, readf, writef, openf, releasef) \ nm 1164 drivers/infiniband/hw/hfi1/debugfs.c .name = nm, \ nm 625 drivers/md/md.h char nm[20]; nm 629 drivers/md/md.h sprintf(nm, "rd%d", rdev->raid_disk); nm 630 drivers/md/md.h return sysfs_create_link(&mddev->kobj, &rdev->kobj, nm); nm 637 drivers/md/md.h char nm[20]; nm 641 drivers/md/md.h sprintf(nm, "rd%d", rdev->raid_disk); nm 642 drivers/md/md.h sysfs_remove_link(&mddev->kobj, nm); nm 21 drivers/media/platform/sti/c8sectpfe/c8sectpfe-debugfs.c #define dump_register(nm ...) \ nm 23 drivers/media/platform/sti/c8sectpfe/c8sectpfe-debugfs.c .name = #nm, \ nm 24 drivers/media/platform/sti/c8sectpfe/c8sectpfe-debugfs.c .offset = nm, \ nm 2334 drivers/media/usb/uvc/uvc_ctrl.c struct uvc_control_mapping *mapping, *nm; nm 2336 drivers/media/usb/uvc/uvc_ctrl.c list_for_each_entry_safe(mapping, nm, &ctrl->info.mappings, list) { nm 71 drivers/memory/atmel-ebi.c #define ATMEL_SMC_SETUP_XLATE(nm, pos) \ nm 72 drivers/memory/atmel-ebi.c { .name = nm, .converter = atmel_smc_cs_conf_set_setup, .shift = pos} nm 74 drivers/memory/atmel-ebi.c #define ATMEL_SMC_PULSE_XLATE(nm, pos) \ nm 75 drivers/memory/atmel-ebi.c { .name = nm, .converter = atmel_smc_cs_conf_set_pulse, .shift = pos} nm 77 drivers/memory/atmel-ebi.c #define ATMEL_SMC_CYCLE_XLATE(nm, pos) \ nm 78 drivers/memory/atmel-ebi.c { .name = nm, .converter = atmel_smc_cs_conf_set_cycle, .shift = pos} nm 493 drivers/misc/xilinx_sdfec.c u32 no_packing, u32 nm, u32 offset) nm 507 drivers/misc/xilinx_sdfec.c if (nm & ~(XSDFEC_REG1_NM_MASK >> XSDFEC_REG1_NM_LSB)) nm 509 drivers/misc/xilinx_sdfec.c nm = (nm << XSDFEC_REG1_NM_LSB) & XSDFEC_REG1_NM_MASK; nm 511 drivers/misc/xilinx_sdfec.c wdata = nm | no_packing | psize; nm 684 drivers/misc/xilinx_sdfec.c ret = xsdfec_reg1_write(xsdfec, ldpc->psize, ldpc->no_packing, ldpc->nm, nm 194 drivers/mtd/ubi/debug.c char nm[17]; nm 203 drivers/mtd/ubi/debug.c memcpy(nm, req->name, 16); nm 204 drivers/mtd/ubi/debug.c nm[16] = 0; nm 205 drivers/mtd/ubi/debug.c pr_err("\t1st 16 characters of name: %s\n", nm); nm 1242 drivers/net/wireless/ath/ath9k/debug.c #define AMKSTR(nm) #nm "_BE", #nm "_BK", #nm "_VI", #nm "_VO" nm 402 drivers/net/wireless/ath/ath9k/htc_drv_debug.c #define AMKSTR(nm) #nm "_BE", #nm "_BK", #nm "_VI", #nm "_VO" nm 28 drivers/ntb/test/ntb_msi_test.c struct ntb_msit_ctx *nm; nm 33 drivers/ntb/test/ntb_msi_test.c struct ntb_msit_ctx *nm; nm 46 drivers/ntb/test/ntb_msi_test.c struct ntb_msit_ctx *nm = isr_ctx->nm; nm 48 drivers/ntb/test/ntb_msi_test.c dev_dbg(&nm->ntb->dev, "Interrupt Occurred: %d", nm 58 drivers/ntb/test/ntb_msi_test.c struct ntb_msit_ctx *nm = container_of(work, struct ntb_msit_ctx, nm 65 drivers/ntb/test/ntb_msi_test.c ret = ntb_msi_setup_mws(nm->ntb); nm 67 drivers/ntb/test/ntb_msi_test.c dev_err(&nm->ntb->dev, "Unable to setup MSI windows: %d\n", nm 73 drivers/ntb/test/ntb_msi_test.c nm->isr_ctx[i].irq_idx = i; nm 74 drivers/ntb/test/ntb_msi_test.c nm->isr_ctx[i].nm = nm; nm 76 drivers/ntb/test/ntb_msi_test.c if (!nm->isr_ctx[i].irq_num) { nm 77 drivers/ntb/test/ntb_msi_test.c irq = ntbm_msi_request_irq(nm->ntb, ntb_msit_isr, nm 79 drivers/ntb/test/ntb_msi_test.c &nm->isr_ctx[i], nm 80 drivers/ntb/test/ntb_msi_test.c &nm->isr_ctx[i].desc); nm 84 drivers/ntb/test/ntb_msi_test.c nm->isr_ctx[i].irq_num = irq; nm 87 drivers/ntb/test/ntb_msi_test.c ret = ntb_spad_write(nm->ntb, 2 * i + 1, nm 88 drivers/ntb/test/ntb_msi_test.c nm->isr_ctx[i].desc.addr_offset); nm 92 drivers/ntb/test/ntb_msi_test.c ret = ntb_spad_write(nm->ntb, 2 * i + 2, nm 93 drivers/ntb/test/ntb_msi_test.c nm->isr_ctx[i].desc.data); nm 100 drivers/ntb/test/ntb_msi_test.c ntb_spad_write(nm->ntb, 0, irq_count); nm 101 drivers/ntb/test/ntb_msi_test.c ntb_peer_db_set(nm->ntb, BIT(ntb_port_number(nm->ntb))); nm 106 drivers/ntb/test/ntb_msi_test.c struct ntb_msit_ctx *nm = ctx; nm 109 drivers/ntb/test/ntb_msi_test.c dev_dbg(&nm->ntb->dev, "MSI Descriptors Changed\n"); nm 112 drivers/ntb/test/ntb_msi_test.c ntb_spad_write(nm->ntb, 2 * i + 1, nm 113 drivers/ntb/test/ntb_msi_test.c nm->isr_ctx[i].desc.addr_offset); nm 114 drivers/ntb/test/ntb_msi_test.c ntb_spad_write(nm->ntb, 2 * i + 2, nm 115 drivers/ntb/test/ntb_msi_test.c nm->isr_ctx[i].desc.data); nm 118 drivers/ntb/test/ntb_msi_test.c ntb_peer_db_set(nm->ntb, BIT(ntb_port_number(nm->ntb))); nm 123 drivers/ntb/test/ntb_msi_test.c struct ntb_msit_ctx *nm = ctx; nm 125 drivers/ntb/test/ntb_msi_test.c if (!ntb_link_is_up(nm->ntb, NULL, NULL)) nm 128 drivers/ntb/test/ntb_msi_test.c schedule_work(&nm->setup_work); nm 131 drivers/ntb/test/ntb_msi_test.c static void ntb_msit_copy_peer_desc(struct ntb_msit_ctx *nm, int peer) nm 134 drivers/ntb/test/ntb_msi_test.c struct ntb_msi_desc *desc = nm->peers[peer].msi_desc; nm 135 drivers/ntb/test/ntb_msi_test.c int irq_count = nm->peers[peer].num_irqs; nm 138 drivers/ntb/test/ntb_msi_test.c desc[i].addr_offset = ntb_peer_spad_read(nm->ntb, peer, nm 140 drivers/ntb/test/ntb_msi_test.c desc[i].data = ntb_peer_spad_read(nm->ntb, peer, 2 * i + 2); nm 143 drivers/ntb/test/ntb_msi_test.c dev_info(&nm->ntb->dev, "Found %d interrupts on peer %d\n", nm 146 drivers/ntb/test/ntb_msi_test.c complete_all(&nm->peers[peer].init_comp); nm 151 drivers/ntb/test/ntb_msi_test.c struct ntb_msit_ctx *nm = ctx; nm 153 drivers/ntb/test/ntb_msi_test.c u64 peer_mask = ntb_db_read(nm->ntb); nm 157 drivers/ntb/test/ntb_msi_test.c ntb_db_clear(nm->ntb, peer_mask); nm 163 drivers/ntb/test/ntb_msi_test.c irq_count = ntb_peer_spad_read(nm->ntb, peer, 0); nm 171 drivers/ntb/test/ntb_msi_test.c kfree(nm->peers[peer].msi_desc); nm 172 drivers/ntb/test/ntb_msi_test.c nm->peers[peer].msi_desc = desc; nm 173 drivers/ntb/test/ntb_msi_test.c nm->peers[peer].num_irqs = irq_count; nm 175 drivers/ntb/test/ntb_msi_test.c ntb_msit_copy_peer_desc(nm, peer); nm 191 drivers/ntb/test/ntb_msi_test.c dev_dbg(&peer->nm->ntb->dev, "trigger irq %llu on peer %u\n", nm 194 drivers/ntb/test/ntb_msi_test.c return ntb_msi_peer_trigger(peer->nm->ntb, peer->pidx, nm 205 drivers/ntb/test/ntb_msi_test.c *port = ntb_peer_port_number(peer->nm->ntb, peer->pidx); nm 259 drivers/ntb/test/ntb_msi_test.c struct ntb_msit_ctx *nm = data; nm 261 drivers/ntb/test/ntb_msi_test.c *port = ntb_port_number(nm->ntb); nm 270 drivers/ntb/test/ntb_msi_test.c static void ntb_msit_create_dbgfs(struct ntb_msit_ctx *nm) nm 272 drivers/ntb/test/ntb_msi_test.c struct pci_dev *pdev = nm->ntb->pdev; nm 277 drivers/ntb/test/ntb_msi_test.c nm->dbgfs_dir = debugfs_create_dir(pci_name(pdev), nm 279 drivers/ntb/test/ntb_msi_test.c debugfs_create_file("port", 0400, nm->dbgfs_dir, nm, nm 282 drivers/ntb/test/ntb_msi_test.c for (i = 0; i < ntb_peer_port_count(nm->ntb); i++) { nm 283 drivers/ntb/test/ntb_msi_test.c nm->peers[i].pidx = i; nm 284 drivers/ntb/test/ntb_msi_test.c nm->peers[i].nm = nm; nm 285 drivers/ntb/test/ntb_msi_test.c init_completion(&nm->peers[i].init_comp); nm 288 drivers/ntb/test/ntb_msi_test.c peer_dir = debugfs_create_dir(buf, nm->dbgfs_dir); nm 291 drivers/ntb/test/ntb_msi_test.c &nm->peers[i], nm 295 drivers/ntb/test/ntb_msi_test.c &nm->peers[i], &ntb_msit_port_fops); nm 298 drivers/ntb/test/ntb_msi_test.c &nm->peers[i], nm 302 drivers/ntb/test/ntb_msi_test.c &nm->peers[i], nm 308 drivers/ntb/test/ntb_msi_test.c debugfs_create_file_unsafe(buf, 0400, nm->dbgfs_dir, nm 309 drivers/ntb/test/ntb_msi_test.c &nm->isr_ctx[i], nm 314 drivers/ntb/test/ntb_msi_test.c static void ntb_msit_remove_dbgfs(struct ntb_msit_ctx *nm) nm 316 drivers/ntb/test/ntb_msi_test.c debugfs_remove_recursive(nm->dbgfs_dir); nm 321 drivers/ntb/test/ntb_msi_test.c struct ntb_msit_ctx *nm; nm 355 drivers/ntb/test/ntb_msi_test.c struct_size = sizeof(*nm) + sizeof(*nm->peers) * peers; nm 357 drivers/ntb/test/ntb_msi_test.c nm = devm_kzalloc(&ntb->dev, struct_size, GFP_KERNEL); nm 358 drivers/ntb/test/ntb_msi_test.c if (!nm) nm 361 drivers/ntb/test/ntb_msi_test.c nm->isr_ctx = devm_kcalloc(&ntb->dev, num_irqs, sizeof(*nm->isr_ctx), nm 363 drivers/ntb/test/ntb_msi_test.c if (!nm->isr_ctx) nm 366 drivers/ntb/test/ntb_msi_test.c INIT_WORK(&nm->setup_work, ntb_msit_setup_work); nm 367 drivers/ntb/test/ntb_msi_test.c nm->ntb = ntb; nm 369 drivers/ntb/test/ntb_msi_test.c ntb_msit_create_dbgfs(nm); nm 371 drivers/ntb/test/ntb_msi_test.c ret = ntb_set_ctx(ntb, nm, &ntb_msit_ops); nm 375 drivers/ntb/test/ntb_msi_test.c if (!nm->isr_ctx) nm 383 drivers/ntb/test/ntb_msi_test.c ntb_msit_remove_dbgfs(nm); nm 384 drivers/ntb/test/ntb_msi_test.c devm_kfree(&ntb->dev, nm->isr_ctx); nm 385 drivers/ntb/test/ntb_msi_test.c devm_kfree(&ntb->dev, nm); nm 391 drivers/ntb/test/ntb_msi_test.c struct ntb_msit_ctx *nm = ntb->ctx; nm 399 drivers/ntb/test/ntb_msi_test.c kfree(nm->peers[i].msi_desc); nm 402 drivers/ntb/test/ntb_msi_test.c ntb_msit_remove_dbgfs(nm); nm 654 drivers/pinctrl/nuvoton/pinctrl-npcm7xx.c #define NPCM7XX_MKFUNC(nm) { .name = #nm, .ngroups = ARRAY_SIZE(nm ## _grp), \ nm 655 drivers/pinctrl/nuvoton/pinctrl-npcm7xx.c .groups = nm ## _grp } nm 361 drivers/pinctrl/pinctrl-bm1880.c #define BM1880_PINCTRL_GRP(nm) \ nm 363 drivers/pinctrl/pinctrl-bm1880.c .name = #nm "_grp", \ nm 364 drivers/pinctrl/pinctrl-bm1880.c .pins = nm ## _pins, \ nm 365 drivers/pinctrl/pinctrl-bm1880.c .npins = ARRAY_SIZE(nm ## _pins), \ nm 379 drivers/pinctrl/pinctrl-zynq.c #define DEFINE_ZYNQ_PINCTRL_GRP(nm) \ nm 381 drivers/pinctrl/pinctrl-zynq.c .name = #nm "_grp", \ nm 382 drivers/pinctrl/pinctrl-zynq.c .pins = nm ## _pins, \ nm 383 drivers/pinctrl/pinctrl-zynq.c .npins = ARRAY_SIZE(nm ## _pins), \ nm 562 drivers/scsi/fcoe/fcoe_transport.c struct fcoe_netdev_mapping *nm = NULL, *tmp; nm 574 drivers/scsi/fcoe/fcoe_transport.c list_for_each_entry_safe(nm, tmp, &fcoe_netdevs, list) { nm 575 drivers/scsi/fcoe/fcoe_transport.c if (nm->ft == ft) { nm 578 drivers/scsi/fcoe/fcoe_transport.c ft->name, nm->netdev->name); nm 579 drivers/scsi/fcoe/fcoe_transport.c list_del(&nm->list); nm 580 drivers/scsi/fcoe/fcoe_transport.c kfree(nm); nm 637 drivers/scsi/fcoe/fcoe_transport.c struct fcoe_netdev_mapping *nm; nm 639 drivers/scsi/fcoe/fcoe_transport.c nm = kmalloc(sizeof(*nm), GFP_KERNEL); nm 640 drivers/scsi/fcoe/fcoe_transport.c if (!nm) { nm 645 drivers/scsi/fcoe/fcoe_transport.c nm->netdev = netdev; nm 646 drivers/scsi/fcoe/fcoe_transport.c nm->ft = ft; nm 649 drivers/scsi/fcoe/fcoe_transport.c list_add(&nm->list, &fcoe_netdevs); nm 657 drivers/scsi/fcoe/fcoe_transport.c struct fcoe_netdev_mapping *nm = NULL, *tmp; nm 660 drivers/scsi/fcoe/fcoe_transport.c list_for_each_entry_safe(nm, tmp, &fcoe_netdevs, list) { nm 661 drivers/scsi/fcoe/fcoe_transport.c if (nm->netdev == netdev) { nm 662 drivers/scsi/fcoe/fcoe_transport.c list_del(&nm->list); nm 663 drivers/scsi/fcoe/fcoe_transport.c kfree(nm); nm 684 drivers/scsi/fcoe/fcoe_transport.c struct fcoe_netdev_mapping *nm; nm 687 drivers/scsi/fcoe/fcoe_transport.c list_for_each_entry(nm, &fcoe_netdevs, list) { nm 688 drivers/scsi/fcoe/fcoe_transport.c if (netdev == nm->netdev) { nm 689 drivers/scsi/fcoe/fcoe_transport.c ft = nm->ft; nm 100 drivers/scsi/qla2xxx/tcm_qla2xxx.c static int tcm_qla2xxx_npiv_extract_wwn(const char *ns, u64 *nm) nm 123 drivers/scsi/qla2xxx/tcm_qla2xxx.c *nm = wwn_to_u64(wwn); nm 1808 drivers/scsi/scsi_transport_fc.c fc_parse_wwn(const char *ns, u64 *nm) nm 1830 drivers/scsi/scsi_transport_fc.c *nm = wwn_to_u64(wwn); nm 298 drivers/tee/optee/supp.c size_t nm; nm 309 drivers/tee/optee/supp.c nm = 1; nm 312 drivers/tee/optee/supp.c nm = 0; nm 319 drivers/tee/optee/supp.c if ((num_params - nm) != req->num_params) nm 324 drivers/tee/optee/supp.c *num_meta = nm; nm 326 drivers/usb/dwc2/debugfs.c #define dump_register(nm) \ nm 328 drivers/usb/dwc2/debugfs.c .name = #nm, \ nm 329 drivers/usb/dwc2/debugfs.c .offset = nm, \ nm 30 drivers/usb/dwc3/debugfs.c #define dump_register(nm) \ nm 32 drivers/usb/dwc3/debugfs.c .name = __stringify(nm), \ nm 33 drivers/usb/dwc3/debugfs.c .offset = DWC3_ ##nm, \ nm 73 drivers/usb/host/xhci-debugfs.h #define dump_register(nm) \ nm 75 drivers/usb/host/xhci-debugfs.h .name = __stringify(nm), \ nm 76 drivers/usb/host/xhci-debugfs.h .offset = REG_ ##nm, \ nm 16 drivers/usb/mtu3/mtu3_debugfs.c #define dump_register(nm) \ nm 18 drivers/usb/mtu3/mtu3_debugfs.c .name = __stringify(nm), \ nm 19 drivers/usb/mtu3/mtu3_debugfs.c .offset = U3D_ ##nm, \ nm 22 drivers/usb/mtu3/mtu3_debugfs.c #define dump_prb_reg(nm, os) \ nm 24 drivers/usb/mtu3/mtu3_debugfs.c .name = nm, \ nm 227 fs/ubifs/debug.c struct fscrypt_name nm = {0}; nm 273 fs/ubifs/debug.c dent = ubifs_tnc_next_ent(c, &key, &nm); nm 285 fs/ubifs/debug.c fname_name(&nm) = dent->name; nm 286 fs/ubifs/debug.c fname_len(&nm) = le16_to_cpu(dent->nlen); nm 1108 fs/ubifs/debug.c struct fscrypt_name nm = {0}; nm 1121 fs/ubifs/debug.c dent = ubifs_tnc_next_ent(c, &key, &nm); nm 1129 fs/ubifs/debug.c fname_name(&nm) = dent->name; nm 1130 fs/ubifs/debug.c fname_len(&nm) = le16_to_cpu(dent->nlen); nm 1131 fs/ubifs/debug.c size += CALC_DENT_SIZE(fname_len(&nm)); nm 188 fs/ubifs/dir.c const struct fscrypt_name *nm) nm 192 fs/ubifs/dir.c if (le16_to_cpu(dent->nlen) != fname_len(nm)) nm 194 fs/ubifs/dir.c if (memcmp(dent->name, fname_name(nm), fname_len(nm))) nm 207 fs/ubifs/dir.c struct fscrypt_name nm; nm 211 fs/ubifs/dir.c err = fscrypt_prepare_lookup(dir, dentry, &nm); nm 217 fs/ubifs/dir.c if (fname_len(&nm) > UBIFS_MAX_NLEN) { nm 228 fs/ubifs/dir.c if (nm.hash) { nm 229 fs/ubifs/dir.c ubifs_assert(c, fname_len(&nm) == 0); nm 230 fs/ubifs/dir.c ubifs_assert(c, fname_name(&nm) == NULL); nm 231 fs/ubifs/dir.c if (nm.hash & ~UBIFS_S_KEY_HASH_MASK) nm 233 fs/ubifs/dir.c dent_key_init_hash(c, &key, dir->i_ino, nm.hash); nm 234 fs/ubifs/dir.c err = ubifs_tnc_lookup_dh(c, &key, dent, nm.minor_hash); nm 236 fs/ubifs/dir.c dent_key_init(c, &key, dir->i_ino, &nm); nm 237 fs/ubifs/dir.c err = ubifs_tnc_lookup_nm(c, &key, dent, &nm); nm 248 fs/ubifs/dir.c if (dbg_check_name(c, dent, &nm)) { nm 277 fs/ubifs/dir.c fscrypt_free_filename(&nm); nm 289 fs/ubifs/dir.c struct fscrypt_name nm; nm 304 fs/ubifs/dir.c err = fscrypt_setup_filename(dir, &dentry->d_name, 0, &nm); nm 308 fs/ubifs/dir.c sz_change = CALC_DENT_SIZE(fname_len(&nm)); nm 324 fs/ubifs/dir.c err = ubifs_jnl_update(c, dir, &nm, inode, 0, 0); nm 330 fs/ubifs/dir.c fscrypt_free_filename(&nm); nm 343 fs/ubifs/dir.c fscrypt_free_filename(&nm); nm 359 fs/ubifs/dir.c struct fscrypt_name nm; nm 369 fs/ubifs/dir.c err = fscrypt_setup_filename(dir, &dentry->d_name, 0, &nm); nm 375 fs/ubifs/dir.c fscrypt_free_filename(&nm); nm 382 fs/ubifs/dir.c fscrypt_free_filename(&nm); nm 418 fs/ubifs/dir.c err = ubifs_jnl_update(c, dir, &nm, inode, 1, 0); nm 437 fs/ubifs/dir.c fscrypt_free_filename(&nm); nm 498 fs/ubifs/dir.c struct fscrypt_name nm; nm 556 fs/ubifs/dir.c fname_len(&nm) = 0; nm 557 fs/ubifs/dir.c dent = ubifs_tnc_next_ent(c, &key, &nm); nm 574 fs/ubifs/dir.c fname_len(&nm) = 0; nm 575 fs/ubifs/dir.c dent = ubifs_tnc_next_ent(c, &key, &nm); nm 591 fs/ubifs/dir.c fname_len(&nm) = le16_to_cpu(dent->nlen); nm 592 fs/ubifs/dir.c fname_name(&nm) = dent->name; nm 600 fs/ubifs/dir.c &nm.disk_name, &fstr); nm 604 fs/ubifs/dir.c fstr.len = fname_len(&nm); nm 605 fs/ubifs/dir.c fstr.name = fname_name(&nm); nm 618 fs/ubifs/dir.c dent = ubifs_tnc_next_ent(c, &key, &nm); nm 697 fs/ubifs/dir.c struct fscrypt_name nm; nm 714 fs/ubifs/dir.c err = fscrypt_setup_filename(dir, &dentry->d_name, 0, &nm); nm 738 fs/ubifs/dir.c err = ubifs_jnl_update(c, dir, &nm, inode, 0, 0); nm 745 fs/ubifs/dir.c fscrypt_free_filename(&nm); nm 758 fs/ubifs/dir.c fscrypt_free_filename(&nm); nm 770 fs/ubifs/dir.c struct fscrypt_name nm; nm 783 fs/ubifs/dir.c err = fscrypt_setup_filename(dir, &dentry->d_name, 1, &nm); nm 791 fs/ubifs/dir.c sz_change = CALC_DENT_SIZE(fname_len(&nm)); nm 812 fs/ubifs/dir.c err = ubifs_jnl_update(c, dir, &nm, inode, 1, 0); nm 824 fs/ubifs/dir.c fscrypt_free_filename(&nm); nm 835 fs/ubifs/dir.c fscrypt_free_filename(&nm); nm 850 fs/ubifs/dir.c struct fscrypt_name nm = { 0 }; nm 856 fs/ubifs/dir.c dent = ubifs_tnc_next_ent(c, &key, &nm); nm 875 fs/ubifs/dir.c struct fscrypt_name nm; nm 891 fs/ubifs/dir.c err = fscrypt_setup_filename(dir, &dentry->d_name, 1, &nm); nm 899 fs/ubifs/dir.c sz_change = CALC_DENT_SIZE(fname_len(&nm)); nm 915 fs/ubifs/dir.c err = ubifs_jnl_update(c, dir, &nm, inode, 1, 0); nm 927 fs/ubifs/dir.c fscrypt_free_filename(&nm); nm 939 fs/ubifs/dir.c fscrypt_free_filename(&nm); nm 950 fs/ubifs/dir.c struct fscrypt_name nm; nm 964 fs/ubifs/dir.c err = fscrypt_setup_filename(dir, &dentry->d_name, 0, &nm); nm 968 fs/ubifs/dir.c sz_change = CALC_DENT_SIZE(fname_len(&nm)); nm 987 fs/ubifs/dir.c err = ubifs_jnl_update(c, dir, &nm, inode, 0, 0); nm 996 fs/ubifs/dir.c fscrypt_free_filename(&nm); nm 1008 fs/ubifs/dir.c fscrypt_free_filename(&nm); nm 1026 fs/ubifs/dir.c struct fscrypt_name nm; nm 1049 fs/ubifs/dir.c err = fscrypt_setup_filename(dir, &dentry->d_name, 0, &nm); nm 1055 fs/ubifs/dir.c sz_change = CALC_DENT_SIZE(fname_len(&nm)); nm 1078 fs/ubifs/dir.c err = ubifs_jnl_update(c, dir, &nm, inode, 0, 0); nm 1086 fs/ubifs/dir.c fscrypt_free_filename(&nm); nm 1097 fs/ubifs/dir.c fscrypt_free_filename(&nm); nm 1115 fs/ubifs/dir.c struct fscrypt_name nm; nm 1133 fs/ubifs/dir.c err = fscrypt_setup_filename(dir, &dentry->d_name, 0, &nm); nm 1137 fs/ubifs/dir.c sz_change = CALC_DENT_SIZE(fname_len(&nm)); nm 1178 fs/ubifs/dir.c err = ubifs_jnl_update(c, dir, &nm, inode, 0, 0); nm 1196 fs/ubifs/dir.c fscrypt_free_filename(&nm); nm 539 fs/ubifs/journal.c const struct fscrypt_name *nm, const struct inode *inode, nm 556 fs/ubifs/journal.c dlen = UBIFS_DENT_NODE_SZ + fname_len(nm) + 1; nm 591 fs/ubifs/journal.c if (nm->hash) nm 592 fs/ubifs/journal.c dent_key_init_hash(c, &dent_key, dir->i_ino, nm->hash); nm 594 fs/ubifs/journal.c dent_key_init(c, &dent_key, dir->i_ino, nm); nm 597 fs/ubifs/journal.c xent_key_init(c, &dent_key, dir->i_ino, nm); nm 603 fs/ubifs/journal.c dent->nlen = cpu_to_le16(fname_len(nm)); nm 604 fs/ubifs/journal.c memcpy(dent->name, fname_name(nm), fname_len(nm)); nm 605 fs/ubifs/journal.c dent->name[fname_len(nm)] = '\0'; nm 649 fs/ubifs/journal.c if (nm->hash) nm 650 fs/ubifs/journal.c err = ubifs_tnc_remove_dh(c, &dent_key, nm->minor_hash); nm 652 fs/ubifs/journal.c err = ubifs_tnc_remove_nm(c, &dent_key, nm); nm 658 fs/ubifs/journal.c hash_dent, nm); nm 879 fs/ubifs/journal.c struct fscrypt_name nm = {0}; nm 890 fs/ubifs/journal.c xent = ubifs_tnc_next_ent(c, &key, &nm); nm 899 fs/ubifs/journal.c fname_name(&nm) = xent->name; nm 900 fs/ubifs/journal.c fname_len(&nm) = le16_to_cpu(xent->nlen); nm 1666 fs/ubifs/journal.c const struct fscrypt_name *nm) nm 1683 fs/ubifs/journal.c xlen = UBIFS_DENT_NODE_SZ + fname_len(nm) + 1; nm 1702 fs/ubifs/journal.c xent_key_init(c, &xent_key, host->i_ino, nm); nm 1706 fs/ubifs/journal.c xent->nlen = cpu_to_le16(fname_len(nm)); nm 1707 fs/ubifs/journal.c memcpy(xent->name, fname_name(nm), fname_len(nm)); nm 1708 fs/ubifs/journal.c xent->name[fname_len(nm)] = '\0'; nm 1731 fs/ubifs/journal.c err = ubifs_tnc_remove_nm(c, &xent_key, nm); nm 148 fs/ubifs/key.h const struct fscrypt_name *nm) nm 150 fs/ubifs/key.h uint32_t hash = c->key_hash(fname_name(nm), fname_len(nm)); nm 153 fs/ubifs/key.h ubifs_assert(c, !nm->hash && !nm->minor_hash); nm 184 fs/ubifs/key.h const struct fscrypt_name *nm) nm 187 fs/ubifs/key.h uint32_t hash = c->key_hash(fname_name(nm), fname_len(nm)); nm 218 fs/ubifs/key.h const struct fscrypt_name *nm) nm 220 fs/ubifs/key.h uint32_t hash = c->key_hash(fname_name(nm), fname_len(nm)); nm 235 fs/ubifs/key.h ino_t inum, const struct fscrypt_name *nm) nm 238 fs/ubifs/key.h uint32_t hash = c->key_hash(fname_name(nm), fname_len(nm)); nm 161 fs/ubifs/orphan.c struct fscrypt_name nm = {0}; nm 171 fs/ubifs/orphan.c xent = ubifs_tnc_next_ent(c, &key, &nm); nm 179 fs/ubifs/orphan.c fname_name(&nm) = xent->name; nm 180 fs/ubifs/orphan.c fname_len(&nm) = le16_to_cpu(xent->nlen); nm 55 fs/ubifs/replay.c struct fscrypt_name nm; nm 251 fs/ubifs/replay.c err = ubifs_tnc_remove_nm(c, &r->key, &r->nm); nm 254 fs/ubifs/replay.c r->len, r->hash, &r->nm); nm 356 fs/ubifs/replay.c kfree(fname_name(&r->nm)); nm 462 fs/ubifs/replay.c fname_len(&r->nm) = nlen; nm 465 fs/ubifs/replay.c fname_name(&r->nm) = nbuf; nm 532 fs/ubifs/tnc.c const struct fscrypt_name *nm) nm 555 fs/ubifs/tnc.c err = memcmp(dent->name, fname_name(nm), min_t(int, nlen, fname_len(nm))); nm 557 fs/ubifs/tnc.c if (nlen == fname_len(nm)) nm 559 fs/ubifs/tnc.c else if (nlen < fname_len(nm)) nm 702 fs/ubifs/tnc.c const struct fscrypt_name *nm) nm 706 fs/ubifs/tnc.c err = matches_name(c, &(*zn)->zbranch[*n], nm); nm 767 fs/ubifs/tnc.c err = matches_name(c, &(*zn)->zbranch[*n], nm); nm 789 fs/ubifs/tnc.c err = matches_name(c, &znode->zbranch[nn], nm); nm 820 fs/ubifs/tnc.c const struct fscrypt_name *nm) nm 848 fs/ubifs/tnc.c err = memcmp(dent->name, fname_name(nm), min_t(int, nlen, fname_len(nm))); nm 850 fs/ubifs/tnc.c if (nlen == fname_len(nm)) nm 852 fs/ubifs/tnc.c else if (nlen < fname_len(nm)) nm 891 fs/ubifs/tnc.c const struct fscrypt_name *nm, nm 897 fs/ubifs/tnc.c cmp = fallible_matches_name(c, &znode->zbranch[nn], nm); nm 941 fs/ubifs/tnc.c err = fallible_matches_name(c, &(*zn)->zbranch[*n], nm); nm 972 fs/ubifs/tnc.c err = fallible_matches_name(c, &znode->zbranch[nn], nm); nm 1810 fs/ubifs/tnc.c void *node, const struct fscrypt_name *nm) nm 1828 fs/ubifs/tnc.c err = resolve_collision(c, key, &znode, &n, nm); nm 1858 fs/ubifs/tnc.c void *node, const struct fscrypt_name *nm) nm 1872 fs/ubifs/tnc.c if (fname_len(nm) == len && !memcmp(dent->name, fname_name(nm), len)) nm 1880 fs/ubifs/tnc.c return do_lookup_nm(c, key, node, nm); nm 2411 fs/ubifs/tnc.c const struct fscrypt_name *nm) nm 2427 fs/ubifs/tnc.c nm, 1); nm 2429 fs/ubifs/tnc.c found = resolve_collision(c, key, &znode, &n, nm); nm 2647 fs/ubifs/tnc.c const struct fscrypt_name *nm) nm 2661 fs/ubifs/tnc.c nm, 0); nm 2663 fs/ubifs/tnc.c err = resolve_collision(c, key, &znode, &n, nm); nm 2870 fs/ubifs/tnc.c struct fscrypt_name nm = {0}; nm 2883 fs/ubifs/tnc.c xent = ubifs_tnc_next_ent(c, &key1, &nm); nm 2897 fs/ubifs/tnc.c fname_name(&nm) = xent->name; nm 2898 fs/ubifs/tnc.c fname_len(&nm) = le16_to_cpu(xent->nlen); nm 2899 fs/ubifs/tnc.c err = ubifs_tnc_remove_nm(c, &key1, &nm); nm 2950 fs/ubifs/tnc.c const struct fscrypt_name *nm) nm 2966 fs/ubifs/tnc.c if (fname_len(nm) > 0) { nm 2971 fs/ubifs/tnc.c nm, 0); nm 2973 fs/ubifs/tnc.c err = resolve_collision(c, key, &znode, &n, nm); nm 1764 fs/ubifs/ubifs.h const struct fscrypt_name *nm, const struct inode *inode, nm 1786 fs/ubifs/ubifs.h const struct inode *inode, const struct fscrypt_name *nm); nm 1821 fs/ubifs/ubifs.h void *node, const struct fscrypt_name *nm); nm 1832 fs/ubifs/ubifs.h const struct fscrypt_name *nm); nm 1835 fs/ubifs/ubifs.h const struct fscrypt_name *nm); nm 1843 fs/ubifs/ubifs.h const struct fscrypt_name *nm); nm 82 fs/ubifs/xattr.c const struct fscrypt_name *nm, const void *value, int size) nm 102 fs/ubifs/xattr.c names_len = host_ui->xattr_names + host_ui->xattr_cnt + fname_len(nm) + 1; nm 139 fs/ubifs/xattr.c host_ui->xattr_size += CALC_DENT_SIZE(fname_len(nm)); nm 141 fs/ubifs/xattr.c host_ui->xattr_names += fname_len(nm); nm 149 fs/ubifs/xattr.c if (strcmp(fname_name(nm), UBIFS_XATTR_NAME_ENCRYPTION_CONTEXT) == 0) nm 152 fs/ubifs/xattr.c err = ubifs_jnl_update(c, host, nm, inode, 0, 1); nm 165 fs/ubifs/xattr.c host_ui->xattr_size -= CALC_DENT_SIZE(fname_len(nm)); nm 167 fs/ubifs/xattr.c host_ui->xattr_names -= fname_len(nm); nm 270 fs/ubifs/xattr.c struct fscrypt_name nm = { .disk_name = FSTR_INIT((char *)name, strlen(name))}; nm 281 fs/ubifs/xattr.c if (fname_len(&nm) > UBIFS_MAX_NLEN) nm 292 fs/ubifs/xattr.c xent_key_init(c, &key, host->i_ino, &nm); nm 293 fs/ubifs/xattr.c err = ubifs_tnc_lookup_nm(c, &key, xent, &nm); nm 302 fs/ubifs/xattr.c err = create_xattr(c, host, &nm, value, size); nm 331 fs/ubifs/xattr.c struct fscrypt_name nm = { .disk_name = FSTR_INIT((char *)name, strlen(name))}; nm 337 fs/ubifs/xattr.c if (fname_len(&nm) > UBIFS_MAX_NLEN) nm 344 fs/ubifs/xattr.c xent_key_init(c, &key, host->i_ino, &nm); nm 345 fs/ubifs/xattr.c err = ubifs_tnc_lookup_nm(c, &key, xent, &nm); nm 404 fs/ubifs/xattr.c struct fscrypt_name nm = {0}; nm 422 fs/ubifs/xattr.c xent = ubifs_tnc_next_ent(c, &key, &nm); nm 428 fs/ubifs/xattr.c fname_name(&nm) = xent->name; nm 429 fs/ubifs/xattr.c fname_len(&nm) = le16_to_cpu(xent->nlen); nm 432 fs/ubifs/xattr.c memcpy(buffer + written, fname_name(&nm), fname_len(&nm) + 1); nm 433 fs/ubifs/xattr.c written += fname_len(&nm) + 1; nm 452 fs/ubifs/xattr.c struct inode *inode, const struct fscrypt_name *nm) nm 469 fs/ubifs/xattr.c host_ui->xattr_size -= CALC_DENT_SIZE(fname_len(nm)); nm 471 fs/ubifs/xattr.c host_ui->xattr_names -= fname_len(nm); nm 473 fs/ubifs/xattr.c err = ubifs_jnl_delete_xattr(c, host, inode, nm); nm 483 fs/ubifs/xattr.c host_ui->xattr_size += CALC_DENT_SIZE(fname_len(nm)); nm 485 fs/ubifs/xattr.c host_ui->xattr_names += fname_len(nm); nm 498 fs/ubifs/xattr.c struct fscrypt_name nm = {0}; nm 509 fs/ubifs/xattr.c xent = ubifs_tnc_next_ent(c, &key, &nm); nm 515 fs/ubifs/xattr.c fname_name(&nm) = xent->name; nm 516 fs/ubifs/xattr.c fname_len(&nm) = le16_to_cpu(xent->nlen); nm 531 fs/ubifs/xattr.c err = remove_xattr(c, host, xino, &nm); nm 581 fs/ubifs/xattr.c struct fscrypt_name nm = { .disk_name = FSTR_INIT((char *)name, strlen(name))}; nm 588 fs/ubifs/xattr.c if (fname_len(&nm) > UBIFS_MAX_NLEN) nm 595 fs/ubifs/xattr.c xent_key_init(c, &key, host->i_ino, &nm); nm 596 fs/ubifs/xattr.c err = ubifs_tnc_lookup_nm(c, &key, xent, &nm); nm 611 fs/ubifs/xattr.c err = remove_xattr(c, host, inode, &nm); nm 134 include/drm/drm_modes.h #define DRM_MODE(nm, t, c, hd, hss, hse, ht, hsk, vd, vss, vse, vt, vs, f) \ nm 135 include/drm/drm_modes.h .name = nm, .status = 0, .type = (t), .clock = (c), \ nm 1191 include/linux/mtd/rawnand.h #define LEGACY_ID_NAND(nm, devid, chipsz, erasesz, opts) \ nm 1192 include/linux/mtd/rawnand.h { .name = (nm), {{ .dev_id = (devid) }}, .pagesize = 512, \ nm 1205 include/linux/mtd/rawnand.h #define EXTENDED_ID_NAND(nm, devid, chipsz, opts) \ nm 1206 include/linux/mtd/rawnand.h { .name = (nm), {{ .dev_id = (devid) }}, .chipsize = (chipsz), \ nm 27 include/linux/transport_class.h #define DECLARE_TRANSPORT_CLASS(cls, nm, su, rm, cfg) \ nm 30 include/linux/transport_class.h .name = nm, \ nm 177 include/uapi/misc/xilinx_sdfec.h __u32 nm; nm 1600 mm/mempolicy.c unsigned long __user *nm = NULL; nm 1608 mm/mempolicy.c nm = compat_alloc_user_space(alloc_size); nm 1610 mm/mempolicy.c err = kernel_get_mempolicy(policy, nm, nr_bits+1, addr, flags); nm 1615 mm/mempolicy.c err = copy_from_user(bm, nm, copy_size); nm 1627 mm/mempolicy.c unsigned long __user *nm = NULL; nm 1637 mm/mempolicy.c nm = compat_alloc_user_space(alloc_size); nm 1638 mm/mempolicy.c if (copy_to_user(nm, bm, alloc_size)) nm 1642 mm/mempolicy.c return kernel_set_mempolicy(mode, nm, nr_bits+1); nm 1649 mm/mempolicy.c unsigned long __user *nm = NULL; nm 1659 mm/mempolicy.c nm = compat_alloc_user_space(alloc_size); nm 1660 mm/mempolicy.c if (copy_to_user(nm, nodes_addr(bm), alloc_size)) nm 1664 mm/mempolicy.c return kernel_mbind(start, len, mode, nm, nr_bits+1, flags); nm 395 net/iucv/af_iucv.c static struct sock *__iucv_get_sock_by_name(char *nm) nm 400 net/iucv/af_iucv.c if (!memcmp(&iucv_sk(sk)->src_name, nm, 8)) nm 211 scripts/dtc/checks.c #define WARNING_IF_NOT_STRING(nm, propname) \ nm 212 scripts/dtc/checks.c WARNING(nm, check_is_string, (propname)) nm 213 scripts/dtc/checks.c #define ERROR_IF_NOT_STRING(nm, propname) \ nm 214 scripts/dtc/checks.c ERROR(nm, check_is_string, (propname)) nm 240 scripts/dtc/checks.c #define WARNING_IF_NOT_STRING_LIST(nm, propname) \ nm 241 scripts/dtc/checks.c WARNING(nm, check_is_string_list, (propname)) nm 242 scripts/dtc/checks.c #define ERROR_IF_NOT_STRING_LIST(nm, propname) \ nm 243 scripts/dtc/checks.c ERROR(nm, check_is_string_list, (propname)) nm 258 scripts/dtc/checks.c #define WARNING_IF_NOT_CELL(nm, propname) \ nm 259 scripts/dtc/checks.c WARNING(nm, check_is_cell, (propname)) nm 260 scripts/dtc/checks.c #define ERROR_IF_NOT_CELL(nm, propname) \ nm 261 scripts/dtc/checks.c ERROR(nm, check_is_cell, (propname)) nm 1437 scripts/dtc/checks.c #define WARNING_PROPERTY_PHANDLE_CELLS(nm, propname, cells_name, ...) \ nm 1438 scripts/dtc/checks.c static struct provider nm##_provider = { (propname), (cells_name), __VA_ARGS__ }; \ nm 1439 scripts/dtc/checks.c WARNING(nm##_property, check_provider_cells_property, &nm##_provider, &phandle_references); nm 10 scripts/dtc/data.c struct marker *m, *nm; nm 14 scripts/dtc/data.c nm = m->next; nm 17 scripts/dtc/data.c m = nm; nm 39 security/selinux/ss/mls.c char *nm; nm 59 security/selinux/ss/mls.c nm = sym_name(p, SYM_CATS, prev); nm 60 security/selinux/ss/mls.c len += strlen(nm) + 1; nm 62 security/selinux/ss/mls.c nm = sym_name(p, SYM_CATS, i); nm 63 security/selinux/ss/mls.c len += strlen(nm) + 1; nm 69 security/selinux/ss/mls.c nm = sym_name(p, SYM_CATS, prev); nm 70 security/selinux/ss/mls.c len += strlen(nm) + 1; nm 93 security/selinux/ss/mls.c char *scontextp, *nm; nm 123 security/selinux/ss/mls.c nm = sym_name(p, SYM_CATS, prev); nm 124 security/selinux/ss/mls.c strcpy(scontextp, nm); nm 125 security/selinux/ss/mls.c scontextp += strlen(nm); nm 131 security/selinux/ss/mls.c nm = sym_name(p, SYM_CATS, i); nm 132 security/selinux/ss/mls.c strcpy(scontextp, nm); nm 133 security/selinux/ss/mls.c scontextp += strlen(nm); nm 144 security/selinux/ss/mls.c nm = sym_name(p, SYM_CATS, prev); nm 145 security/selinux/ss/mls.c strcpy(scontextp, nm); nm 146 security/selinux/ss/mls.c scontextp += strlen(nm); nm 340 sound/pci/asihpi/hpioctl.c int idx, nm, low_latency_mode = 0, irq_supported = 0; nm 370 sound/pci/asihpi/hpioctl.c nm = HPI_MAX_ADAPTER_MEM_SPACES; nm 372 sound/pci/asihpi/hpioctl.c for (idx = 0; idx < nm; idx++) {