Searched refs:func (Results 1 - 17 of 17) sorted by relevance

/systemd/src/basic/
H A Dasync.h22 int asynchronous_job(void* (*func)(void *p), void *arg);
H A Dasync.c31 int asynchronous_job(void* (*func)(void *p), void *arg) {
53 r = pthread_create(&t, &a, func, arg);
H A Dlog.h83 const char *func,
91 const char *func,
100 const char *func,
110 const char *func,
121 const char *func,
127 const char *func);
144 const char *func,
152 const char *func);
158 const char *func);
164 const char *func);
[all...]
H A Dlog.c332 const char *func,
392 const char *func,
455 const char *func,
487 const char *file, int line, const char *func,
507 isempty(func) ? "" : "CODE_FUNCTION=",
508 isempty(func) ? "" : func,
509 isempty(func) ? "" : "\n",
526 const char *func,
538 log_do_header(header, sizeof(header), level, error, file, line, func, object_fiel
327 write_to_console( int level, int error, const char *file, int line, const char *func, const char *object_field, const char *object, const char *buffer) argument
387 write_to_syslog( int level, int error, const char *file, int line, const char *func, const char *object_field, const char *object, const char *buffer) argument
450 write_to_kmsg( int level, int error, const char *file, int line, const char *func, const char *object_field, const char *object, const char *buffer) argument
482 log_do_header( char *header, size_t size, int level, int error, const char *file, int line, const char *func, const char *object_field, const char *object) argument
521 write_to_journal( int level, int error, const char *file, int line, const char *func, const char *object_field, const char *object, const char *buffer) argument
554 log_dispatch( int level, int error, const char *file, int line, const char *func, const char *object_field, const char *object, char *buffer) argument
634 log_dump_internal( int level, int error, const char *file, int line, const char *func, char *buffer) argument
655 log_internalv( int level, int error, const char *file, int line, const char *func, const char *format, va_list ap) argument
682 log_internal( int level, int error, const char *file, int line, const char *func, const char *format, ...) argument
700 log_object_internalv( int level, int error, const char *file, int line, const char *func, const char *object_field, const char *object, const char *format, va_list ap) argument
744 log_object_internal( int level, int error, const char *file, int line, const char *func, const char *object_field, const char *object, const char *format, ...) argument
764 log_assert( int level, const char *text, const char *file, int line, const char *func, const char *format) argument
786 log_assert_failed(const char *text, const char *file, int line, const char *func) argument
791 log_assert_failed_unreachable(const char *text, const char *file, int line, const char *func) argument
796 log_assert_failed_return(const char *text, const char *file, int line, const char *func) argument
801 log_oom_internal(const char *file, int line, const char *func) argument
852 log_struct_internal( int level, int error, const char *file, int line, const char *func, const char *format, ...) argument
1117 log_syntax_internal( const char *unit, int level, const char *config_file, unsigned config_line, int error, const char *file, int line, const char *func, const char *format, ...) argument
[all...]
H A Dmacro.h388 #define DEFINE_TRIVIAL_CLEANUP_FUNC(type, func) \
389 static inline void func##p(type *p) { \
391 func(*p); \
H A Dhashmap.h93 # define HASHMAP_DEBUG_PARAMS , const char *func, const char *file, int line
95 # define HASHMAP_DEBUG_PASS_ARGS , func, file, line
H A Dhashmap.c153 const char *func; member in struct:hashmap_debug_info
754 h->debug.func = func;
/systemd/src/systemd/
H A D_sd-common.h76 #define _SD_DEFINE_POINTER_CLEANUP_FUNC(type, func) \
77 static inline void func##p(type **p) { \
79 func(*p); \
H A Dsd-journal.h45 int sd_journal_print_with_location(int priority, const char *file, const char *line, const char *func, const char *format, ...) _sd_printf_(5, 6);
46 int sd_journal_printv_with_location(int priority, const char *file, const char *line, const char *func, const char *format, va_list ap) _sd_printf_(5, 0);
47 int sd_journal_send_with_location(const char *file, const char *line, const char *func, const char *format, ...) _sd_printf_(4, 0) _sd_sentinel_;
48 int sd_journal_sendv_with_location(const char *file, const char *line, const char *func, const struct iovec *iov, int n);
49 int sd_journal_perror_with_location(const char *file, const char *line, const char *func, const char *message);
/systemd/src/journal/
H A Djournal-send.c44 #define ALLOCA_CODE_FUNC(f, func) \
47 const char *_func = (func); \
449 _public_ int sd_journal_print_with_location(int priority, const char *file, const char *line, const char *func, const char *format, ...) { argument
454 r = sd_journal_printv_with_location(priority, file, line, func, format, ap);
460 _public_ int sd_journal_printv_with_location(int priority, const char *file, const char *line, const char *func, const char *format, va_list ap) { argument
474 /* func is initialized from __func__ which is not a macro, but
477 ALLOCA_CODE_FUNC(f, func);
489 _public_ int sd_journal_send_with_location(const char *file, const char *line, const char *func, const char *format, ...) { argument
504 ALLOCA_CODE_FUNC(f, func);
523 const char *func,
521 sd_journal_sendv_with_location( const char *file, const char *line, const char *func, const struct iovec *iov, int n) argument
544 sd_journal_perror_with_location( const char *file, const char *line, const char *func, const char *message) argument
[all...]
H A Dtest-journal-interleaving.c39 noreturn static void log_assert_errno(const char *text, int eno, const char *file, int line, const char *func) { argument
40 log_internal(LOG_CRIT, 0, file, line, func,
42 text, file, line, func, strerror(eno));
/systemd/src/shared/
H A Dconf-parser.c50 ConfigParserCallback *func,
59 assert(func);
71 *func = t->parse;
84 ConfigParserCallback *func,
94 assert(func);
114 *func = p->parse;
133 ConfigParserCallback func = NULL; local
144 r = lookup(table, section, lvalue, &func, &ltype, &data, userdata);
149 if (func)
150 return func(uni
46 config_item_table_lookup( const void *table, const char *section, const char *lvalue, ConfigParserCallback *func, int *ltype, void **data, void *userdata) argument
80 config_item_perf_lookup( const void *table, const char *section, const char *lvalue, ConfigParserCallback *func, int *ltype, void **data, void *userdata) argument
[all...]
H A Dconf-parser.h74 ConfigParserCallback *func,
81 int config_item_table_lookup(const void *table, const char *section, const char *lvalue, ConfigParserCallback *func, int *ltype, void **data, void *userdata);
85 int config_item_perf_lookup(const void *table, const char *section, const char *lvalue, ConfigParserCallback *func, int *ltype, void **data, void *userdata);
/systemd/src/udev/
H A Dudev-builtin-net_id.c202 unsigned domain, bus, slot, func, dev_port = 0; local
212 if (sscanf(udev_device_get_sysname(names->pcidev), "%x:%x:%x.%u", &domain, &bus, &slot, &func) != 4)
226 if (func > 0 || is_pci_multifunction(names->pcidev))
227 l = strpcpyf(&s, l, "f%u", func);
276 if (func > 0 || is_pci_multifunction(names->pcidev))
277 l = strpcpyf(&s, l, "f%d", func);
H A Dudev-builtin-path_id.c598 const char *type, *func; local
604 func = udev_device_get_sysattr_value(parent, "ap_functions");
606 if (type != NULL && func != NULL) {
607 path_prepend(path, "ap-%s-%s", type, func);
/systemd/src/bootchart/
H A Dsvg.c918 char func[256]; local
957 &t, func, &ret, &usecs);
961 &t, func, &ret, &usecs);
967 while(func[z] != '+')
969 func[z] = 0;
979 func, t, usecs, ret);
995 func, usecs / 1000000.0);
/systemd/src/core/
H A Dmain.c428 #define DEFINE_SETTER(name, func, descr) \
446 r = func(rvalue); \

Completed in 93 milliseconds