Home
last modified time | relevance | path

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

/linux-6.1.9/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.1.9/tools/perf/util/
Dauxtrace.c2242 char *fstr; in parse_one_filter() local
2245 filt->str = fstr = strdup(*filter_inp); in parse_one_filter()
2246 if (!fstr) in parse_one_filter()
2249 err = parse_num_or_str(&fstr, NULL, &filt->action, " "); in parse_one_filter()
2257 err = parse_addr_size(&fstr, &filt->addr, &filt->sym_from, in parse_one_filter()
2262 fstr += strspn(fstr, " "); in parse_one_filter()
2264 if (*fstr == '/') { in parse_one_filter()
2265 fstr += 1; in parse_one_filter()
2266 err = parse_addr_size(&fstr, &filt->size, &filt->sym_to, in parse_one_filter()
2273 fstr += strspn(fstr, " "); in parse_one_filter()
[all …]
/linux-6.1.9/fs/f2fs/
Ddir.c995 unsigned int start_pos, struct fscrypt_str *fstr) in f2fs_fill_dentries() argument
1049 int save_len = fstr->len; in f2fs_fill_dentries()
1053 0, &de_name, fstr); in f2fs_fill_dentries()
1057 de_name = *fstr; in f2fs_fill_dentries()
1058 fstr->len = save_len; in f2fs_fill_dentries()
1089 struct fscrypt_str fstr = FSTR_INIT(NULL, 0); in f2fs_readdir() local
1097 err = fscrypt_fname_alloc_buffer(F2FS_NAME_LEN, &fstr); in f2fs_readdir()
1103 err = f2fs_read_inline_dir(file, ctx, &fstr); in f2fs_readdir()
1137 n * NR_DENTRY_IN_BLOCK, &fstr); in f2fs_readdir()
1146 fscrypt_fname_free_buffer(&fstr); in f2fs_readdir()
Dinline.c736 struct fscrypt_str *fstr) in f2fs_read_inline_dir() argument
763 err = f2fs_fill_dentries(ctx, &d, 0, fstr); in f2fs_read_inline_dir()
Df2fs.h3510 unsigned int start_pos, struct fscrypt_str *fstr);
4120 struct fscrypt_str *fstr);
/linux-6.1.9/fs/ubifs/
Ddir.c564 struct fscrypt_str fstr = {0}; in ubifs_readdir() local
585 err = fscrypt_fname_alloc_buffer(UBIFS_MAX_NLEN, &fstr); in ubifs_readdir()
589 fstr_real_len = fstr.len; in ubifs_readdir()
615 fscrypt_fname_free_buffer(&fstr); in ubifs_readdir()
660 fstr.len = fstr_real_len; in ubifs_readdir()
665 &nm.disk_name, &fstr); in ubifs_readdir()
669 fstr.len = fname_len(&nm); in ubifs_readdir()
670 fstr.name = fname_name(&nm); in ubifs_readdir()
673 if (!dir_emit(ctx, fstr.name, fstr.len, in ubifs_readdir()
677 fscrypt_fname_free_buffer(&fstr); in ubifs_readdir()
[all …]
/linux-6.1.9/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.1.9/kernel/events/
Dcore.c10519 perf_event_parse_addr_filter(struct perf_event *event, char *fstr, in perf_event_parse_addr_filter() argument
10529 orig = fstr = kstrdup(fstr, GFP_KERNEL); in perf_event_parse_addr_filter()
10530 if (!fstr) in perf_event_parse_addr_filter()
10533 while ((start = strsep(&fstr, " ,\n")) != NULL) { in perf_event_parse_addr_filter()