Home
last modified time | relevance | path

Searched refs:nm (Results 1 – 25 of 90) sorted by relevance

1234

/linux/drivers/ntb/test/
H A Dntb_msi_test.c28 struct ntb_msit_ctx *nm; member
33 struct ntb_msit_ctx *nm; member
46 struct ntb_msit_ctx *nm = isr_ctx->nm; in ntb_msit_isr() local
48 dev_dbg(&nm->ntb->dev, "Interrupt Occurred: %d", in ntb_msit_isr()
58 struct ntb_msit_ctx *nm = container_of(work, struct ntb_msit_ctx, in ntb_msit_setup_work() local
65 ret = ntb_msi_setup_mws(nm->ntb); in ntb_msit_setup_work()
67 dev_err(&nm->ntb->dev, "Unable to setup MSI windows: %d\n", in ntb_msit_setup_work()
73 nm->isr_ctx[i].irq_idx = i; in ntb_msit_setup_work()
74 nm->isr_ctx[i].nm = nm; in ntb_msit_setup_work()
76 if (!nm->isr_ctx[i].irq_num) { in ntb_msit_setup_work()
[all …]
/linux/fs/ubifs/
H A Dxattr.c58 * @nm: extended attribute name
62 * This is a helper function which creates an extended attribute of name @nm
69 const struct fscrypt_name *nm, const void *value, int size) in create_xattr() argument
89 names_len = host_ui->xattr_names + host_ui->xattr_cnt + fname_len(nm) + 1; in create_xattr()
126 host_ui->xattr_size += CALC_DENT_SIZE(fname_len(nm)); in create_xattr()
128 host_ui->xattr_names += fname_len(nm); in create_xattr()
136 if (strcmp(fname_name(nm), UBIFS_XATTR_NAME_ENCRYPTION_CONTEXT) == 0) in create_xattr()
139 err = ubifs_jnl_update(c, host, nm, inode, 0, 1, 0); in create_xattr()
152 host_ui->xattr_size -= CALC_DENT_SIZE(fname_len(nm)); in create_xattr()
154 host_ui->xattr_names -= fname_len(nm); in create_xattr()
255 struct fscrypt_name nm = { .disk_name = FSTR_INIT((char *)name, strlen(name))}; ubifs_xattr_set() local
318 struct fscrypt_name nm = { .disk_name = FSTR_INIT((char *)name, strlen(name))}; ubifs_xattr_get() local
391 struct fscrypt_name nm = {0}; ubifs_listxattr() local
449 remove_xattr(struct ubifs_info * c,struct inode * host,struct inode * inode,const struct fscrypt_name * nm) remove_xattr() argument
495 struct fscrypt_name nm = {0}; ubifs_purge_xattrs() local
560 struct fscrypt_name nm = { .disk_name = FSTR_INIT((char *)name, strlen(name))}; ubifs_xattr_remove() local
[all...]
H A Ddir.c205 const struct fscrypt_name *nm) in dbg_check_name() argument
209 if (le16_to_cpu(dent->nlen) != fname_len(nm)) in dbg_check_name()
211 if (memcmp(dent->name, fname_name(nm), fname_len(nm))) in dbg_check_name()
224 struct fscrypt_name nm; in ubifs_lookup() local
228 err = fscrypt_prepare_lookup(dir, dentry, &nm); in ubifs_lookup()
234 if (fname_len(&nm) > UBIFS_MAX_NLEN) { in ubifs_lookup()
245 if (fname_name(&nm) == NULL) { in ubifs_lookup()
246 if (nm.hash & ~UBIFS_S_KEY_HASH_MASK) in ubifs_lookup()
248 dent_key_init_hash(c, &key, dir->i_ino, nm in ubifs_lookup()
297 ubifs_prepare_create(struct inode * dir,struct dentry * dentry,struct fscrypt_name * nm) ubifs_prepare_create() argument
313 struct fscrypt_name nm; ubifs_create() local
454 struct fscrypt_name nm; ubifs_tmpfile() local
583 struct fscrypt_name nm; ubifs_readdir() local
760 struct fscrypt_name nm; ubifs_link() local
830 struct fscrypt_name nm; ubifs_unlink() local
911 struct fscrypt_name nm = { 0 }; ubifs_check_dir_empty() local
936 struct fscrypt_name nm; ubifs_rmdir() local
1014 struct fscrypt_name nm; ubifs_mkdir() local
1092 struct fscrypt_name nm; ubifs_mknod() local
1184 struct fscrypt_name nm; ubifs_symlink() local
[all...]
H A Dkey.h148 const struct fscrypt_name *nm) in dent_key_init() argument
150 uint32_t hash = c->key_hash(fname_name(nm), fname_len(nm)); in dent_key_init()
183 const struct fscrypt_name *nm) in dent_key_init_flash() argument
186 uint32_t hash = c->key_hash(fname_name(nm), fname_len(nm)); in dent_key_init_flash()
217 const struct fscrypt_name *nm) in xent_key_init() argument
219 uint32_t hash = c->key_hash(fname_name(nm), fname_len(nm)); in xent_key_init()
234 ino_t inum, const struct fscrypt_name *nm) in xent_key_init_flash() argument
237 uint32_t hash = c->key_hash(fname_name(nm), fname_len(nm)); in xent_key_init_flash()
H A Dtnc.c561 * @nm: name to match
564 * @nm. Returns %NAME_MATCHES if it does, %NAME_LESS if the name referred by
565 * @zbr is less than @nm, and %NAME_GREATER if it is greater than @nm. In case
569 const struct fscrypt_name *nm) in matches_name() argument
592 err = memcmp(dent->name, fname_name(nm), min_t(int, nlen, fname_len(nm))); in matches_name()
594 if (nlen == fname_len(nm)) in matches_name()
596 else if (nlen < fname_len(nm)) in matches_name()
727 * @nm
739 resolve_collision(struct ubifs_info * c,const union ubifs_key * key,struct ubifs_znode ** zn,int * n,const struct fscrypt_name * nm) resolve_collision() argument
857 fallible_matches_name(struct ubifs_info * c,struct ubifs_zbranch * zbr,const struct fscrypt_name * nm) fallible_matches_name() argument
928 fallible_resolve_collision(struct ubifs_info * c,const union ubifs_key * key,struct ubifs_znode ** zn,int * n,const struct fscrypt_name * nm,int adding) fallible_resolve_collision() argument
1846 do_lookup_nm(struct ubifs_info * c,const union ubifs_key * key,void * node,const struct fscrypt_name * nm) do_lookup_nm() argument
1894 ubifs_tnc_lookup_nm(struct ubifs_info * c,const union ubifs_key * key,void * node,const struct fscrypt_name * nm) ubifs_tnc_lookup_nm() argument
2447 ubifs_tnc_add_nm(struct ubifs_info * c,const union ubifs_key * key,int lnum,int offs,int len,const u8 * hash,const struct fscrypt_name * nm) ubifs_tnc_add_nm() argument
2683 ubifs_tnc_remove_nm(struct ubifs_info * c,const union ubifs_key * key,const struct fscrypt_name * nm) ubifs_tnc_remove_nm() argument
2906 struct fscrypt_name nm = {0}; ubifs_tnc_remove_ino() local
2987 ubifs_tnc_next_ent(struct ubifs_info * c,union ubifs_key * key,const struct fscrypt_name * nm) ubifs_tnc_next_ent() argument
[all...]
H A Djournal.c642 * @nm: directory entry name
658 * directory entry corresponding to @nm gets synchronized too.
667 const struct fscrypt_name *nm, const struct inode *inode, in ubifs_jnl_update() argument
684 dlen = UBIFS_DENT_NODE_SZ + fname_len(nm) + 1; in ubifs_jnl_update()
719 if (fname_name(nm) == NULL) in ubifs_jnl_update()
720 dent_key_init_hash(c, &dent_key, dir->i_ino, nm->hash); in ubifs_jnl_update()
722 dent_key_init(c, &dent_key, dir->i_ino, nm); in ubifs_jnl_update()
725 xent_key_init(c, &dent_key, dir->i_ino, nm); in ubifs_jnl_update()
731 dent->nlen = cpu_to_le16(fname_len(nm)); in ubifs_jnl_update()
732 memcpy(dent->name, fname_name(nm), fname_le in ubifs_jnl_update()
1021 struct fscrypt_name nm = {0}; ubifs_jnl_write_inode() local
1859 ubifs_jnl_delete_xattr(struct ubifs_info * c,const struct inode * host,const struct inode * inode,const struct fscrypt_name * nm) ubifs_jnl_delete_xattr() argument
[all...]
/linux/drivers/scsi/fcoe/
H A Dfcoe_transport.c564 struct fcoe_netdev_mapping *nm = NULL, *tmp; in fcoe_transport_detach() local
576 list_for_each_entry_safe(nm, tmp, &fcoe_netdevs, list) { in fcoe_transport_detach()
577 if (nm->ft == ft) { in fcoe_transport_detach()
580 ft->name, nm->netdev->name); in fcoe_transport_detach()
581 list_del(&nm->list); in fcoe_transport_detach()
582 kfree(nm); in fcoe_transport_detach()
639 struct fcoe_netdev_mapping *nm; in fcoe_add_netdev_mapping() local
641 nm = kmalloc_obj(*nm); in fcoe_add_netdev_mapping()
642 if (!nm) { in fcoe_add_netdev_mapping()
647 nm->netdev = netdev; in fcoe_add_netdev_mapping()
[all …]
/linux/arch/powerpc/tools/
H A Dunrel_branch_check.sh10 nm="$2"
15 end_intr=0x$($nm -p "$vmlinux" |
24 sim=0x$($nm -p "$vmlinux" |
H A Dhead_check.sh46 nm="$1"
50 $nm "$vmlinux" | grep -e " [TA] _stext$" -e " t start_first_256B$" -e " a text_start$" -e " t start…
/linux/arch/arc/kernel/
H A Dtroubleshoot.c93 char *nm = "anon"; in show_faulting_vma() local
97 nm = d_path(file_user_path(vma->vm_file), buf, in show_faulting_vma()
99 if (IS_ERR(nm)) in show_faulting_vma()
100 nm = "?"; in show_faulting_vma()
105 nm, vma->vm_start, vma->vm_end); in show_faulting_vma()
/linux/scripts/
H A Drecordmcount.pl124 $ld, $nm, $rm, $mv, $is_module, $inputfile) = @ARGV;
155 $nm = 'nm' if (!$nm);
398 open (IN, "$nm $inputfile|") || die "error running $nm";
H A Drelocs_check.sh9 nm="$2"
16 undef_weak_symbols=$($nm "$vmlinux" | awk '$1 ~ /w/ { print $2 }')
H A Dgenerate_initcall_order.pl14 my $nm = $ENV{'NM'} || die "$0: ERROR: NM not set?";
102 open(my $fh, "\"$nm\" --defined-only \"$file\" 2>/dev/null |")
103 or die "$0: ERROR: failed to execute \"$nm\": $!";
H A Dbloat-o-meter30 nm = "nm"
32 nm = "{}nm".format(args.prefix)
34 with os.popen("{} --size-sort {}".format(nm, file)) as f:
H A Dlink-vmlinux.sh151 ${NM} -S ${1} > .tmp_vmlinux.nm-sort
152 ${objtree}/scripts/sorttable -s .tmp_vmlinux.nm-sort ${1}
158 rm -f .tmp_vmlinux.nm-sort
/linux/drivers/usb/host/
H A Dxhci-debugfs.h73 #define dump_register(nm) \ argument
75 .name = __stringify(nm), \
76 .offset = REG_ ##nm, \
/linux/drivers/tee/optee/
H A Dsupp.c279 size_t nm; in supp_pop_req() local
290 nm = 1; in supp_pop_req()
293 nm = 0; in supp_pop_req()
300 if ((num_params - nm) != req->num_params) in supp_pop_req()
305 *num_meta = nm; in supp_pop_req()
/linux/arch/sparc/kernel/
H A Dioport.c323 const char *nm; in sparc_io_proc_show() local
326 if ((nm = r->name) == NULL) nm = "???"; in sparc_io_proc_show()
329 (unsigned long long)r->end, nm); in sparc_io_proc_show()
/linux/drivers/phy/marvell/
H A DMakefile13 obj-$(CONFIG_PHY_PXA_28NM_HSIC) += phy-pxa-28nm-hsic.o
14 obj-$(CONFIG_PHY_PXA_28NM_USB2) += phy-pxa-28nm-usb2.o
/linux/arch/arc/include/asm/
H A Dlinkage.h36 .macro ARCFP_DATA nm
42 .global \nm
/linux/drivers/memory/
H A Datmel-ebi.c74 #define ATMEL_SMC_SETUP_XLATE(nm, pos) \ argument
75 { .name = nm, .converter = atmel_smc_cs_conf_set_setup, .shift = pos}
77 #define ATMEL_SMC_PULSE_XLATE(nm, pos) \ argument
78 { .name = nm, .converter = atmel_smc_cs_conf_set_pulse, .shift = pos}
80 #define ATMEL_SMC_CYCLE_XLATE(nm, pos) \ argument
81 { .name = nm, .converter = atmel_smc_cs_conf_set_cycle, .shift = pos}
/linux/include/linux/
H A Dtransport_class.h27 #define DECLARE_TRANSPORT_CLASS(cls, nm, su, rm, cfg) \ argument
30 .name = nm, \
/linux/arch/arm64/boot/dts/apple/
H A Ds8000.dtsi65 * nodes: Samsung made the S8000 (APL0898) on 14nm and TSMC made
66 * the S8003 (APL1022) on 16nm. There are some minor differences
H A Ds8003.dtsi65 * nodes: Samsung made the S8000 (APL0898) on 14nm and TSMC made
66 * the S8003 (APL1022) on 16nm. There are some minor differences
/linux/drivers/gpu/drm/exynos/
H A Dexynos_dp.c34 #define to_dp(nm) container_of(nm, struct exynos_dp_device, nm) argument

1234