Home
last modified time | relevance | path

Searched refs:max_files (Results 1 – 25 of 31) sorted by relevance

12

/third_party/ltp/testcases/kernel/syscalls/fcntl/
Dfcntl12.c25 static int fd = -1, max_files; variable
34 for (i = 0; i < max_files; i++) { in verify_fcntl()
48 max_files = getdtablesize(); in setup()
/third_party/rust/crates/tracing/tracing-appender/src/rolling/
Dbuilder.rs13 pub(super) max_files: Option<usize>, field
56 max_files: None, in new()
231 max_files: Some(n), in max_log_files()
/third_party/rust/crates/tracing/tracing-appender/src/
Drolling.rs110 max_files: Option<usize>, field
192 ref max_files, in from_builder()
202 *max_files, in from_builder()
527 max_files: Option<usize>, in new()
544 max_files, in new()
571 fn prune_old_logs(&self, max_files: usize) { in prune_old_logs()
618 if files.len() < max_files { in prune_old_logs()
626 for (file, _) in files.iter().take(files.len() - (max_files - 1)) { in prune_old_logs()
640 if let Some(max_files) = self.max_files { in refresh_writer()
641 self.prune_old_logs(max_files); in refresh_writer()
/third_party/gstreamer/gstplugins_good/gst/multifile/
Dgstmultifilesink.c306 multifilesink->max_files = DEFAULT_MAX_FILES; in gst_multi_file_sink_init()
361 sink->max_files = g_value_get_uint (value); in gst_multi_file_sink_set_property()
401 g_value_set_uint (value, sink->max_files); in gst_multi_file_sink_get_property()
952 if (multifilesink->max_files > 0) { in gst_multi_file_sink_add_old_file()
962 guint max_files = multifilesink->max_files; in gst_multi_file_sink_ensure_max_files() local
964 if (max_files == 0) in gst_multi_file_sink_ensure_max_files()
967 while (g_queue_get_length (&multifilesink->old_files) >= max_files) { in gst_multi_file_sink_ensure_max_files()
Dgstmultifilesink.h89 guint max_files; member
Dgstsplitmuxsink.h141 guint max_files; member
Dgstsplitmuxsink.c606 splitmux->max_files = DEFAULT_MAX_FILES; in gst_splitmux_sink_init()
812 splitmux->max_files = g_value_get_uint (value); in gst_splitmux_sink_set_property()
967 g_value_set_uint (value, splitmux->max_files); in gst_splitmux_sink_get_property()
4129 if (splitmux->max_files && splitmux->fragment_id >= splitmux->max_files) { in gst_splitmux_sink_ensure_max_files()
/third_party/gstreamer/gstplugins_bad/ext/hls/
Dgsthlssink.c195 sink->max_files = DEFAULT_MAX_FILES; in gst_hls_sink_init()
236 "next-file", 3, "post-messages", TRUE, "max-files", sink->max_files, in gst_hls_sink_create_elements()
407 sink->max_files = g_value_get_uint (value); in gst_hls_sink_set_property()
410 "next-file", 3, "post-messages", TRUE, "max-files", sink->max_files, in gst_hls_sink_set_property()
444 g_value_set_uint (value, sink->max_files); in gst_hls_sink_get_property()
Dgsthlssink2.c348 sink->max_files = DEFAULT_MAX_FILES; in gst_hls_sink2_init()
465 if (sink->max_files > 0) { in gst_hls_sink2_handle_message()
466 while (g_queue_get_length (&sink->old_locations) > sink->max_files) { in gst_hls_sink2_handle_message()
632 sink->max_files = g_value_get_uint (value); in gst_hls_sink2_set_property()
675 g_value_set_uint (value, sink->max_files); in gst_hls_sink2_get_property()
Dgsthlssink.h52 gint max_files; member
Dgsthlssink2.h50 gint max_files; member
/third_party/ltp/testcases/kernel/syscalls/fanotify/
Dfanotify17.c206 static void setup_rlimit(unsigned int max_files) in setup_rlimit() argument
211 rlim.rlim_cur = max_files; in setup_rlimit()
/third_party/libwebsockets/include/libwebsockets/
Dlws-fts.h178 int max_files; member
/third_party/libwebsockets/minimal-examples/api-tests/api-test-fts/
Dmain.c175 params.max_files = 20; in main()
/third_party/libwebsockets/plugins/
Dprotocol_fulltext_demo.c113 params.max_files = 10; in callback_fts()
/third_party/rust/crates/linux-raw-sys/src/riscv64/
Dgeneral.rs2631 pub max_files: crate::ctypes::c_ulong, field
/third_party/rust/crates/linux-raw-sys/src/aarch64/
Dgeneral.rs2632 pub max_files: crate::ctypes::c_ulong, field
/third_party/rust/crates/linux-raw-sys/src/riscv32/
Dgeneral.rs2611 pub max_files: crate::ctypes::c_ulong, field
/third_party/rust/crates/linux-raw-sys/src/x86_64/
Dgeneral.rs2673 pub max_files: crate::ctypes::c_ulong, field
/third_party/rust/crates/linux-raw-sys/src/arm/
Dgeneral.rs2715 pub max_files: crate::ctypes::c_ulong, field
/third_party/rust/crates/linux-raw-sys/src/powerpc64/
Dgeneral.rs2747 pub max_files: crate::ctypes::c_ulong, field
/third_party/rust/crates/linux-raw-sys/src/sparc/
Dgeneral.rs2980 pub max_files: crate::ctypes::c_ulong, field
/third_party/rust/crates/linux-raw-sys/src/s390x/
Dgeneral.rs2684 pub max_files: crate::ctypes::c_ulong, field
/third_party/rust/crates/linux-raw-sys/src/x32/
Dgeneral.rs2662 pub max_files: crate::ctypes::c_ulong, field
/third_party/rust/crates/linux-raw-sys/src/mips/
Dgeneral.rs2880 pub max_files: crate::ctypes::c_ulong, field

12