/linux-6.6.21/drivers/pinctrl/qcom/ |
D | pinctrl-msm.h | 17 #define APQ_PIN_FUNCTION(fname) \ argument 18 [APQ_MUX_##fname] = PINCTRL_PINFUNCTION(#fname, \ 19 fname##_groups, \ 20 ARRAY_SIZE(fname##_groups)) 22 #define IPQ_PIN_FUNCTION(fname) \ argument 23 [IPQ_MUX_##fname] = PINCTRL_PINFUNCTION(#fname, \ 24 fname##_groups, \ 25 ARRAY_SIZE(fname##_groups)) 27 #define MSM_PIN_FUNCTION(fname) \ argument 28 [msm_mux_##fname] = PINCTRL_PINFUNCTION(#fname, \ [all …]
|
D | pinctrl-lpass-lpi.h | 39 #define LPI_FUNCTION(fname) \ argument 40 [LPI_MUX_##fname] = { \ 41 .name = #fname, \ 42 .groups = fname##_groups, \ 43 .ngroups = ARRAY_SIZE(fname##_groups), \
|
/linux-6.6.21/scripts/dtc/ |
D | srcpos.c | 47 static void set_initial_path(char *fname) in set_initial_path() argument 49 int i, len = strlen(fname); in set_initial_path() 51 xasprintf(&initial_path, "%s", fname); in set_initial_path() 58 static char *shorten_to_initial_path(char *fname) in shorten_to_initial_path() argument 63 for (p1 = fname, p2 = initial_path; *p1 && *p2; p1++, p2++) { in shorten_to_initial_path() 74 int restlen = strlen(fname) - (p1 - fname); in shorten_to_initial_path() 100 static char *try_open(const char *dirname, const char *fname, FILE **fp) in try_open() argument 104 if (!dirname || fname[0] == '/') in try_open() 105 fullname = xstrdup(fname); in try_open() 107 fullname = join_path(dirname, fname); in try_open() [all …]
|
/linux-6.6.21/fs/f2fs/ |
D | dir.c | 47 struct f2fs_filename *fname) in f2fs_init_casefolded_name() argument 53 !is_dot_dotdot(fname->usr_fname->name, fname->usr_fname->len)) { in f2fs_init_casefolded_name() 54 fname->cf_name.name = f2fs_kmem_cache_alloc(f2fs_cf_name_slab, in f2fs_init_casefolded_name() 56 if (!fname->cf_name.name) in f2fs_init_casefolded_name() 58 fname->cf_name.len = utf8_casefold(sb->s_encoding, in f2fs_init_casefolded_name() 59 fname->usr_fname, in f2fs_init_casefolded_name() 60 fname->cf_name.name, in f2fs_init_casefolded_name() 62 if ((int)fname->cf_name.len <= 0) { in f2fs_init_casefolded_name() 63 kmem_cache_free(f2fs_cf_name_slab, fname->cf_name.name); in f2fs_init_casefolded_name() 64 fname->cf_name.name = NULL; in f2fs_init_casefolded_name() [all …]
|
D | hash.c | 96 void f2fs_hash_filename(const struct inode *dir, struct f2fs_filename *fname) in f2fs_hash_filename() argument 98 const u8 *name = fname->disk_name.name; in f2fs_hash_filename() 99 size_t len = fname->disk_name.len; in f2fs_hash_filename() 104 fname->hash = 0; in f2fs_hash_filename() 119 WARN_ON_ONCE(!fname->usr_fname->name); in f2fs_hash_filename() 120 if (fname->cf_name.name) { in f2fs_hash_filename() 121 name = fname->cf_name.name; in f2fs_hash_filename() 122 len = fname->cf_name.len; in f2fs_hash_filename() 124 name = fname->usr_fname->name; in f2fs_hash_filename() 125 len = fname->usr_fname->len; in f2fs_hash_filename() [all …]
|
/linux-6.6.21/fs/ext4/ |
D | dir.c | 403 struct fname { struct 407 struct fname *next; argument 420 struct fname *fname, *next; in free_rb_tree_fname() local 422 rbtree_postorder_for_each_entry_safe(fname, next, root, rb_hash) in free_rb_tree_fname() 423 while (fname) { in free_rb_tree_fname() 424 struct fname *old = fname; in free_rb_tree_fname() 425 fname = fname->next; in free_rb_tree_fname() 465 struct fname *fname, *new_fn; in ext4_htree_store_dirent() local 473 len = sizeof(struct fname) + ent_name->len + 1; in ext4_htree_store_dirent() 486 fname = rb_entry(parent, struct fname, rb_hash); in ext4_htree_store_dirent() [all …]
|
D | crypto.c | 23 int lookup, struct ext4_filename *fname) in ext4_fname_setup_filename() argument 32 ext4_fname_from_fscrypt_name(fname, &name); in ext4_fname_setup_filename() 35 err = ext4_fname_setup_ci_filename(dir, iname, fname); in ext4_fname_setup_filename() 37 ext4_fname_free_filename(fname); in ext4_fname_setup_filename() 43 struct ext4_filename *fname) in ext4_fname_prepare_lookup() argument 52 ext4_fname_from_fscrypt_name(fname, &name); in ext4_fname_prepare_lookup() 55 err = ext4_fname_setup_ci_filename(dir, &dentry->d_name, fname); in ext4_fname_prepare_lookup() 57 ext4_fname_free_filename(fname); in ext4_fname_prepare_lookup() 62 void ext4_fname_free_filename(struct ext4_filename *fname) in ext4_fname_free_filename() argument 66 name.crypto_buf = fname->crypto_buf; in ext4_fname_free_filename() [all …]
|
/linux-6.6.21/fs/crypto/ |
D | fname.c | 445 int lookup, struct fscrypt_name *fname) in fscrypt_setup_filename() argument 450 memset(fname, 0, sizeof(struct fscrypt_name)); in fscrypt_setup_filename() 451 fname->usr_fname = iname; in fscrypt_setup_filename() 454 fname->disk_name.name = (unsigned char *)iname->name; in fscrypt_setup_filename() 455 fname->disk_name.len = iname->len; in fscrypt_setup_filename() 464 &fname->crypto_buf.len)) in fscrypt_setup_filename() 466 fname->crypto_buf.name = kmalloc(fname->crypto_buf.len, in fscrypt_setup_filename() 468 if (!fname->crypto_buf.name) in fscrypt_setup_filename() 471 ret = fscrypt_fname_encrypt(dir, iname, fname->crypto_buf.name, in fscrypt_setup_filename() 472 fname->crypto_buf.len); in fscrypt_setup_filename() [all …]
|
/linux-6.6.21/arch/mips/txx9/generic/ |
D | smsc_fdc37m81x.c | 136 const char *fname = __func__; in smsc_fdc37m81x_config_dump() local 142 pr_info("%s: common\n", fname); in smsc_fdc37m81x_config_dump() 143 smsc_fdc37m81x_config_dump_one(fname, SMSC_FDC37M81X_NONE, in smsc_fdc37m81x_config_dump() 145 smsc_fdc37m81x_config_dump_one(fname, SMSC_FDC37M81X_NONE, in smsc_fdc37m81x_config_dump() 147 smsc_fdc37m81x_config_dump_one(fname, SMSC_FDC37M81X_NONE, in smsc_fdc37m81x_config_dump() 149 smsc_fdc37m81x_config_dump_one(fname, SMSC_FDC37M81X_NONE, in smsc_fdc37m81x_config_dump() 151 smsc_fdc37m81x_config_dump_one(fname, SMSC_FDC37M81X_NONE, in smsc_fdc37m81x_config_dump() 154 pr_info("%s: keyboard\n", fname); in smsc_fdc37m81x_config_dump() 156 smsc_fdc37m81x_config_dump_one(fname, SMSC_FDC37M81X_KBD, in smsc_fdc37m81x_config_dump() 158 smsc_fdc37m81x_config_dump_one(fname, SMSC_FDC37M81X_KBD, in smsc_fdc37m81x_config_dump() [all …]
|
/linux-6.6.21/arch/mips/boot/tools/ |
D | relocs_main.c | 32 const char *fname; in main() local 41 fname = NULL; in main() 62 } else if (!fname) { in main() 63 fname = arg; in main() 68 if (!fname) in main() 71 fp = fopen(fname, "r+"); in main() 73 die("Cannot open %s: %s\n", fname, strerror(errno)); in main() 76 die("Cannot read %s: %s", fname, strerror(errno)); in main()
|
/linux-6.6.21/scripts/coccinelle/misc/ |
D | newline_in_nl_msg.cocci | 30 identifier fname; 35 fname(e,m@p) 42 identifier r1.fname; 46 * fname(e,m) 53 fname << r1.fname; 59 msg="WARNING avoid newline at end of message in %s" % (fname) 68 fname << r1.fname; 74 msg="WARNING avoid newline at end of message in %s" % (fname)
|
/linux-6.6.21/arch/x86/tools/ |
D | relocs_common.c | 23 const char *fname; in main() local 33 fname = NULL; in main() 58 else if (!fname) { in main() 59 fname = arg; in main() 64 if (!fname) { in main() 67 fp = fopen(fname, "r"); in main() 69 die("Cannot open %s: %s\n", fname, strerror(errno)); in main() 72 die("Cannot read %s: %s", fname, strerror(errno)); in main()
|
/linux-6.6.21/include/asm-generic/ |
D | kprobes.h | 11 # define __NOKPROBE_SYMBOL(fname) \ argument 14 _kbl_addr_##fname = (unsigned long)fname; 15 # define NOKPROBE_SYMBOL(fname) __NOKPROBE_SYMBOL(fname) argument 20 # define NOKPROBE_SYMBOL(fname) argument
|
D | error-injection.h | 27 #define ALLOW_ERROR_INJECTION(fname, _etype) \ argument 30 _eil_addr_##fname = { \ 31 .addr = (unsigned long)fname, \ 37 #define ALLOW_ERROR_INJECTION(fname, _etype) argument
|
/linux-6.6.21/scripts/ |
D | recordmcount.c | 176 static void *mmap_file(char const *fname) in mmap_file() argument 186 fd_map = open(fname, O_RDONLY); in mmap_file() 188 perror(fname); in mmap_file() 192 perror(fname); in mmap_file() 196 fprintf(stderr, "not a regular file: %s\n", fname); in mmap_file() 205 perror(fname); in mmap_file() 209 perror(fname); in mmap_file() 329 static int write_file(const char *fname) in write_file() argument 331 char tmp_file[strlen(fname) + 4]; in write_file() 337 sprintf(tmp_file, "%s.rc", fname); in write_file() [all …]
|
D | sorttable.c | 81 static void *mmap_file(char const *fname, size_t *size) in mmap_file() argument 87 fd = open(fname, O_RDWR); in mmap_file() 89 perror(fname); in mmap_file() 93 perror(fname); in mmap_file() 97 fprintf(stderr, "not a regular file: %s\n", fname); in mmap_file() 103 fprintf(stderr, "Could not mmap file: %s\n", fname); in mmap_file() 268 static int do_file(char const *const fname, void *addr) in do_file() argument 293 ehdr->e_ident[EI_DATA], fname); in do_file() 300 fprintf(stderr, "unrecognized ET_EXEC/ET_DYN file %s\n", fname); in do_file() 327 r2(&ehdr->e_machine), fname); in do_file() [all …]
|
D | spdxcheck.py | 38 def update(self, fname, basedir, miss): argument 42 fname = './' + fname 43 bdir = os.path.dirname(fname) 45 self.files.append(fname) 197 def parse_lines(self, fd, maxlines, fname): argument 233 sys.stdout.write('%s: %d:%d %s: %s\n' %(fname, self.curline, col, pe.txt, tok)) 235 sys.stdout.write('%s: %d:0 %s\n' %(fname, self.curline, pe.txt)) 238 if fname == '-': 241 base = os.path.dirname(fname) 256 di.update(fname, base, fail) [all …]
|
/linux-6.6.21/include/linux/ |
D | fscrypt.h | 339 int lookup, struct fscrypt_name *fname); 341 static inline void fscrypt_free_filename(struct fscrypt_name *fname) in fscrypt_free_filename() argument 343 kfree(fname->crypto_buf.name); in fscrypt_free_filename() 353 bool fscrypt_match_name(const struct fscrypt_name *fname, 371 struct fscrypt_name *fname); 597 int lookup, struct fscrypt_name *fname) in fscrypt_setup_filename() argument 602 memset(fname, 0, sizeof(*fname)); in fscrypt_setup_filename() 603 fname->usr_fname = iname; in fscrypt_setup_filename() 604 fname->disk_name.name = (unsigned char *)iname->name; in fscrypt_setup_filename() 605 fname->disk_name.len = iname->len; in fscrypt_setup_filename() [all …]
|
/linux-6.6.21/drivers/s390/char/ |
D | hmcdrv_cache.c | 38 char fname[HMCDRV_FTP_FIDENT_MAX]; member 52 .fname = {'\0'} 68 strcmp(hmcdrv_cache_file.fname, ftp->fname)) in hmcdrv_cache_get() 98 hmcdrv_cache_file.fname, len, in hmcdrv_cache_get() 138 len, ftp->fname); in hmcdrv_cache_do() 157 strscpy(hmcdrv_cache_file.fname, ftp->fname, in hmcdrv_cache_do() 161 ftp->id, hmcdrv_cache_file.fsize, ftp->fname); in hmcdrv_cache_do()
|
/linux-6.6.21/fs/ceph/ |
D | crypto.h | 111 struct fscrypt_str *fname) in ceph_fname_alloc_buffer() argument 115 return fscrypt_fname_alloc_buffer(NAME_MAX, fname); in ceph_fname_alloc_buffer() 119 struct fscrypt_str *fname) in ceph_fname_free_buffer() argument 122 fscrypt_fname_free_buffer(fname); in ceph_fname_free_buffer() 125 int ceph_fname_to_usr(const struct ceph_fname *fname, struct fscrypt_str *tname, 211 struct fscrypt_str *fname) in ceph_fname_alloc_buffer() argument 217 struct fscrypt_str *fname) in ceph_fname_free_buffer() argument 221 static inline int ceph_fname_to_usr(const struct ceph_fname *fname, in ceph_fname_to_usr() argument 225 oname->name = fname->name; in ceph_fname_to_usr() 226 oname->len = fname->name_len; in ceph_fname_to_usr()
|
D | crypto.c | 378 int ceph_fname_to_usr(const struct ceph_fname *fname, struct fscrypt_str *tname, in ceph_fname_to_usr() argument 381 struct inode *dir = fname->dir; in ceph_fname_to_usr() 384 char *name = fname->name; in ceph_fname_to_usr() 385 int name_len = fname->name_len; in ceph_fname_to_usr() 389 if (fname->name_len > NAME_MAX || fname->ctext_len > NAME_MAX) in ceph_fname_to_usr() 402 oname->name = fname->name; in ceph_fname_to_usr() 403 oname->len = fname->name_len; in ceph_fname_to_usr() 417 if (fname->no_copy) in ceph_fname_to_usr() 418 oname->name = fname->name; in ceph_fname_to_usr() 420 memcpy(oname->name, fname->name, fname->name_len); in ceph_fname_to_usr() [all …]
|
/linux-6.6.21/Documentation/sphinx/ |
D | kfigure.py | 85 fname = folder + os.sep + cmd 86 if path.isfile(fname): 87 return fname 93 def file2literal(fname): argument 94 with open(fname, "r") as src: 256 fname, in_ext = path.splitext(path.basename(img_node['uri'])) 276 dst_fname = path.join(translator.builder.outdir, fname + '.pdf') 277 img_node['uri'] = fname + '.pdf' 278 img_node['candidates'] = {'*': fname + '.pdf'} 285 fname + '.svg') [all …]
|
/linux-6.6.21/fs/udf/ |
D | dir.c | 40 unsigned char *fname = NULL; in udf_readdir() local 70 fname = kmalloc(UDF_NAME_LEN, GFP_NOFS); in udf_readdir() 71 if (!fname) { in udf_readdir() 107 iter.fi.lengthFileIdent, fname, UDF_NAME_LEN); in udf_readdir() 113 if (!dir_emit(ctx, fname, flen, iblock, DT_UNKNOWN)) in udf_readdir() 126 kfree(fname); in udf_readdir()
|
/linux-6.6.21/security/integrity/ |
D | integrity_audit.c | 29 const unsigned char *fname, const char *op, in integrity_audit_msg() argument 32 integrity_audit_message(audit_msgno, inode, fname, op, cause, in integrity_audit_msg() 37 const unsigned char *fname, const char *op, in integrity_audit_message() argument 58 if (fname) { in integrity_audit_message() 60 audit_log_untrustedstring(ab, fname); in integrity_audit_message()
|
/linux-6.6.21/tools/testing/selftests/powerpc/nx-gzip/ |
D | nx-gzip-test.sh | 22 local fname="nx-tempfile.$n" 27 dd if=/dev/urandom of=$fname bs=$size count=1 28 ./gzfht_test $fname 29 ./gunz_test ${fname}.nx.gz
|