| /OK3568_Linux_fs/kernel/fs/jfs/ |
| H A D | jfs_logmgr.c | 8 * jfs_logmgr.c: log manager 15 * log buffer manager: 16 * special purpose buffer manager supporting log i/o requirements. 17 * per log serial pageout of logpage 25 * log page during the pageout of previous/current log page(s) are 29 * transactions are committed asynchronously when the log page 33 * . a per log lock serialize log write. 34 * . a per log lock serialize group commit. 35 * . a per log lock serialize log open/close; 37 * TBD log integrity: [all …]
|
| H A D | jfs_logmgr.h | 15 * log manager configuration parameters 18 /* log page size */ 22 #define LOGPAGES 16 /* Log pages per mounted file system */ 25 * log logical volume 27 * a log is used to make the commit operation on journalled 29 * a log is implemented with a logical volume. 30 * there is one log per logical volume group. 32 * block 0 of the log logical volume is not used (ipl etc). 33 * block 1 contains a log "superblock" and is used by logFormat(), 35 * of the log but is not otherwise used during normal processing. [all …]
|
| /OK3568_Linux_fs/kernel/fs/xfs/ |
| H A D | xfs_log.c | 35 struct xlog *log, 39 struct xlog *log); 46 struct xlog *log, 54 struct xlog *log, 59 struct xlog *log, 63 struct xlog *log, 68 struct xlog *log, 72 struct xlog *log); 75 struct xlog *log, 80 struct xlog *log, [all …]
|
| H A D | xfs_log_recover.c | 44 #define xlog_recover_check_summary(log) argument 55 * Verify the log-relative block number and length in basic blocks are valid for 56 * an operation involving the given XFS log buffer. Returns true if the fields 61 struct xlog *log, in xlog_verify_bno() argument 65 if (blk_no < 0 || blk_no >= log->l_logBBsize) in xlog_verify_bno() 67 if (bbcount <= 0 || (blk_no + bbcount) > log->l_logBBsize) in xlog_verify_bno() 73 * Allocate a buffer to hold log data. The buffer needs to be able to map to 74 * a range of nbblks basic blocks at any valid offset within the log. 78 struct xlog *log, in xlog_alloc_buffer() argument 81 int align_mask = xfs_buftarg_dma_alignment(log->l_targ); in xlog_alloc_buffer() [all …]
|
| H A D | xfs_log_priv.h | 15 * Flags for log structure 18 #define XLOG_RECOVERY_NEEDED 0x4 /* log was recovered */ 19 #define XLOG_IO_ERROR 0x8 /* log hit an I/O error, and being 21 #define XLOG_TAIL_WARN 0x10 /* log tail verify warning issued */ 41 * In core log state 44 XLOG_STATE_ACTIVE, /* Current IC log being written to */ 46 XLOG_STATE_SYNCING, /* This IC log is syncing */ 49 XLOG_STATE_DIRTY, /* Dirty IC log, not ready for ACTIVE status */ 50 XLOG_STATE_IOERROR, /* IO error happened in sync'ing log */ 54 * Log ticket flags [all …]
|
| H A D | xfs_log_cil.c | 36 struct xlog *log) in xlog_cil_ticket_alloc() argument 40 tic = xlog_ticket_alloc(log, 0, 1, XFS_TRANSACTION, 0); in xlog_cil_ticket_alloc() 51 * After the first stage of log recovery is done, we know where the head and 52 * tail of the log are. We need this log initialisation done before we can 55 * Here we allocate a log ticket to track space usage during a CIL push. This 56 * ticket is passed to xlog_write() directly so that we don't slowly leak log 57 * space by failing to account for space used by log headers and additional 62 struct xlog *log) in xlog_cil_init_post_recovery() argument 64 log->l_cilp->xc_ctx->ticket = xlog_cil_ticket_alloc(log); in xlog_cil_init_post_recovery() 65 log->l_cilp->xc_ctx->sequence = 1; in xlog_cil_init_post_recovery() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/md/ |
| H A D | raid5-cache.c | 18 #include "raid5-log.h" 28 * log->max_free_space is min(1/4 disk size, 10G reclaimable space). 30 * In write through mode, the reclaim runs every log->max_free_space. 70 * writes are committed from the log device. Therefore, a stripe in 72 * - write to log device 87 sector_t device_size; /* log device size, round to 92 sector_t last_checkpoint; /* log tail. where recovery scan 94 u64 last_cp_seq; /* log tail sequence */ 96 sector_t log_start; /* log head. where new data appends */ 97 u64 seq; /* log head sequence */ [all …]
|
| H A D | dm-log.c | 13 #include <linux/dm-dirty-log.h> 17 #define DM_MSG_PREFIX "dirty region log" 55 * Log modules are named "dm-log-" followed by the 'type_name'. 57 * This function will first try the module "dm-log-<type_name>", 61 * 'dm-log-clustered-disk' then 'dm-log-clustered'. 79 DMWARN("No memory left to attempt log module load for \"%s\"", in get_type() 84 while (request_module("dm-log-%s", type_name_dup) || in get_type() 153 struct dm_dirty_log *log; in dm_dirty_log_create() local 155 log = kmalloc(sizeof(*log), GFP_KERNEL); in dm_dirty_log_create() 156 if (!log) in dm_dirty_log_create() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/i915/gt/uc/ |
| H A D | intel_guc_log.c | 13 static void guc_log_capture_logs(struct intel_guc_log *log); 16 * DOC: GuC firmware log 18 * Firmware log is enabled by setting i915.guc_log_level to the positive level. 19 * Log data is printed out via reading debugfs i915_guc_log_dump. Reading from 58 static void guc_log_enable_flush_events(struct intel_guc_log *log) in guc_log_enable_flush_events() argument 60 intel_guc_enable_msg(log_to_guc(log), in guc_log_enable_flush_events() 65 static void guc_log_disable_flush_events(struct intel_guc_log *log) in guc_log_disable_flush_events() argument 67 intel_guc_disable_msg(log_to_guc(log), in guc_log_disable_flush_events() 143 static void guc_move_to_next_buf(struct intel_guc_log *log) in guc_move_to_next_buf() argument 152 relay_reserve(log->relay.channel, log->vma->obj->base.size); in guc_move_to_next_buf() [all …]
|
| H A D | intel_guc_log_debugfs.c | 32 struct intel_guc_log *log = data; in guc_log_level_get() local 34 if (!intel_guc_is_used(log_to_guc(log))) in guc_log_level_get() 37 *val = intel_guc_log_get_level(log); in guc_log_level_get() 44 struct intel_guc_log *log = data; in guc_log_level_set() local 46 if (!intel_guc_is_used(log_to_guc(log))) in guc_log_level_set() 49 return intel_guc_log_set_level(log, val); in guc_log_level_set() 58 struct intel_guc_log *log = inode->i_private; in guc_log_relay_open() local 60 if (!intel_guc_is_ready(log_to_guc(log))) in guc_log_relay_open() 63 file->private_data = log; in guc_log_relay_open() 65 return intel_guc_log_relay_open(log); in guc_log_relay_open() [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/filesystems/ |
| H A D | xfs-delayed-logging-design.rst | 14 logged. The reason for these differences is to reduce the amount of log space 21 modifications to a single object to be carried in the log at any given time. 22 This allows the log to avoid needing to flush each change to disk before 26 changes in the new transaction that is written to the log. 29 written to disk after change D, we would see in the log the following series 30 of transactions, their contents and the log sequence number (LSN) of the 43 the aggregation of all the previous changes currently held only in the log. 45 This relogging technique also allows objects to be moved forward in the log so 46 that an object being relogged does not prevent the tail of the log from ever 49 direct encoding of the location in the log of the transaction. [all …]
|
| /OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-support/syslog-ng/files/ |
| H A D | syslog-ng.conf.sysvinit | 24 source s_src { unix-dgram("/dev/log"); internal(); 38 destination d_auth { file("/var/log/auth.log"); }; 39 destination d_cron { file("/var/log/cron.log"); }; 40 destination d_daemon { file("/var/log/daemon.log"); }; 41 destination d_kern { file("/var/log/kern.log"); }; 42 destination d_lpr { file("/var/log/lpr.log"); }; 43 destination d_mail { file("/var/log/mail.log"); }; 44 destination d_syslog { file("/var/log/syslog"); }; 45 destination d_user { file("/var/log/user.log"); }; 46 destination d_uucp { file("/var/log/uucp.log"); }; [all …]
|
| H A D | syslog-ng.conf.systemd | 38 destination d_auth { file("/var/log/auth.log"); }; 39 destination d_cron { file("/var/log/cron.log"); }; 40 destination d_daemon { file("/var/log/daemon.log"); }; 41 destination d_kern { file("/var/log/kern.log"); }; 42 destination d_lpr { file("/var/log/lpr.log"); }; 43 destination d_mail { file("/var/log/mail.log"); }; 44 destination d_syslog { file("/var/log/syslog"); }; 45 destination d_user { file("/var/log/user.log"); }; 46 destination d_uucp { file("/var/log/uucp.log"); }; 48 # This files are the log come from the mail subsystem. [all …]
|
| /OK3568_Linux_fs/kernel/drivers/char/tpm/eventlog/ |
| H A D | efi.c | 15 /* read binary bios log from EFI configuration table */ 22 struct tpm_bios_log *log; in tpm_read_log_efi() local 34 log = &chip->log; in tpm_read_log_efi() 38 pr_err("Could not map UEFI TPM log table !\n"); in tpm_read_log_efi() 46 pr_warn("UEFI TPM log area empty\n"); in tpm_read_log_efi() 53 pr_err("Could not map UEFI TPM log table payload!\n"); in tpm_read_log_efi() 58 log->bios_event_log = kmemdup(log_tbl->log, log_size, GFP_KERNEL); in tpm_read_log_efi() 59 if (!log->bios_event_log) { in tpm_read_log_efi() 64 log->bios_event_log_end = log->bios_event_log + log_size; in tpm_read_log_efi() 78 pr_err("Could not map UEFI TPM final log\n"); in tpm_read_log_efi() [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/admin-guide/device-mapper/ |
| H A D | log-writes.rst | 2 dm-log-writes 5 This target takes 2 devices, one to pass all IO to normally, and one to log all 9 able to take arbitrary data from userspace to insert into the log. The data 10 that is in the WRITE requests is copied into the log to make the replay happen 13 Log Ordering 16 We log things in order of completion once we are sure the write is no longer in 19 the log in a way that correlates to what is on disk and not what is in cache, 24 the FLUSH request completes we log all of the WRITEs and then the FLUSH. Only 31 The log would show the following: 52 which isn't quite what happened and wouldn't be caught during the log replay. [all …]
|
| /OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-extended/rsyslog/rsyslog/ |
| H A D | rsyslog.logrotate | 3 /var/log/syslog 16 /var/log/mail.info 17 /var/log/mail.warn 18 /var/log/mail.err 19 /var/log/mail.log 20 /var/log/daemon.log 21 /var/log/kern.log 22 /var/log/auth.log 23 /var/log/user.log 24 /var/log/lpr.log [all …]
|
| H A D | rsyslog.conf | 23 auth,authpriv.* /var/log/auth.log 24 *.*;auth,authpriv.none -/var/log/syslog 25 cron.* /var/log/cron.log 26 daemon.* -/var/log/daemon.log 27 kern.* -/var/log/kern.log 28 lpr.* -/var/log/lpr.log 29 mail.* -/var/log/mail.log 30 user.* -/var/log/user.log 36 mail.info -/var/log/mail.info 37 mail.warn -/var/log/mail.warn [all …]
|
| /OK3568_Linux_fs/kernel/fs/xfs/libxfs/ |
| H A D | xfs_log_format.h | 13 * On-disk Log Format definitions. 15 * This file contains all the on-disk format definitions used within the log. It 16 * includes the physical log structure itself, as well as all the log item 17 * format structures that are written into the log and intepreted by log 18 * recovery. We start with the physical log format definitions, and then work 19 * through all the log items definitions and everything they encode into the 20 * log. 28 #define XLOG_VERSION_2 2 /* Large IClogs, Log sunit */ 37 #define XLOG_BTOLSUNIT(log, b) (((b)+(log)->l_mp->m_sb.sb_logsunit-1) / \ argument 38 (log)->l_mp->m_sb.sb_logsunit) [all …]
|
| /OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-support/ssiapi/ssiapi/ |
| H A D | 0001-log-Avoid-shadowing-functions-from-std-lib.patch | 4 Subject: [PATCH 1/4] log: Avoid shadowing functions from std lib 8 lib/log/log.c | 2 +- 9 lib/log/log.h | 8 ++++---- 12 diff --git a/lib/log/log.c b/lib/log/log.c 14 --- a/lib/log/log.c 15 +++ b/lib/log/log.c 25 diff --git a/lib/log/log.h b/lib/log/log.h 27 --- a/lib/log/log.h 28 +++ b/lib/log/log.h 33 -#define log(__level, __message) \ [all …]
|
| /OK3568_Linux_fs/u-boot/include/ |
| H A D | log.h | 16 /** Log levels supported, ranging from most to least important */ 35 * Log categories supported. Most of these correspond to uclasses (i.e. 54 /* Helper to cast a uclass ID to a log category */ 61 * _log() - Internal function to emit a new log record 63 * @cat: Category of log record (indicating which subsystem generated it) 64 * @level: Level of log record (indicating its severity) 65 * @file: File name of file where log record was generated 66 * @line: Line number in file where log record was generated 67 * @func: Function where log record was generated 68 * @fmt: printf() format string for log record [all …]
|
| /OK3568_Linux_fs/kernel/include/uapi/linux/ |
| H A D | dm-log-userspace.h | 15 * The device-mapper userspace log module consists of a kernel component and 17 * in dm-dirty-log.h. Its purpose is simply to pass the parameters and 22 * dirty log API. Each of these is described in more detail below. 50 * DM_ULOG_CTR corresponds to (found in dm-dirty-log.h): 51 * int (*ctr)(struct dm_dirty_log *log, struct dm_target *ti, 58 * as the backing store for the log data. 'dm_get_device' will be called 61 * for log data, 'data_size' in the dm_ulog_request struct should be 0. 64 * will be used by all request types to a specific log. The constructor must 69 * data field with the log device if necessary, and setting 'data_size' 75 * DM_ULOG_DTR corresponds to (found in dm-dirty-log.h): [all …]
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/linux/ |
| H A D | dm-log-userspace.h | 15 * The device-mapper userspace log module consists of a kernel component and 17 * in dm-dirty-log.h. Its purpose is simply to pass the parameters and 22 * dirty log API. Each of these is described in more detail below. 50 * DM_ULOG_CTR corresponds to (found in dm-dirty-log.h): 51 * int (*ctr)(struct dm_dirty_log *log, struct dm_target *ti, 58 * as the backing store for the log data. 'dm_get_device' will be called 61 * for log data, 'data_size' in the dm_ulog_request struct should be 0. 64 * will be used by all request types to a specific log. The constructor must 69 * data field with the log device if necessary, and setting 'data_size' 75 * DM_ULOG_DTR corresponds to (found in dm-dirty-log.h): [all …]
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/linux/ |
| H A D | dm-log-userspace.h | 15 * The device-mapper userspace log module consists of a kernel component and 17 * in dm-dirty-log.h. Its purpose is simply to pass the parameters and 22 * dirty log API. Each of these is described in more detail below. 50 * DM_ULOG_CTR corresponds to (found in dm-dirty-log.h): 51 * int (*ctr)(struct dm_dirty_log *log, struct dm_target *ti, 58 * as the backing store for the log data. 'dm_get_device' will be called 61 * for log data, 'data_size' in the dm_ulog_request struct should be 0. 64 * will be used by all request types to a specific log. The constructor must 69 * data field with the log device if necessary, and setting 'data_size' 75 * DM_ULOG_DTR corresponds to (found in dm-dirty-log.h): [all …]
|
| /OK3568_Linux_fs/kernel/include/linux/ |
| H A D | dm-dirty-log.h | 5 * Device-Mapper dirty region log. 35 int (*ctr)(struct dm_dirty_log *log, struct dm_target *ti, 37 void (*dtr)(struct dm_dirty_log *log); 40 * There are times when we don't want the log to touch 43 int (*presuspend)(struct dm_dirty_log *log); 44 int (*postsuspend)(struct dm_dirty_log *log); 45 int (*resume)(struct dm_dirty_log *log); 48 * Retrieves the smallest size of region that the log can 51 uint32_t (*get_region_size)(struct dm_dirty_log *log); 57 int (*is_clean)(struct dm_dirty_log *log, region_t region); [all …]
|
| /OK3568_Linux_fs/u-boot/test/py/ |
| H A D | multiplexed_log.py | 6 # Generate an HTML-formatted log file containing multiple streams of data, 19 a multiplexed log file. Objects of this type should be created by factory 26 logfile: The Logfile object to log to. 27 name: The name of this log stream. 52 """Write data to the log stream. 58 repeat a shell prompt at the start of each separate log 59 section, which makes the log sections more readable in 71 """Flush the log stream, to ensure correct log interleaving. 85 """A utility object used to execute sub-processes and log their output to 86 a multiplexed log file. Objects of this type should be created by factory [all …]
|