Searched refs:trail (Results 1 - 16 of 16) sorted by relevance

/freebsd-current/contrib/openbsm/bin/auditdistd/
H A Dtrail.h41 struct trail;
43 struct trail *trail_new(const char *dirname, bool create);
44 void trail_free(struct trail *trail);
47 void trail_start(struct trail *trail, const char *filename, off_t offset);
48 void trail_next(struct trail *trail);
49 void trail_close(struct trail *trail);
[all...]
H A Dtrail.c62 #include "trail.h"
65 struct trail { struct
71 /* Path to audit trail file. */
73 /* Descriptor to audit trail file. */
93 struct trail *
96 struct trail *trail; local
98 trail = calloc(1, sizeof(*trail));
100 if (strlcpy(trail
140 trail_free(struct trail *trail) argument
178 trail_find(struct trail *trail) argument
204 trail_start(struct trail *trail, const char *filename, off_t offset) argument
324 trail_next(struct trail *trail) argument
410 trail_close(struct trail *trail) argument
426 trail_reset(struct trail *trail) argument
439 trail_unlink(struct trail *trail, const char *filename) argument
465 trail_switch(struct trail *trail) argument
496 trail_filename(const struct trail *trail) argument
505 trail_filefd(const struct trail *trail) argument
514 trail_dirfd(const struct trail *trail) argument
[all...]
H A DMakefile.am29 trail.c
H A DMakefile.in116 auditdistd-trail.$(OBJEXT)
382 trail.c
494 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/auditdistd-trail.Po@am__quote@
713 auditdistd-trail.o: trail.c
714 @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(auditdistd_CFLAGS) $(CFLAGS) -MT auditdistd-trail.o -MD -MP -MF $(DEPDIR)/auditdistd-trail.Tpo -c -o auditdistd-trail.o `test -f 'trail.c' || echo '$(srcdir)/'`trail
[all...]
H A Dsender.c79 #include "trail.h"
87 static struct trail *adist_trail;
290 "Unable to receive size of the most recent trail file from %s",
299 "Unable to receive name of the most recent trail file from %s",
798 * trail directory, but it should not be able to write to the
799 * trail files, only read from them.
/freebsd-current/usr.sbin/praudit/tests/
H A Dpraudit_test.sh37 praudit -d "," $(atf_get_srcdir)/trail
50 praudit -d "_" $(atf_get_srcdir)/trail
64 praudit $(atf_get_srcdir)/trail
78 praudit -n $(atf_get_srcdir)/trail
91 praudit -r $(atf_get_srcdir)/trail
98 atf_set "descr" "Verify that praudit outputs the trail in the same " \
105 praudit -l $(atf_get_srcdir)/trail
119 praudit -s $(atf_get_srcdir)/trail
132 praudit -x $(atf_get_srcdir)/trail
140 "records when the initial part of the trail i
[all...]
H A DMakefile9 input/trail \
/freebsd-current/lib/libc/stdtime/
H A Dstrftime.c605 register int trail; local
608 trail = a % DIVISOR + b % DIVISOR;
609 lead = a / DIVISOR + b / DIVISOR + trail / DIVISOR;
610 trail %= DIVISOR;
611 if (trail < 0 && lead > 0) {
612 trail += DIVISOR;
614 } else if (lead < 0 && trail > 0) {
615 trail -= DIVISOR;
619 if (lead == 0 && trail < 0)
624 pt = _conv(((trail <
[all...]
/freebsd-current/contrib/tzcode/
H A Dstrftime.c639 register int trail; local
642 trail = a % DIVISOR + b % DIVISOR;
643 lead = a / DIVISOR + b / DIVISOR + trail / DIVISOR;
644 trail %= DIVISOR;
645 if (trail < 0 && lead > 0) {
646 trail += DIVISOR;
648 } else if (lead < 0 && trail > 0) {
649 trail -= DIVISOR;
653 if (lead == 0 && trail < 0)
658 pt = _conv(((trail <
[all...]
H A Dzdump.c1238 register int trail; local
1255 trail = timeptr->tm_year % DIVISOR + TM_YEAR_BASE % DIVISOR;
1257 trail / DIVISOR;
1258 trail %= DIVISOR;
1259 if (trail < 0 && lead > 0) {
1260 trail += DIVISOR;
1262 } else if (lead < 0 && trail > 0) {
1263 trail -= DIVISOR;
1267 printf("%d", trail);
1268 else printf("%d%d", lead, ((trail <
[all...]
/freebsd-current/usr.sbin/auditdistd/
H A DMakefile23 SRCS+= token.l trail.c
/freebsd-current/contrib/jemalloc/src/
H A Dlarge.c110 extent_t *trail = extent_split_wrapper(tsdn, arena, local
113 if (trail == NULL) {
118 large_dalloc_maybe_junk(extent_addr_get(trail),
119 extent_size_get(trail));
122 arena_extents_dirty_dalloc(tsdn, arena, &extent_hooks, trail);
153 extent_t *trail; local
155 if ((trail = extents_alloc(tsdn, arena, &extent_hooks,
158 || (trail = extents_alloc(tsdn, arena, &extent_hooks,
165 if ((trail = extent_alloc_wrapper(tsdn, arena, &extent_hooks,
175 if (extent_merge_wrapper(tsdn, arena, &extent_hooks, extent, trail)) {
[all...]
H A Dextent.c955 * it, this splits off lead and trail extents, leaving extent pointing to an
957 * This function doesn't put lead or trail into any extents_t; it's the caller's
962 * Split successfully. lead, extent, and trail, are modified to extents
974 * None of lead, extent, or trail are valid.
983 extent_t **extent, extent_t **lead, extent_t **trail,
998 *trail = NULL;
1015 /* Split the trail. */
1017 *trail = extent_split_impl(tsdn, arena, r_extent_hooks, *extent,
1020 if (*trail == NULL) {
1062 extent_t *trail; local
980 extent_split_interior(tsdn_t *tsdn, arena_t *arena, extent_hooks_t **r_extent_hooks, rtree_ctx_t *rtree_ctx, extent_t **extent, extent_t **lead, extent_t **trail, extent_t **to_leak, extent_t **to_salvage, void *new_addr, size_t size, size_t pad, size_t alignment, bool slab, szind_t szind, bool growing_retained) argument
1369 extent_t *trail; local
2106 extent_t *trail = extent_alloc(tsdn, arena); local
[all...]
/freebsd-current/sys/security/audit/
H A Daudit_bsm.c120 token_t *cur, *hdr, *trail; local
152 trail = au_to_trailer(tot_rec_size);
153 TAILQ_INSERT_TAIL(&rec->token_q, trail, tokens);
/freebsd-current/contrib/openbsm/bsm/
H A Dlibbsm.h776 au_trailer_t trail; member in union:tokenstr::__anon5878
/freebsd-current/contrib/openbsm/libbsm/
H A Dbsm_io.c1295 READ_TOKEN_U_INT16(buf, len, tok->tt.trail.magic, tok->len, err);
1299 READ_TOKEN_U_INT32(buf, len, tok->tt.trail.count, tok->len, err);
1313 print_4_bytes(fp, tok->tt.trail.count, "%u");

Completed in 148 milliseconds