| /linux/rust/pin-init/examples/ |
| H A D | pthread_mutex.rs | 25 raw: UnsafeCell<libc::pthread_mutex_t>, 38 libc::pthread_mutex_destroy(self.raw.get()); in drop() 67 fn init_raw() -> impl PinInit<UnsafeCell<libc::pthread_mutex_t>, Error> { in new() 68 let init = |slot: *mut UnsafeCell<libc::pthread_mutex_t>| { in new() 70 let slot: *mut libc::pthread_mutex_t = slot.cast(); in new() 74 let ret = unsafe { libc::pthread_mutexattr_init(attr) }; in new() 80 libc::pthread_mutexattr_settype(attr, libc::PTHREAD_MUTEX_NORMAL) in new() 84 unsafe { libc::pthread_mutexattr_destroy(attr) }; in new() 88 unsafe { slot.write(libc::PTHREAD_MUTEX_INITIALIZER) }; in new() 90 let ret = unsafe { libc::pthread_mutex_init(slot, attr) }; in new() [all …]
|
| /linux/tools/perf/tests/shell/ |
| H A D | record+probe_libc_inet_pton.sh | 18 libc=$(grep -w libc /proc/self/maps | head -1 | sed -r 's/.*[[:space:]](\/.*)/\1/g') 19 nm -Dg $libc 2>/dev/null | grep -F -q inet_pton || exit 254 25 event_name=$(perf probe -f -x $libc -a inet_pton 2>&1 | tail -n +2 | head -n -5 | \ 26 awk -v ep="$event_pattern" -v l="$libc" '$0 ~ ep && $0 ~ \ 40 echo ".*inet_pton\+0x[[:xdigit:]]+[[:space:]]\($libc|inlined\)$" >> $expected 44 …echo "((__GI_)?getaddrinfo|text_to_binary_address)\+0x[[:xdigit:]]+[[:space:]]\($libc|inlined\)$" …
|
| /linux/tools/perf/Documentation/ |
| H A D | examples.txt | 85 23.57% git-repack /lib64/libc-2.5.so 86 21.81% git /lib64/libc-2.5.so 92 1.97% rm /lib64/libc-2.5.so 94 1.37% mv /lib64/libc-2.5.so 97 0.90% git-update-serv /lib64/libc-2.5.so 112 7.31% git /lib64/libc-2.5.so [.] memcpy 113 6.34% git-repack /lib64/libc-2.5.so [.] _int_malloc 114 6.24% git-repack /lib64/libc-2.5.so [.] memcpy 115 5.82% git-repack /lib64/libc-2.5.so [.] __GI___fork 116 5.47% git /lib64/libc-2.5.so [.] _int_malloc [all …]
|
| H A D | perf.data-directory-format.txt | 50 …build id event received for /lib/x86_64-linux-gnu/libc-2.28.so: 5b157f49586a3ca84d55837f97ff466767… 63 …5.481643: 2172167 cycles: 7f1a48c393c0 _IO_un_link+0x0 (/lib/x86_64-linux-gnu/libc-2.28.so)
|
| H A D | perf-probe.txt | 277 Add probes at malloc() function on libc 279 ./perf probe -x /lib/libc.so.6 malloc or ./perf probe /lib/libc.so.6 malloc 283 ./perf probe --target-ns <target pid> -x /lib64/libc.so.6 malloc 291 ./perf probe -x /lib64/libc-2.25.so 'malloc_get_state\@GLIBC_2.2.5'
|
| H A D | perf-top.txt | 284 5.00% libc.so [.] libcall 298 5.00% libc.so
|
| /linux/tools/testing/selftests/net/lib/py/ |
| H A D | netns.py | 8 libc = ctypes.cdll.LoadLibrary('libc.so.6') variable 44 libc.setns(ns_file.fileno(), 0) 48 libc.setns(self.saved.fileno(), 0)
|
| /linux/tools/testing/selftests/powerpc/pmu/ |
| H A D | lib.c | 135 struct addr_range libc, vdso; variable 161 libc.first = start; in parse_proc_maps() 162 libc.last = end - 1; in parse_proc_maps()
|
| H A D | lib.h | 36 extern struct addr_range libc, vdso;
|
| /linux/scripts/package/debian/ |
| H A D | rules | 30 binary-targets := $(addprefix binary-, image image-dbg headers libc-dev) 35 libc-dev-package = $(filter linux-libc-dev, $(all-packages))
|
| /linux/tools/testing/selftests/nolibc/ |
| H A D | Makefile.nolibc | 315 libc-test: nolibc-test.c nolibc-test-linkage.c 319 run-libc-test: libc-test 320 $(Q)./libc-test > "$(CURDIR)/run.out" || : 373 $(call QUIET_CLEAN, libc-test) 374 $(Q)rm -f libc-test
|
| H A D | .gitignore | 3 /libc-test
|
| /linux/arch/x86/configs/ |
| H A D | hardening.config | 3 # Modern libc no longer needs a fixed-position mapping in userspace, remove
|
| /linux/Documentation/translations/zh_CN/kbuild/ |
| H A D | headers_install.rst | 17 内核头文件。系统的 libc 头文件通常被安装在默认位置 /usr/include,而内核
|
| /linux/tools/testing/selftests/arm64/gcs/ |
| H A D | Makefile | 9 TEST_GEN_PROGS := basic-gcs libc-gcs gcs-locking gcs-stress gcspushm gcsstr
|
| /linux/tools/testing/selftests/net/rds/ |
| H A D | test.py | 23 libc = ctypes.cdll.LoadLibrary('libc.so.6') variable 24 setns = libc.setns
|
| /linux/Documentation/trace/ |
| H A D | tracepoint-analysis.rst | 250 6.85% hackbench /lib/i686/cmov/libc-2.9.so 255 0.02% perf /lib/i686/cmov/libc-2.9.so 286 0.09% Xorg /lib/i686/cmov/libc-2.9.so 304 0.09% Xorg /lib/i686/cmov/libc-2.9.so [.] _int_malloc
|
| /linux/Documentation/translations/zh_CN/networking/ |
| H A D | timestamping.rst | 24 SO_TIMESTAMP 根据架构类型和 libc 的 lib 中的 time_t 表示方式定义为 32 SO_TIMESTAMPNS 根据架构类型和 libc 的 time_t 表示方式定义为
|
| /linux/scripts/package/ |
| H A D | builddeb | 166 linux-libc-dev)
|
| H A D | mkdebian | 228 Package: linux-libc-dev
|
| /linux/Documentation/kbuild/ |
| H A D | headers_install.rst | 13 from the "linux" subdirectory. The system's libc headers are usually
|
| /linux/Documentation/driver-api/cxl/allocation/ |
| H A D | reclaim.rst | 33 libc) may still be demoted. As a result, the mems_allowed interface still
|
| /linux/Documentation/arch/arm/nwfpe/ |
| H A D | todo.rst | 21 and are handled by routines in libc. These are not implemented by the FPA11
|
| /linux/arch/sh/mm/ |
| H A D | Kconfig | 109 to the libc through the ELF auxiliary vector.
|
| /linux/Documentation/userspace-api/media/v4l/ |
| H A D | libv4l-introduction.rst | 129 operates like the libc ``dup()`` function, duplicating a file handler.
|