Home
last modified time | relevance | path

Searched refs:tname (Results 1 – 25 of 35) sorted by relevance

12

/linux/tools/testing/selftests/net/
H A Dioam6_parser.c606 static int str2id(const char *tname) in str2id() argument
608 if (!strcmp("output_undef_ns", tname)) in str2id()
610 if (!strcmp("output_no_room", tname)) in str2id()
612 if (!strcmp("output_no_room_oss", tname)) in str2id()
614 if (!strcmp("output_bit0", tname)) in str2id()
616 if (!strcmp("output_bit1", tname)) in str2id()
618 if (!strcmp("output_bit2", tname)) in str2id()
620 if (!strcmp("output_bit3", tname)) in str2id()
622 if (!strcmp("output_bit4", tname)) in str2id()
624 if (!strcmp("output_bit5", tname)) in str2id()
[all …]
H A Dpmtu.sh2158 tname="$1"
2171 eval test_${tname}
2211 tname="$1"
2215 run_test "${tname}" "${tdesc} - nexthop objects"
/linux/arch/x86/tools/
H A Dgen-insn-attr-x86.awk25 tname = ""
138 if (tname != "")
149 tname = sprintf("inat_escape_table_%d", eid)
160 if (tname == "") # AVX only opcode table
161 tname = sprintf("inat_avx_table_%d", $2)
164 tname = "inat_primary_table"
174 if (tname == "") # XOP only opcode table
175 tname = sprintf("inat_xop_table_%d", $2)
178 tname = "inat_primary_table"
186 tname = "inat_group_table_" gid
[all …]
/linux/tools/arch/x86/tools/
H A Dgen-insn-attr-x86.awk25 tname = ""
138 if (tname != "")
149 tname = sprintf("inat_escape_table_%d", eid)
160 if (tname == "") # AVX only opcode table
161 tname = sprintf("inat_avx_table_%d", $2)
164 tname = "inat_primary_table"
174 if (tname == "") # XOP only opcode table
175 tname = sprintf("inat_xop_table_%d", $2)
178 tname = "inat_primary_table"
186 tname = "inat_group_table_" gid
[all …]
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dtest_bpf_ma.c18 char tname[32]; in do_bpf_ma_test() local
29 snprintf(tname, sizeof(tname), "bin_data_%u", skel->rodata->data_sizes[i]); in do_bpf_ma_test()
30 id = btf__find_by_name_kind(btf, tname, BTF_KIND_STRUCT); in do_bpf_ma_test()
31 if (!ASSERT_GT(id, 0, tname)) in do_bpf_ma_test()
37 snprintf(tname, sizeof(tname), "percpu_bin_data_%u", skel->rodata->percpu_data_sizes[i]); in do_bpf_ma_test()
38 id = btf__find_by_name_kind(btf, tname, BTF_KIND_STRUCT); in do_bpf_ma_test()
39 if (!ASSERT_GT(id, 0, tname)) in do_bpf_ma_test()
/linux/sound/core/
H A Djack.c349 char *tname; in snd_jack_debugfs_add_inject_node() local
356 tname = kstrdup(jack_kctl->kctl->id.name, GFP_KERNEL); in snd_jack_debugfs_add_inject_node()
357 if (!tname) in snd_jack_debugfs_add_inject_node()
361 for (i = 0; tname[i]; i++) in snd_jack_debugfs_add_inject_node()
362 if (!isalnum(tname[i])) in snd_jack_debugfs_add_inject_node()
363 tname[i] = '_'; in snd_jack_debugfs_add_inject_node()
365 jack_kctl->jack_debugfs_root = debugfs_create_dir(tname, jack->card->debugfs_root); in snd_jack_debugfs_add_inject_node()
366 kfree(tname); in snd_jack_debugfs_add_inject_node()
/linux/fs/nfsd/
H A Dxdr.h51 char * tname; member
58 char * tname; member
66 char * tname; member
H A Dnfsproc.c459 &argp->tfh, argp->tname, argp->tlen); in nfsd_proc_rename()
472 resp->status = nfsd_link(rqstp, &argp->tfh, argp->tname, argp->tlen, in nfsd_proc_link()
495 argp->tname = svc_fill_symlink_pathname(rqstp, &argp->first, in nfsd_proc_symlink()
498 if (IS_ERR(argp->tname)) { in nfsd_proc_symlink()
499 resp->status = nfserrno(PTR_ERR(argp->tname)); in nfsd_proc_symlink()
505 argp->tname, &attrs, &newfh); in nfsd_proc_symlink()
507 kfree(argp->tname); in nfsd_proc_symlink()
H A Dxdr3.h69 char * tname; member
76 char * tname; member
84 char * tname; member
H A Dnfs3proc.c431 argp->tname = svc_fill_symlink_pathname(rqstp, &argp->first, in nfsd3_proc_symlink()
434 if (IS_ERR(argp->tname)) { in nfsd3_proc_symlink()
435 resp->status = nfserrno(PTR_ERR(argp->tname)); in nfsd3_proc_symlink()
442 argp->flen, argp->tname, &attrs, &resp->fh); in nfsd3_proc_symlink()
443 kfree(argp->tname); in nfsd3_proc_symlink()
528 &resp->tfh, argp->tname, argp->tlen); in nfsd3_proc_rename()
541 resp->status = nfsd_link(rqstp, &resp->tfh, argp->tname, argp->tlen, in nfsd3_proc_link()
H A Dnfsxdr.c363 &args->tname, &args->tlen); in nfssvc_decode_renameargs()
373 &args->tname, &args->tlen); in nfssvc_decode_linkargs()
H A Dvfs.c1896 struct svc_fh *tfhp, char *tname, int tlen) in nfsd_rename() argument
1904 trace_nfsd_vfs_rename(rqstp, ffhp, tfhp, fname, flen, tname, tlen); in nfsd_rename()
1918 if (!flen || isdotent(fname, flen) || !tlen || isdotent(tname, tlen)) in nfsd_rename()
1959 ndentry = lookup_one(&nop_mnt_idmap, &QSTR_LEN(tname, tlen), tdentry); in nfsd_rename()
/linux/kernel/bpf/
H A Dbtf.c550 const char *tname; in btf_find_by_name_kind() local
559 tname = btf_name_by_offset(btf, t->name_off); in btf_find_by_name_kind()
560 if (!strcmp(tname, name)) in btf_find_by_name_kind()
5932 bool btf_is_projection_of(const char *pname, const char *tname) in btf_is_projection_of() argument
5934 if (strcmp(pname, "__sk_buff") == 0 && strcmp(tname, "sk_buff") == 0) in btf_is_projection_of()
5936 if (strcmp(pname, "xdp_md") == 0 && strcmp(tname, "xdp_buff") == 0) in btf_is_projection_of()
5946 const char *tname, *ctx_tname; in btf_is_prog_ctx_type() local
5958 tname = btf_name_by_offset(btf, t->name_off); in btf_is_prog_ctx_type()
5959 if (tname && strcmp(tname, "bpf_user_pt_regs_t") == 0) in btf_is_prog_ctx_type()
5974 tname = btf_name_by_offset(btf, t->name_off); in btf_is_prog_ctx_type()
[all …]
H A Dbpf_struct_ops.c633 static void bpf_struct_ops_ksym_init(const char *tname, const char *mname, in bpf_struct_ops_ksym_init() argument
637 snprintf(ksym->name, KSYM_NAME_LEN, "bpf__%s_%s", tname, mname); in bpf_struct_ops_ksym_init()
693 const char *tname, *mname; in bpf_struct_ops_map_update_elem() local
734 tname = btf_name_by_offset(st_map->btf, t->name_off); in bpf_struct_ops_map_update_elem()
842 bpf_struct_ops_ksym_init(tname, mname, in bpf_struct_ops_map_update_elem()
H A Dverifier.c7135 const char *tname = btf_name_by_offset(reg->btf, t->name_off); in check_ptr_to_btf_access() local
7144 tname); in check_ptr_to_btf_access()
7150 tname); in check_ptr_to_btf_access()
7156 regno, tname, off); in check_ptr_to_btf_access()
7165 regno, tname, off, tn_buf); in check_ptr_to_btf_access()
7172 regno, tname, off); in check_ptr_to_btf_access()
7179 regno, tname, off); in check_ptr_to_btf_access()
7291 const char *tname; in check_ptr_to_map_access() local
7307 tname = btf_name_by_offset(btf_vmlinux, t->name_off); in check_ptr_to_map_access()
7312 tname); in check_ptr_to_map_access()
[all …]
/linux/fs/ceph/
H A Dcrypto.c355 int ceph_fname_to_usr(const struct ceph_fname *fname, struct fscrypt_str *tname, in ceph_fname_to_usr() argument
408 if (!tname) { in ceph_fname_to_usr()
412 tname = &_tname; in ceph_fname_to_usr()
415 declen = ceph_base64_decode(name, name_len, tname->name); in ceph_fname_to_usr()
420 iname.name = tname->name; in ceph_fname_to_usr()
H A Dcrypto.h122 int ceph_fname_to_usr(const struct ceph_fname *fname, struct fscrypt_str *tname,
211 struct fscrypt_str *tname, in ceph_fname_to_usr() argument
/linux/security/apparmor/
H A Dfile.c326 const char *lname, *tname = NULL; in profile_path_link() local
342 buffer2, &tname, cond, AA_MAY_LINK); in profile_path_link()
357 aa_str_perms(rules->file, state, tname, cond, &perms); in profile_path_link()
380 tname, cond, &perms); in profile_path_link()
402 profile, &lperms, OP_LINK, request, lname, tname, in profile_path_link()
/linux/tools/testing/selftests/net/openvswitch/
H A Dopenvswitch.sh835 tname="$1"
852 printf "TEST: %-60s [START]\n" "${tname}"
856 eval test_${tname}
876 rm -rf test_${tname}
/linux/tools/perf/bench/
H A Dnuma.c1772 char tname[14 + 2 * 11 + 1]; in __bench_numa() local
1776 memset(tname, 0, sizeof(tname)); in __bench_numa()
1778 snprintf(tname, sizeof(tname), "process%d:thread%d", p, t); in __bench_numa()
1779 print_res(tname, td->speed_gbs, in __bench_numa()
1781 print_res(tname, td->system_time_ns / NSEC_PER_SEC, in __bench_numa()
1783 print_res(tname, td->user_time_ns / NSEC_PER_SEC, in __bench_numa()
/linux/include/uapi/linux/
H A Dcoda.h471 int tname; /* Place holder for data. */ member
524 int tname; member
/linux/net/netfilter/
H A Dnfnetlink_hook.c112 static int nfnl_hook_put_nft_info_desc(struct sk_buff *nlskb, const char *tname, in nfnl_hook_put_nft_info_desc() argument
119 nla_put_string(nlskb, NFNLA_CHAIN_TABLE, tname) || in nfnl_hook_put_nft_info_desc()
/linux/tools/perf/util/
H A Ddwarf-aux.h42 bool die_compare_name(Dwarf_Die *dw_die, const char *tname);
/linux/tools/lib/bpf/
H A Dlibbpf.c1015 char tname[192], stname[256]; in find_struct_ops_kern_types() local
1018 snprintf(tname, sizeof(tname), "%.*s", in find_struct_ops_kern_types()
1021 snprintf(stname, sizeof(stname), "%s%s", STRUCT_OPS_VALUE_PREFIX, tname); in find_struct_ops_kern_types()
1035 kern_type_id = btf__find_by_name_kind(btf, tname, BTF_KIND_STRUCT); in find_struct_ops_kern_types()
1037 pr_warn("struct_ops init_kern: struct %s is not found in kernel BTF\n", tname); in find_struct_ops_kern_types()
1055 tname, stname); in find_struct_ops_kern_types()
1143 const char *tname; in bpf_map__init_kern_struct_ops() local
1148 tname = btf__name_by_offset(btf, type->name_off); in bpf_map__init_kern_struct_ops()
1149 err = find_struct_ops_kern_types(obj, tname, &mod_btf, in bpf_map__init_kern_struct_ops()
1360 const char *tname, *var_name; in init_struct_ops_maps() local
[all …]
/linux/fs/coda/
H A Dupcall.c393 inp->coda_link.tname = offset; in venus_link()
429 inp->coda_symlink.tname = offset; in venus_symlink()

12