Home
last modified time | relevance | path

Searched refs:system_write (Results 1 – 16 of 16) sorted by relevance

/dports/benchmarks/stress-ng/stress-ng-0.13.09/
H A Dcore-thrash.c127 ret = system_write("/proc/sys/vm/compact_memory", "1", 1); in stress_compact_memory()
148 ret = system_write("/proc/sys/vm/zone_reclaim_mode", mode, 1); in stress_zone_reclaim()
167 ret = system_write("/sys/kernel/slab/cache/shrink", "1", 1); in stress_slab_shrink()
182 ret = system_write(path, "1", 1); in stress_slab_shrink()
203 ret = system_write("/proc/sys/vm/drop_caches", str, 1); in stress_drop_caches()
223 ret = system_write("/proc/sys/mm/ksm/run", KSM_RUN_MERGE, 1); in stress_merge_memory()
H A Dcore-ignite-cpu.c77 ret1 = system_write(path, buffer, strlen(buffer)); in stress_ignite_cpu_set()
84 ret2 = system_write(path, governor, strlen(governor)); in stress_ignite_cpu_set()
176 ret = system_write(settings[i].path, in stress_ignite_cpu_start()
218 (void)system_write(settings[i].path, in stress_ignite_cpu_start()
281 (void)system_write(settings[i].path, settings[i].setting, in stress_ignite_cpu_stop()
H A Dcore-ftrace.c306 if (system_write(filename, "0", 1) < 0) { in stress_ftrace_start()
314 if (system_write(filename, "1", 1) < 0) { in stress_ftrace_start()
393 if (system_write(filename, "0", 1) < 0) { in stress_ftrace_stop()
H A Dstress-cpu-online.c53 ret = system_write(filename, data, sizeof data); in stress_cpu_online_set()
78 ret = system_write("/sys/devices/system/cpu/cpu1/online", "1\n", 2); in stress_cpu_online_supported()
H A Dstress-iomix.c793 if (system_write("/proc/sys/vm/drop_caches", "1", 1) < 0) in stress_iomix_drop_caches()
799 if (system_write("/proc/sys/vm/drop_caches", "2", 1) < 0) in stress_iomix_drop_caches()
805 if (system_write("/proc/sys/vm/drop_caches", "3", 1) < 0) in stress_iomix_drop_caches()
H A Dcore-helper.c1258 ssize_t system_write( in system_write() function
H A Dstress-ng.h4340 extern ssize_t system_write(const char *path, const char *buf, const size_t buf_len);
/dports/security/gnutls/gnutls-3.6.16/src/
H A Dcommon.h121 system_write(gnutls_transport_ptr ptr, const void *data, size_t data_size) in system_write() function
139 gnutls_transport_set_push_function(session, system_write); in set_read_funcs()
/dports/security/gnutls/gnutls-3.6.16/lib/
H A Dsystem.h56 ssize_t system_write(gnutls_transport_ptr_t ptr, const void *data,
H A Dstate.c599 gnutls_transport_set_push_function(*session, system_write); in gnutls_init()
/dports/security/gnutls/gnutls-3.6.16/lib/system/
H A Dsockets.c78 system_write(gnutls_transport_ptr ptr, const void *data, size_t data_size) in system_write() function
/dports/java/openjdk8/jdk8u-jdk8u312-b07.1/jdk/src/share/demo/jvmti/hprof/
H A Dhprof_io.c279 system_write(int fd, void *buf, int len, jboolean socket) in system_write() function
302 system_write(gdata->fd, gdata->write_buffer, gdata->write_buffer_index, in write_flush()
314 system_write(gdata->heap_fd, gdata->heap_buffer, gdata->heap_buffer_index, in heap_flush()
327 system_write(gdata->fd, buf, len, gdata->socket); in write_raw()
453 system_write(gdata->heap_fd, buf, len, JNI_FALSE); in heap_raw()
H A Dhprof_check.c160 system_write(int fd, void *buf, int len) in system_write() function
179 system_write(gdata->check_fd, gdata->check_buffer, gdata->check_buffer_index); in check_flush()
236 system_write(gdata->check_fd, buf, len); in check_raw()
/dports/java/openjdk8-jre/jdk8u-jdk8u312-b07.1/jdk/src/share/demo/jvmti/hprof/
H A Dhprof_io.c279 system_write(int fd, void *buf, int len, jboolean socket) in system_write() function
302 system_write(gdata->fd, gdata->write_buffer, gdata->write_buffer_index, in write_flush()
314 system_write(gdata->heap_fd, gdata->heap_buffer, gdata->heap_buffer_index, in heap_flush()
327 system_write(gdata->fd, buf, len, gdata->socket); in write_raw()
453 system_write(gdata->heap_fd, buf, len, JNI_FALSE); in heap_raw()
H A Dhprof_check.c160 system_write(int fd, void *buf, int len) in system_write() function
179 system_write(gdata->check_fd, gdata->check_buffer, gdata->check_buffer_index); in check_flush()
236 system_write(gdata->check_fd, buf, len); in check_raw()
/dports/security/gnutls/gnutls-3.6.16/
H A DChangeLog44854 That change requires the system_write() to be registered unconditionally,