Searched refs:object (Results 1 - 15 of 15) sorted by relevance

/systemd/src/journal/
H A Djournal-def.h82 ObjectHeader object; member in struct:DataObject
93 ObjectHeader object; member in struct:FieldObject
106 ObjectHeader object; member in struct:EntryObject
121 ObjectHeader object; member in struct:HashTableObject
126 ObjectHeader object; member in struct:EntryArrayObject
134 ObjectHeader object; member in struct:TagObject
141 ObjectHeader object; member in union:Object
H A Djournal-verify.c126 if ((o->object.flags & OBJECT_COMPRESSED_XZ) &&
127 o->object.type != OBJECT_DATA) {
128 error(offset, "Found compressed object that isn't of type DATA, which is not allowed.");
132 switch (o->object.type) {
146 if (le64toh(o->object.size) - offsetof(DataObject, payload) <= 0) {
147 error(offset, "Bad object size (<= %zu): %"PRIu64,
149 le64toh(o->object.size));
155 compression = o->object.flags & OBJECT_COMPRESSION_MASK;
162 le64toh(o->object.size) - offsetof(Object, data.payload),
172 h2 = hash64(o->data.payload, le64toh(o->object
[all...]
H A Djournal-authenticate.c67 /* Add the tag object itself, so that we can protect its
73 /* Get the HMAC tag and store it in the object */
249 if (type > OBJECT_UNUSED && o->object.type != type)
255 switch (o->object.type) {
260 gcry_md_write(f->hmac, o->data.payload, le64toh(o->object.size) - offsetof(DataObject, payload));
266 gcry_md_write(f->hmac, o->field.payload, le64toh(o->object.size) - offsetof(FieldObject, payload));
271 gcry_md_write(f->hmac, &o->entry.seqnum, le64toh(o->object.size) - offsetof(EntryObject, seqnum));
H A Djournal-file.c494 if (o->object.type >= ELEMENTSOF(table) || table[o->object.type] <= 0)
497 return table[o->object.type];
518 s = le64toh(o->object.size);
523 if (o->object.type <= OBJECT_UNUSED)
529 if (type > OBJECT_UNUSED && o->object.type != type)
596 p += ALIGN64(le64toh(tail->object.size));
609 zero(o->object);
610 o->object.type = type;
611 o->object
[all...]
H A Dsd-journal.c68 /* We don't support people creating a journal object and
140 assert(o->object.type == OBJECT_ENTRY);
1950 l = le64toh(o->object.size) - offsetof(Object, data.payload);
1952 compression = o->object.flags & OBJECT_COMPRESSION_MASK;
1960 log_debug_errno(r, "Cannot decompress %s object of length %zu at offset "OFSfmt": %m",
2009 l = le64toh(o->object.size) - offsetof(Object, data.payload);
2016 compression = o->object.flags & OBJECT_COMPRESSION_MASK;
2257 * object was created and we weren't watching before,
2458 /* Proceed to next data object in the field's linked list */
2483 * instead, so that we can look at this data object a
[all...]
/systemd/src/basic/
H A Dlog.c334 const char *object,
394 const char *object,
457 const char *object,
488 const char *object_field, const char *object) {
513 isempty(object) ? "" : object_field,
514 isempty(object) ? "" : object,
515 isempty(object) ? "" : "\n",
528 const char *object,
538 log_do_header(header, sizeof(header), level, error, file, line, func, object_field, object);
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
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
[all...]
H A Dlog.h102 const char *object,
112 const char *object,
/systemd/src/core/
H A Djob.h117 /* Encodes that the 'subject' job needs the 'object' job in
120 Job *object; member in struct:JobDependency
123 LIST_FIELDS(JobDependency, object);
184 JobDependency* job_dependency_new(Job *subject, Job *object, bool matters, bool conflicts);
H A Djob.c260 JobDependency* job_dependency_new(Job *subject, Job *object, bool matters, bool conflicts) { argument
263 assert(object);
266 * needs the 'object' job in some way. If 'subject' is NULL
274 l->object = object;
281 LIST_PREPEND(object, object->object_list, l);
292 LIST_REMOVE(object, l->object->object_list, l);
H A Dtransaction.c82 if (l->object->generation == generation)
85 transaction_find_jobs_that_matter_to_anchor(l->object, generation);
122 LIST_FOREACH(object, l, other->object_list) {
123 assert(l->object == other);
124 l->object = j;
150 LIST_FOREACH(object, l, j->object_list)
/systemd/src/import/
H A Dimportd.c717 const char *local, *object; local
772 object = t->object_path;
776 return sd_bus_reply_method_return(msg, "uo", id, object);
782 const char *local, *object, *format; local
837 object = t->object_path;
841 return sd_bus_reply_method_return(msg, "uo", id, object);
846 const char *remote, *local, *verify, *object; local
920 object = t->object_path;
924 return sd_bus_reply_method_return(msg, "uo", id, object);
1146 return log_error_errno(r, "Failed to register object
[all...]
/systemd/src/run/
H A Drun.c855 const char *object; local
857 r = sd_bus_message_read(reply, "o", &object);
861 r = bus_wait_for_jobs_one(w, object, arg_quiet);
913 const char *object = NULL; local
1032 r = sd_bus_message_read(reply, "o", &object);
1036 r = bus_wait_for_jobs_one(w, object, arg_quiet);
1056 const char *object = NULL; local
1184 r = sd_bus_message_read(reply, "o", &object);
1188 r = bus_wait_for_jobs_one(w, object, arg_quiet);
/systemd/src/nss-mymachines/
H A Dnss-mymachines.c502 const char *machine, *object; local
537 r = sd_bus_message_read(reply, "sou", &machine, &object, &mapped);
670 const char *machine, *object; local
705 r = sd_bus_message_read(reply, "sou", &machine, &object, &mapped);
/systemd/src/login/
H A Dloginctl.c95 const char *id, *user, *seat, *object; local
126 while ((r = sd_bus_message_read(reply, "(susso)", &id, &uid, &user, &seat, &object)) > 0) {
142 const char *user, *object; local
173 while ((r = sd_bus_message_read(reply, "(uso)", &uid, &user, &object)) > 0) {
189 const char *seat, *object; local
219 while ((r = sd_bus_message_read(reply, "(so)", &seat, &object)) > 0) {
/systemd/src/machine/
H A Dmachinectl.c131 const char *name, *class, *service, *object; local
158 while ((r = sd_bus_message_read(reply, "(ssso)", &name, &class, &service, &object)) > 0) {
234 const char *name, *type, *object; local
261 while ((r = sd_bus_message_read(reply, "(ssbttto)", &name, &type, &read_only, &crtime, &mtime, &size, &object)) > 0) {
1543 const char *object; local
1563 r = sd_bus_message_read(reply, "o", &object);
1567 r = bus_wait_for_jobs_add(w, object);
2186 const char *type, *remote, *local, *object; local
2212 while ((r = sd_bus_message_read(reply, "(usssdo)", &id, &type, &remote, &local, &progress, &object)) > 0) {

Completed in 3295 milliseconds