Searched refs:fname (Results 1 - 25 of 184) sorted by relevance

12345678

/linux-master/include/asm-generic/
H A Dkprobes.h11 # define __NOKPROBE_SYMBOL(fname) \
14 _kbl_addr_##fname = (unsigned long)fname;
15 # define NOKPROBE_SYMBOL(fname) __NOKPROBE_SYMBOL(fname)
20 # define NOKPROBE_SYMBOL(fname)
H A Derror-injection.h27 #define ALLOW_ERROR_INJECTION(fname, _etype) \
30 _eil_addr_##fname = { \
31 .addr = (unsigned long)fname, \
37 #define ALLOW_ERROR_INJECTION(fname, _etype)
/linux-master/drivers/pinctrl/qcom/
H A Dpinctrl-msm.h17 #define APQ_PIN_FUNCTION(fname) \
18 [APQ_MUX_##fname] = PINCTRL_PINFUNCTION(#fname, \
19 fname##_groups, \
20 ARRAY_SIZE(fname##_groups))
22 #define IPQ_PIN_FUNCTION(fname) \
23 [IPQ_MUX_##fname] = PINCTRL_PINFUNCTION(#fname, \
24 fname##_groups, \
25 ARRAY_SIZE(fname##_group
[all...]
H A Dpinctrl-lpass-lpi.h39 #define LPI_FUNCTION(fname) \
40 [LPI_MUX_##fname] = { \
41 .name = #fname, \
42 .groups = fname##_groups, \
43 .ngroups = ARRAY_SIZE(fname##_groups), \
/linux-master/tools/testing/selftests/powerpc/nx-gzip/
H A Dnx-gzip-test.sh22 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
/linux-master/arch/x86/tools/
H A Drelocs_common.c23 const char *fname; local
33 fname = NULL;
58 else if (!fname) {
59 fname = arg;
64 if (!fname) {
67 fp = fopen(fname, "r");
69 die("Cannot open %s: %s\n", fname, strerror(errno));
72 die("Cannot read %s: %s", fname, strerror(errno));
/linux-master/arch/mips/boot/tools/
H A Drelocs_main.c32 const char *fname; local
41 fname = NULL;
62 } else if (!fname) {
63 fname = arg;
68 if (!fname)
71 fp = fopen(fname, "r+");
73 die("Cannot open %s: %s\n", fname, strerror(errno));
76 die("Cannot read %s: %s", fname, strerror(errno));
/linux-master/arch/mips/txx9/generic/
H A Dsmsc_fdc37m81x.c136 const char *fname = __func__; local
142 pr_info("%s: common\n", fname);
143 smsc_fdc37m81x_config_dump_one(fname, SMSC_FDC37M81X_NONE,
145 smsc_fdc37m81x_config_dump_one(fname, SMSC_FDC37M81X_NONE,
147 smsc_fdc37m81x_config_dump_one(fname, SMSC_FDC37M81X_NONE,
149 smsc_fdc37m81x_config_dump_one(fname, SMSC_FDC37M81X_NONE,
151 smsc_fdc37m81x_config_dump_one(fname, SMSC_FDC37M81X_NONE,
154 pr_info("%s: keyboard\n", fname);
156 smsc_fdc37m81x_config_dump_one(fname, SMSC_FDC37M81X_KBD,
158 smsc_fdc37m81x_config_dump_one(fname, SMSC_FDC37M81X_KB
[all...]
/linux-master/fs/f2fs/
H A Dhash.c92 * Compute @fname->hash. For all directories, @fname->disk_name must be set.
93 * For casefolded directories, @fname->usr_fname must be set, and also
94 * @fname->cf_name if the filename is valid Unicode and is not "." or "..".
96 void f2fs_hash_filename(const struct inode *dir, struct f2fs_filename *fname) argument
98 const u8 *name = fname->disk_name.name;
99 size_t len = fname->disk_name.len;
104 fname->hash = 0;
119 WARN_ON_ONCE(!fname->usr_fname->name);
120 if (fname
[all...]
H A Ddir.c45 /* If @dir is casefolded, initialize @fname->cf_name from @fname->usr_fname. */
47 struct f2fs_filename *fname)
53 !is_dot_dotdot(fname->usr_fname->name, fname->usr_fname->len)) {
54 fname->cf_name.name = f2fs_kmem_cache_alloc(f2fs_cf_name_slab,
56 if (!fname->cf_name.name)
58 fname->cf_name.len = utf8_casefold(sb->s_encoding,
59 fname->usr_fname,
60 fname
46 f2fs_init_casefolded_name(const struct inode *dir, struct f2fs_filename *fname) argument
74 __f2fs_setup_filename(const struct inode *dir, const struct fscrypt_name *crypt_name, struct f2fs_filename *fname) argument
107 f2fs_setup_filename(struct inode *dir, const struct qstr *iname, int lookup, struct f2fs_filename *fname) argument
126 f2fs_prepare_lookup(struct inode *dir, struct dentry *dentry, struct f2fs_filename *fname) argument
139 f2fs_free_filename(struct f2fs_filename *fname) argument
165 find_in_block(struct inode *dir, struct page *dentry_page, const struct f2fs_filename *fname, int *max_slots) argument
231 f2fs_match_name(const struct inode *dir, const struct f2fs_filename *fname, const u8 *de_name, u32 de_name_len) argument
252 f2fs_find_target_dentry(const struct f2fs_dentry_ptr *d, const struct f2fs_filename *fname, int *max_slots) argument
300 find_in_level(struct inode *dir, unsigned int level, const struct f2fs_filename *fname, struct page **res_page) argument
360 __f2fs_find_entry(struct inode *dir, const struct f2fs_filename *fname, struct page **res_page) argument
409 struct f2fs_filename fname; local
463 init_dent_inode(struct inode *dir, struct inode *inode, const struct f2fs_filename *fname, struct page *ipage) argument
536 f2fs_init_inode_metadata(struct inode *inode, struct inode *dir, const struct f2fs_filename *fname, struct page *dpage) argument
642 f2fs_has_enough_room(struct inode *dir, struct page *ipage, const struct f2fs_filename *fname) argument
678 f2fs_add_regular_entry(struct inode *dir, const struct f2fs_filename *fname, struct inode *inode, nid_t ino, umode_t mode) argument
773 f2fs_add_dentry(struct inode *dir, const struct f2fs_filename *fname, struct inode *inode, nid_t ino, umode_t mode) argument
801 struct f2fs_filename fname; local
833 f2fs_do_tmpfile(struct inode *inode, struct inode *dir, struct f2fs_filename *fname) argument
[all...]
/linux-master/scripts/dtc/
H A Dsrcpos.c47 static void set_initial_path(char *fname) argument
49 int i, len = strlen(fname);
51 xasprintf(&initial_path, "%s", fname);
58 static char *shorten_to_initial_path(char *fname) argument
63 for (p1 = fname, p2 = initial_path; *p1 && *p2; p1++, p2++) {
74 int restlen = strlen(fname) - (p1 - fname);
96 * @param fname Filename to look for
100 static char *try_open(const char *dirname, const char *fname, FILE **fp) argument
104 if (!dirname || fname[
127 fopen_any_on_path(const char *fname, FILE **fp) argument
146 srcfile_relative_open(const char *fname, char **fullnamep) argument
172 srcfile_push(const char *fname) argument
289 const char *fname = "<no-file>"; local
314 char *pos_str, *fname, *first, *rest; local
[all...]
/linux-master/security/integrity/
H A Dintegrity_audit.c29 const unsigned char *fname, const char *op,
32 integrity_audit_message(audit_msgno, inode, fname, op, cause,
37 const unsigned char *fname, const char *op,
58 if (fname) {
60 audit_log_untrustedstring(ab, fname);
28 integrity_audit_msg(int audit_msgno, struct inode *inode, const unsigned char *fname, const char *op, const char *cause, int result, int audit_info) argument
36 integrity_audit_message(int audit_msgno, struct inode *inode, const unsigned char *fname, const char *op, const char *cause, int result, int audit_info, int errno) argument
/linux-master/fs/qnx4/
H A Ddir.c40 const char *fname; local
45 fname = get_entry_fname(de, &size);
46 if (!fname)
57 QNX4DEBUG((KERN_INFO "qnx4_readdir:%.*s\n", size, fname));
58 if (!dir_emit(ctx, fname, size, ino, DT_UNKNOWN)) {
/linux-master/fs/ext4/
H A Ddir.c403 struct fname { struct
407 struct fname *next;
420 struct fname *fname, *next; local
422 rbtree_postorder_for_each_entry_safe(fname, next, root, rb_hash)
423 while (fname) {
424 struct fname *old = fname;
425 fname = fname
465 struct fname *fname, *new_fn; local
521 call_filldir(struct file *file, struct dir_context *ctx, struct fname *fname) argument
552 struct fname *fname; local
[all...]
H A Dcrypto.c23 int lookup, struct ext4_filename *fname)
32 ext4_fname_from_fscrypt_name(fname, &name);
35 err = ext4_fname_setup_ci_filename(dir, iname, fname);
37 ext4_fname_free_filename(fname);
43 struct ext4_filename *fname)
52 ext4_fname_from_fscrypt_name(fname, &name);
55 err = ext4_fname_setup_ci_filename(dir, &dentry->d_name, fname);
57 ext4_fname_free_filename(fname);
62 void ext4_fname_free_filename(struct ext4_filename *fname) argument
66 name.crypto_buf = fname
22 ext4_fname_setup_filename(struct inode *dir, const struct qstr *iname, int lookup, struct ext4_filename *fname) argument
42 ext4_fname_prepare_lookup(struct inode *dir, struct dentry *dentry, struct ext4_filename *fname) argument
[all...]
/linux-master/fs/crypto/
H A Dfname.c422 * @fname: the filename information to be filled in
424 * Given a user-provided filename @iname, this function sets @fname->disk_name
439 int lookup, struct fscrypt_name *fname)
444 memset(fname, 0, sizeof(struct fscrypt_name));
445 fname->usr_fname = iname;
448 fname->disk_name.name = (unsigned char *)iname->name;
449 fname->disk_name.len = iname->len;
458 &fname->crypto_buf.len))
460 fname->crypto_buf.name = kmalloc(fname
438 fscrypt_setup_filename(struct inode *dir, const struct qstr *iname, int lookup, struct fscrypt_name *fname) argument
530 fscrypt_match_name(const struct fscrypt_name *fname, const u8 *de_name, u32 de_name_len) argument
[all...]
H A DMakefile5 fname.o \
/linux-master/scripts/
H A Dsorttable.c81 static void *mmap_file(char const *fname, size_t *size) argument
87 fd = open(fname, O_RDWR);
89 perror(fname);
93 perror(fname);
97 fprintf(stderr, "not a regular file: %s\n", fname);
103 fprintf(stderr, "Could not mmap file: %s\n", fname);
268 static int do_file(char const *const fname, void *addr) argument
293 ehdr->e_ident[EI_DATA], fname);
300 fprintf(stderr, "unrecognized ET_EXEC/ET_DYN file %s\n", fname);
327 r2(&ehdr->e_machine), fname);
[all...]
/linux-master/drivers/s390/char/
H A Dhmcdrv_cache.c28 * @fname: file name
32 * Notice that the first three members (id, fname, fsize) are cached on all
38 char fname[HMCDRV_FTP_FIDENT_MAX]; member in struct:hmcdrv_cache_entry
52 .fname = {'\0'}
68 strcmp(hmcdrv_cache_file.fname, ftp->fname))
98 hmcdrv_cache_file.fname, len,
138 len, ftp->fname);
157 strscpy(hmcdrv_cache_file.fname, ftp->fname,
[all...]
/linux-master/fs/udf/
H A Ddir.c40 unsigned char *fname = NULL; local
70 fname = kmalloc(UDF_NAME_LEN, GFP_KERNEL);
71 if (!fname) {
107 iter.fi.lengthFileIdent, fname, UDF_NAME_LEN);
113 if (!dir_emit(ctx, fname, flen, iblock, DT_UNKNOWN))
126 kfree(fname);
/linux-master/tools/power/cpupower/lib/
H A Dacpi_cppc.c17 static int acpi_cppc_read_file(unsigned int cpu, const char *fname, argument
23 cpu, fname);
/linux-master/arch/x86/include/asm/
H A Dibt.h39 #define IBT_NOSEAL(fname) \
41 _ASM_PTR fname "\n\t" \
/linux-master/drivers/comedi/drivers/ni_routing/tools/
H A Dcsv_collection.py26 for fname in glob.glob(pattern):
27 with open(fname) as F:
30 name = os.path.basename(fname).partition('.')[0]
/linux-master/arch/s390/include/asm/
H A Dset_memory.h41 #define __SET_MEMORY_FUNC(fname, flags) \
42 static inline int fname(unsigned long addr, int numpages) \
47 static inline int __##fname(void *start, void *end) \
/linux-master/fs/ceph/
H A Dcrypto.h111 struct fscrypt_str *fname)
115 return fscrypt_fname_alloc_buffer(NAME_MAX, fname);
119 struct fscrypt_str *fname)
122 fscrypt_fname_free_buffer(fname);
125 int ceph_fname_to_usr(const struct ceph_fname *fname, struct fscrypt_str *tname,
211 struct fscrypt_str *fname)
217 struct fscrypt_str *fname)
221 static inline int ceph_fname_to_usr(const struct ceph_fname *fname, argument
225 oname->name = fname->name;
226 oname->len = fname
110 ceph_fname_alloc_buffer(struct inode *parent, struct fscrypt_str *fname) argument
118 ceph_fname_free_buffer(struct inode *parent, struct fscrypt_str *fname) argument
210 ceph_fname_alloc_buffer(struct inode *parent, struct fscrypt_str *fname) argument
216 ceph_fname_free_buffer(struct inode *parent, struct fscrypt_str *fname) argument
[all...]

Completed in 204 milliseconds

12345678