summaryrefslogtreecommitdiff
path: root/inotail.h
blob: c2efbe8b1b63ecd1306f0854f5b4caec57b7b6f0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#ifndef _INOTAIL_H
#define _INOTAIL_H

/* Number of items to tail. */
#define DEFAULT_N_LINES 10

/* tail modes */
enum { M_LINES, M_BYTES };

/* Every tailed file is represented as a file_struct */
struct file_struct {
	char	*name;		/* Name of file (or '-' for stdin) */
	int 	fd;		/* File descriptor (or -1 if file is not open */
	int 	ignore:1;	/* Ignore file? */
	off_t	st_size;	/* File size */

	int i_watch;		/* Inotify watch associated with file_struct */
};

/*
struct option const long_options[] = {
	{"lines", required_argument, NULL, 'n'},
	{"quiet", no_argument, NULL, 'q'},
	{"silent", no_argument, NULL, 'q'},
	{"verbose", no_argument, NULL, 'v'},
	{"help", no_argument, NULL, 'h'},
	{"version", no_argument, NULL, 'V'},
	{NULL, 0, NULL, 0}
};
*/

#ifdef DEBUG
#define dprintf(fmt, args...) fprintf(stderr, fmt, ##args)
#else
#define dprintf(fmt, args...)
#endif /* DEBUG */

#endif /* _INOTAIL_H */
ef='/cgit.cgi/linux/net-next.git/patch/arch/arm64/mm/cache.S?id=207918461eb0aca720fddec5da79bc71c133b9f1'>patch) tree3e6133bef93e5ed5e0610ca6f536b23e97d0b736 /arch/arm64/mm/cache.S parentd4dddfdbbc75f46d2cbab4e9f421999452617d64 (diff)
arm64: use ENDPIPROC() to annotate position independent assembler routines
For more control over which functions are called with the MMU off or with the UEFI 1:1 mapping active, annotate some assembler routines as position independent. This is done by introducing ENDPIPROC(), which replaces the ENDPROC() declaration of those routines. Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'arch/arm64/mm/cache.S')