| /linux/fs/erofs/ |
| H A D | namei.c | 64 struct erofs_qstr dname = { in find_target_dirent() local 73 int ret = erofs_dirnamecmp(name, &dname, &matched); in find_target_dirent() 109 struct erofs_qstr dname; in erofs_find_target_block() local 123 dname.name = (u8 *)de + nameoff; in erofs_find_target_block() 125 dname.end = (u8 *)de + bsz; in erofs_find_target_block() 127 dname.end = (u8 *)de + in erofs_find_target_block() 131 diff = erofs_dirnamecmp(name, &dname, &matched); in erofs_find_target_block()
|
| /linux/block/ |
| H A D | blk-cgroup-rwstat.c | 46 const char *dname = blkg_dev_name(pd->blkg); in __blkg_prfill_rwstat() local 50 if (!dname) in __blkg_prfill_rwstat() 54 seq_printf(sf, "%s %s %llu\n", dname, rwstr[i], in __blkg_prfill_rwstat() 60 seq_printf(sf, "%s Total %llu\n", dname, v); in __blkg_prfill_rwstat()
|
| H A D | blk-cgroup.c | 738 const char *dname = blkg_dev_name(pd->blkg); in __blkg_prfill_u64() local 740 if (!dname) in __blkg_prfill_u64() 743 seq_printf(sf, "%s %llu\n", dname, (unsigned long long)v); in __blkg_prfill_u64() 1182 const char *dname; in blkcg_print_one_stat() local 1189 dname = blkg_dev_name(blkg); in blkcg_print_one_stat() 1190 if (!dname) in blkcg_print_one_stat() 1193 seq_printf(s, "%s ", dname); in blkcg_print_one_stat()
|
| H A D | blk-iolatency.c | 901 const char *dname = blkg_dev_name(pd->blkg); in iolatency_prfill_limit() local 903 if (!dname || !iolat->min_lat_nsec) in iolatency_prfill_limit() 906 dname, div_u64(iolat->min_lat_nsec, NSEC_PER_USEC)); in iolatency_prfill_limit()
|
| H A D | blk-iocost.c | 3073 const char *dname = blkg_dev_name(pd->blkg); in ioc_weight_prfill() local 3076 if (dname && iocg->cfg_weight) in ioc_weight_prfill() 3077 seq_printf(sf, "%s %u\n", dname, iocg->cfg_weight / WEIGHT_ONE); in ioc_weight_prfill() 3166 const char *dname = blkg_dev_name(pd->blkg); in ioc_qos_prfill() local 3169 if (!dname) in ioc_qos_prfill() 3174 dname, ioc->enabled, ioc->user_qos_params ? "user" : "auto", in ioc_qos_prfill() 3363 const char *dname = blkg_dev_name(pd->blkg); in ioc_cost_model_prfill() local 3367 if (!dname) in ioc_cost_model_prfill() 3374 dname, ioc->user_cost_model ? "user" : "auto", in ioc_cost_model_prfill()
|
| /linux/fs/nfsd/ |
| H A D | nfs4recover.c | 97 nfs4_make_rec_clidname(char dname[HEXDIR_LEN], const struct xdr_netobj *clname) in nfs4_make_rec_clidname() 107 sprintf(dname, "%*phN", MD5_DIGEST_SIZE, digest); in nfs4_make_rec_clidname() 112 char *dname, struct nfsd_net *nn) in __nfsd4_create_reclaim_record_grace() argument 114 struct xdr_netobj name = { .len = strlen(dname), .data = dname }; in __nfsd4_create_reclaim_record_grace() 126 char dname[HEXDIR_LEN]; in nfsd4_create_clid_dir() local 136 nfs4_make_rec_clidname(dname, &clp->cl_name); in nfsd4_create_clid_dir() 148 dentry = start_creating(&nop_mnt_idmap, dir, &QSTR(dname)); in nfsd4_create_clid_dir() 171 __nfsd4_create_reclaim_record_grace(clp, dname, nn); in nfsd4_create_clid_dir() 275 __nfsd4_remove_reclaim_record_grace(const char *dname, int len, in __nfsd4_remove_reclaim_record_grace() argument 281 name.data = kmemdup(dname, len, GFP_KERNEL); in __nfsd4_remove_reclaim_record_grace() [all …]
|
| H A D | nfsctl.c | 325 char *dname, *path; in write_filehandle() local 339 dname = mesg; in write_filehandle() 340 len = qword_get(&mesg, dname, size); in write_filehandle() 344 path = dname+len+1; in write_filehandle() 360 trace_nfsd_ctl_filehandle(netns(file), dname, path, maxsize); in write_filehandle() 363 dom = unix_domain_find(dname); in write_filehandle()
|
| /linux/include/trace/events/ |
| H A D | iscsi.h | 28 __string(dname, dev_name(dev) ) 33 __assign_str(dname); 37 TP_printk("%s: %s",__get_str(dname), __get_str(msg)
|
| /linux/usr/ |
| H A D | gen_init_cpio.c | 521 char *dname = NULL; /* malloc'ed buffer for hard links */ in cpio_mkfile_line() local 540 dname = malloc(strlen(line)); in cpio_mkfile_line() 541 if (!dname) { in cpio_mkfile_line() 547 memcpy(dname, name, dname_len); in cpio_mkfile_line() 555 memcpy(dname + dname_len, name, len); in cpio_mkfile_line() 561 dname = name; in cpio_mkfile_line() 563 rc = cpio_mkfile(dname, cpio_replace_env(location), in cpio_mkfile_line() 566 if (dname_len) free(dname); in cpio_mkfile_line()
|
| /linux/include/linux/ |
| H A D | fault-inject.h | 40 struct dentry *dname; member 50 .dname = NULL, \
|
| /linux/block/partitions/ |
| H A D | core.c | 302 const char *dname; in add_partition() local 335 dname = dev_name(ddev); in add_partition() 336 if (isdigit(dname[strlen(dname) - 1])) in add_partition() 337 dev_set_name(pdev, "%sp%d", dname, partno); in add_partition() 339 dev_set_name(pdev, "%s%d", dname, partno); in add_partition()
|
| /linux/fs/ceph/ |
| H A D | inode.c | 1448 char *dname, u32 dname_len, in update_dentry_lease_careful() argument 1459 memcmp(dentry->d_name.name, dname, dname_len)) in update_dentry_lease_careful() 1599 struct qstr dname; in ceph_fill_trace() local 1603 .name = rinfo->dname, in ceph_fill_trace() 1626 dname.name = oname.name; in ceph_fill_trace() 1627 dname.len = oname.len; in ceph_fill_trace() 1628 dname.hash = full_name_hash(parent, dname.name, dname.len); in ceph_fill_trace() 1632 dn = d_lookup(parent, &dname); in ceph_fill_trace() 1634 parent, dname.len, dname.name, dn); in ceph_fill_trace() 1637 dn = d_alloc(parent, &dname); in ceph_fill_trace() [all …]
|
| H A D | export.c | 583 memcpy(name, rinfo->dname, rinfo->dname_len); in ceph_get_name() 588 .name = rinfo->dname, in ceph_get_name()
|
| /linux/kernel/ |
| H A D | audit_watch.c | 246 const struct qstr *dname, dev_t dev, in audit_update_watch() argument 257 if (audit_compare_dname_path(dname, owatch->path, in audit_update_watch() 473 const struct qstr *dname, u32 cookie) in audit_watch_handle_event() argument 483 audit_update_watch(parent, dname, inode->i_sb->s_dev, inode->i_ino, 0); in audit_watch_handle_event() 485 audit_update_watch(parent, dname, AUDIT_DEV_UNSET, AUDIT_INO_UNSET, 1); in audit_watch_handle_event()
|
| H A D | audit_fsnotify.c | 159 const struct qstr *dname, u32 cookie) in audit_mark_handle_event() argument 169 if (audit_compare_dname_path(dname, audit_mark->path, AUDIT_NAME_FULL)) in audit_mark_handle_event()
|
| H A D | audit.h | 241 extern int audit_compare_dname_path(const struct qstr *dname, const char *path, int plen);
|
| /linux/fs/ |
| H A D | d_path.c | 98 const char *dname = smp_load_acquire(&name->name); /* ^^^ */ in prepend_name() local 101 return prepend(p, dname, dlen) && prepend_char(p, '/'); in prepend_name()
|
| H A D | dcache.c | 1737 char *dname; in __d_alloc() local 1754 dname = dentry->d_shortname.string; in __d_alloc() 1765 dname = p->name; in __d_alloc() 1767 dname = dentry->d_shortname.string; in __d_alloc() 1772 memcpy(dname, name->name, name->len); in __d_alloc() 1773 dname[name->len] = 0; in __d_alloc() 1776 smp_store_release(&dentry->__d_name.name, dname); /* ^^^ */ in __d_alloc()
|
| /linux/fs/tracefs/ |
| H A D | inode.c | 99 const char *dname; in get_dname() local 103 dname = dentry->d_name.name; in get_dname() 107 memcpy(name, dname, len); in get_dname()
|
| /linux/fs/xfs/scrub/ |
| H A D | dir.c | 320 struct xfs_name dname = { }; in xchk_dir_rec() local 419 dname.name = dent->name; in xchk_dir_rec() 420 dname.len = dent->namelen; in xchk_dir_rec() 421 calc_hash = xfs_dir2_hashname(mp, &dname); in xchk_dir_rec()
|
| /linux/tools/perf/util/ |
| H A D | env.h | 59 char *dname; member
|
| H A D | header.c | 1635 char dname[DNAME_LEN], cpumask[MAX_NR_CPUS]; in build_cpu_domain_map() local 1691 retval = sscanf(line, "domain%u %s %s %*s", &domain, dname, in build_cpu_domain_map() 1696 domain_info->dname = strdup(dname); in build_cpu_domain_map() 1697 if (!domain_info->dname) in build_cpu_domain_map() 1768 ret = do_write_string(ff, cd_map[i]->domains[j]->dname); in write_cpu_domain_info() 2452 fprintf(fp, "# Domain name : %s\n", d_info->dname); in print_cpu_domain_info() 3616 char *dname, *cpumask, *cpulist; in process_cpu_domain_info() local 3675 dname = do_read_string(ff); in process_cpu_domain_info() 3676 if (!dname) in process_cpu_domain_info() 3679 d_info->dname = dname; in process_cpu_domain_info()
|
| /linux/fs/smb/server/ |
| H A D | auth.c | 75 char *ntlmv2_hash, char *dname) in calc_ntlmv2_hash() argument 104 len = strlen(dname); in calc_ntlmv2_hash() 111 conv_len = smb_strtoUTF16((__le16 *)domain, dname, len, in calc_ntlmv2_hash()
|
| /linux/drivers/spi/ |
| H A D | spi-bcm2835.c | 168 const char *dname) in bcm2835_debugfs_create() argument 174 snprintf(name, sizeof(name), "spi-bcm2835-%s", dname); in bcm2835_debugfs_create() 198 const char *dname) in bcm2835_debugfs_create() argument
|
| /linux/tools/lib/python/kdoc/ |
| H A D | kdoc_parser.py | 539 dname = f"{decl_type} parameter" 541 dname = f"{decl_type} member" 544 f"{dname} '{param}' not described in '{declaration_name}'") 670 dname = f"{decl_type} parameter" 672 dname = f"{decl_type} member" 674 f"Excess {dname} '{section}' description in '{decl_name}'")
|