Home
last modified time | relevance | path

Searched refs:fstr (Results 1 – 8 of 8) sorted by relevance

/linux-6.6.21/fs/ext4/
Ddir.c135 struct fscrypt_str fstr = FSTR_INIT(NULL, 0); in ext4_readdir() local
165 err = fscrypt_fname_alloc_buffer(EXT4_NAME_LEN, &fstr); in ext4_readdir()
278 int save_len = fstr.len; in ext4_readdir()
287 &de_name, &fstr); in ext4_readdir()
288 de_name = fstr; in ext4_readdir()
289 fstr.len = save_len; in ext4_readdir()
310 fscrypt_fname_free_buffer(&fstr); in ext4_readdir()
/linux-6.6.21/tools/perf/util/
Dauxtrace.c2251 char *fstr; in parse_one_filter() local
2254 filt->str = fstr = strdup(*filter_inp); in parse_one_filter()
2255 if (!fstr) in parse_one_filter()
2258 err = parse_num_or_str(&fstr, NULL, &filt->action, " "); in parse_one_filter()
2266 err = parse_addr_size(&fstr, &filt->addr, &filt->sym_from, in parse_one_filter()
2271 fstr += strspn(fstr, " "); in parse_one_filter()
2273 if (*fstr == '/') { in parse_one_filter()
2274 fstr += 1; in parse_one_filter()
2275 err = parse_addr_size(&fstr, &filt->size, &filt->sym_to, in parse_one_filter()
2282 fstr += strspn(fstr, " "); in parse_one_filter()
[all …]
/linux-6.6.21/fs/f2fs/
Ddir.c973 unsigned int start_pos, struct fscrypt_str *fstr) in f2fs_fill_dentries() argument
1027 int save_len = fstr->len; in f2fs_fill_dentries()
1031 0, &de_name, fstr); in f2fs_fill_dentries()
1035 de_name = *fstr; in f2fs_fill_dentries()
1036 fstr->len = save_len; in f2fs_fill_dentries()
1067 struct fscrypt_str fstr = FSTR_INIT(NULL, 0); in f2fs_readdir() local
1075 err = fscrypt_fname_alloc_buffer(F2FS_NAME_LEN, &fstr); in f2fs_readdir()
1081 err = f2fs_read_inline_dir(file, ctx, &fstr); in f2fs_readdir()
1117 n * NR_DENTRY_IN_BLOCK, &fstr); in f2fs_readdir()
1128 fscrypt_fname_free_buffer(&fstr); in f2fs_readdir()
Dinline.c735 struct fscrypt_str *fstr) in f2fs_read_inline_dir() argument
762 err = f2fs_fill_dentries(ctx, &d, 0, fstr); in f2fs_read_inline_dir()
Df2fs.h3531 unsigned int start_pos, struct fscrypt_str *fstr);
4151 struct fscrypt_str *fstr);
/linux-6.6.21/fs/ubifs/
Ddir.c558 struct fscrypt_str fstr = {0}; in ubifs_readdir() local
579 err = fscrypt_fname_alloc_buffer(UBIFS_MAX_NLEN, &fstr); in ubifs_readdir()
583 fstr_real_len = fstr.len; in ubifs_readdir()
609 fscrypt_fname_free_buffer(&fstr); in ubifs_readdir()
654 fstr.len = fstr_real_len; in ubifs_readdir()
659 &nm.disk_name, &fstr); in ubifs_readdir()
663 fstr.len = fname_len(&nm); in ubifs_readdir()
664 fstr.name = fname_name(&nm); in ubifs_readdir()
667 if (!dir_emit(ctx, fstr.name, fstr.len, in ubifs_readdir()
671 fscrypt_fname_free_buffer(&fstr); in ubifs_readdir()
[all …]
/linux-6.6.21/samples/bpf/
Dxdp_sample_user.c1016 const char *fstr, *tstr; in stats_get_devmap_xmit_multi() local
1060 fstr = tstr = NULL; in stats_get_devmap_xmit_multi()
1062 fstr = ifname_from; in stats_get_devmap_xmit_multi()
1066 snprintf(str, sizeof(str), "xmit %s->%s", fstr ?: "?", in stats_get_devmap_xmit_multi()
/linux-6.6.21/kernel/events/
Dcore.c10790 perf_event_parse_addr_filter(struct perf_event *event, char *fstr, in perf_event_parse_addr_filter() argument
10800 orig = fstr = kstrdup(fstr, GFP_KERNEL); in perf_event_parse_addr_filter()
10801 if (!fstr) in perf_event_parse_addr_filter()
10804 while ((start = strsep(&fstr, " ,\n")) != NULL) { in perf_event_parse_addr_filter()