Searched refs:usage (Results 26 - 50 of 513) sorted by last modified time

1234567891011>>

/linux-master/tools/testing/selftests/net/mptcp/
H A Dmptcp_join.sh1762 print_check "link usage"
1765 fail_test "got $tx_rate% usage, expected $expected_rate%"
1900 if reset_with_tcp_filter "multi subflows, fair usage on close" ns1 10.0.3.2 REJECT &&
3523 usage() function
3530 echo "mptcp_join usage:"
3599 usage
3602 usage "Unknown option: -${opt}"
H A Dmptcp_connect.sh48 usage() { function
67 usage $0
123 usage $0
/linux-master/tools/testing/selftests/net/hsr/
H A Dhsr_ping.sh9 usage() { function
17 usage $0
24 usage $0
/linux-master/tools/testing/selftests/net/
H A Dfib_rule_tests.sh465 # usage
467 usage() function
470 usage: ${0##*/} OPTS
483 h) usage; exit 0;;
484 *) usage; exit 1;;
/linux-master/tools/testing/selftests/
H A Dkselftest_deps.sh10 usage() function
58 usage
/linux-master/tools/testing/selftests/ftrace/
H A Dftracetest10 usage() { # errno [message] function
89 usage 0
101 usage "--console can not use with --verbose"
110 usage "--console can not use with --verbose"
141 usage 1 "$1 is not a testcase"
150 usage 1 "Invalid option ($1)"
/linux-master/tools/testing/selftests/bpf/
H A Dxdp_hw_metadata.c604 const char *usage = local
613 printf("%s", usage);
H A Dtest_sockmap.c217 static void usage(char *argv[]) function
1560 /* Test cork with hung data. This tests poor usage patterns where
2055 usage(argv);
2072 usage(argv);
/linux-master/tools/bpf/bpftool/
H A Dstruct_ops.c313 usage();
343 usage();
414 usage();
473 usage();
512 usage();
H A Dprog.c901 usage();
941 usage();
2370 usage();
H A Dmain.h34 #define NEXT_ARG() ({ argc--; argv++; if (argc < 0) usage(); })
35 #define NEXT_ARGP() ({ (*argc)--; (*argv)++; if (*argc < 0) usage(); })
94 void usage(void) __noreturn;
H A Dgen.c1157 usage();
1541 usage();
1836 usage();
2557 usage();
H A Diter.c25 usage();
H A Dfeature.c1147 * We do not use libcap so let's approximate, and restrict usage to
1272 usage();
/linux-master/security/keys/
H A Dkey.c92 refcount_set(&candidate->usage, 1);
109 refcount_inc(&user->usage);
121 if (refcount_dec_and_lock(&user->usage, &key_user_lock)) {
288 refcount_set(&key->usage, 1);
320 refcount_inc(&key->domain_tag->usage);
651 if (refcount_dec_and_test(&key->usage)) {
698 if (!refcount_inc_not_zero(&key->usage))
H A Dgc.c221 if (refcount_read(&key->usage) == 0)
/linux-master/net/core/
H A Dsock_map.c817 u64 usage = sizeof(struct bpf_stab); local
819 usage += (u64)map->max_entries * sizeof(struct sock *);
820 return usage;
1430 u64 usage = sizeof(*htab); local
1432 usage += htab->buckets_num * sizeof(struct bpf_shtab_bucket);
1433 usage += atomic_read(&htab->count) * (u64)htab->elem_size;
1434 return usage;
H A Dnet_namespace.c45 static struct key_tag init_net_key_domain = { .usage = REFCOUNT_INIT(1) };
388 /* Limits per socket sk_omem_alloc usage.
389 * TCP zerocopy regular usage needs 128 KB.
442 refcount_set(&net->key_domain->usage, 1);
/linux-master/kernel/sched/
H A Dcputime.c914 enum cpu_usage_stat usage,
929 *val = cpustat[usage];
938 switch (usage) {
968 enum cpu_usage_stat usage, int cpu)
971 u64 val = cpustat[usage];
987 return cpustat[usage];
990 err = kcpustat_field_vtime(cpustat, curr, usage, cpu, &val);
912 kcpustat_field_vtime(u64 *cpustat, struct task_struct *tsk, enum cpu_usage_stat usage, int cpu, u64 *val) argument
967 kcpustat_field(struct kernel_cpustat *kcpustat, enum cpu_usage_stat usage, int cpu) argument
/linux-master/kernel/bpf/
H A Dhashtab.c2234 u64 usage = sizeof(struct bpf_htab); local
2236 usage += sizeof(struct bucket) * htab->n_buckets;
2237 usage += sizeof(int) * num_possible_cpus() * HASHTAB_MAP_LOCK_COUNT;
2243 usage += htab->elem_size * num_entries;
2246 usage += value_size * num_possible_cpus() * num_entries;
2248 usage += sizeof(struct htab_elem *) * num_possible_cpus();
2255 usage += (htab->elem_size + LLIST_NODE_SZ) * num_entries;
2257 usage += (LLIST_NODE_SZ + sizeof(void *)) * num_entries;
2258 usage += value_size * num_possible_cpus() * num_entries;
2261 return usage;
[all...]
H A Dcrypto.c48 * @usage: Object reference counter. When the refcount goes to 0, the
57 refcount_t usage; member in struct:bpf_crypto_ctx
209 refcount_set(&ctx->usage, 1);
245 if (!refcount_inc_not_zero(&ctx->usage))
260 if (refcount_dec_and_test(&ctx->usage))
H A Dcpumask.c12 * @usage: Object reference counter. When the refcount goes to 0, the
27 refcount_t usage; member in struct:bpf_cpumask
61 refcount_set(&cpumask->usage, 1);
77 refcount_inc(&cpumask->usage);
91 if (!refcount_dec_and_test(&cpumask->usage))
H A Dbpf_struct_ops.c990 u64 usage; local
992 usage = sizeof(*st_map) +
994 usage += vt->size;
995 usage += btf_type_vlen(vt) * sizeof(struct bpf_links *);
996 usage += PAGE_SIZE;
997 return usage;
H A Dbpf_local_storage.c748 u64 usage = sizeof(*smap); local
751 usage += sizeof(*smap->buckets) * (1ULL << smap->bucket_log);
752 return usage;
H A Darraymap.c767 u64 usage = sizeof(*array); local
770 usage += entries * sizeof(void *);
771 usage += entries * elem_size * num_possible_cpus();
774 usage = PAGE_ALIGN(usage);
775 usage += PAGE_ALIGN(entries * elem_size);
777 usage += entries * elem_size;
780 return usage;

Completed in 260 milliseconds

1234567891011>>