Home
last modified time | relevance | path

Searched refs:mtype (Results 1 – 4 of 4) sorted by relevance

/tools/testing/selftests/ipc/
Dmsgque.c16 long mtype; member
67 if (msgsnd(msgque->msq_id, &msgque->messages[i].mtype, in restore_queue()
88 ret = msgrcv(msgque->msq_id, &message.mtype, MAX_MSG_SIZE, in check_and_destroy_queue()
103 if (message.mtype != msgque->messages[cnt].mtype) { in check_and_destroy_queue()
162 ret = msgrcv(msgque->msq_id, &msgque->messages[i].mtype, in dump_queue()
177 msgbuf.mtype = MSG_TYPE; in fill_msgque()
179 if (msgsnd(msgque->msq_id, &msgbuf.mtype, sizeof(TEST_STRING), in fill_msgque()
185 msgbuf.mtype = ANOTHER_MSG_TYPE; in fill_msgque()
187 if (msgsnd(msgque->msq_id, &msgbuf.mtype, sizeof(ANOTHER_TEST_STRING), in fill_msgque()
/tools/lib/bpf/
Dbtf_dump.c1994 const struct btf_type *mtype; in btf_dump_struct_data() local
1999 mtype = btf__type_by_id(d->btf, m->type); in btf_dump_struct_data()
2004 err = btf_dump_dump_type_data(d, mname, mtype, m->type, data + moffset / 8, in btf_dump_struct_data()
2259 const struct btf_type *mtype; in btf_dump_type_data_check_zero() local
2262 mtype = btf__type_by_id(d->btf, m->type); in btf_dump_type_data_check_zero()
2270 err = btf_dump_type_data_check_zero(d, mtype, m->type, data + moffset / 8, in btf_dump_type_data_check_zero()
Dlibbpf.c893 const struct btf_type *mtype, *kern_mtype; in bpf_map__init_kern_struct_ops() local
923 mtype = skip_mods_and_typedefs(btf, member->type, &mtype_id); in bpf_map__init_kern_struct_ops()
926 if (BTF_INFO_KIND(mtype->info) != in bpf_map__init_kern_struct_ops()
929 map->name, mname, BTF_INFO_KIND(mtype->info), in bpf_map__init_kern_struct_ops()
934 if (btf_is_ptr(mtype)) { in bpf_map__init_kern_struct_ops()
/tools/testing/selftests/net/
Dfib_nexthops.sh374 local mtype=$1
378 mpid=`($IP monitor $mtype > $tmpfile & echo $!) 2>/dev/null`