Home
last modified time | relevance | path

Searched full:log (Results 1 – 25 of 4340) sorted by relevance

12345678910>>...174

/openbmc/linux/kernel/bpf/
H A Dlog.c13 static bool bpf_verifier_log_attr_valid(const struct bpf_verifier_log *log) in bpf_verifier_log_attr_valid() argument
16 if (!!log->ubuf != !!log->len_total) in bpf_verifier_log_attr_valid()
18 /* log buf without log_level is meaningless */ in bpf_verifier_log_attr_valid()
19 if (log->ubuf && log->level == 0) in bpf_verifier_log_attr_valid()
21 if (log->level & ~BPF_LOG_MASK) in bpf_verifier_log_attr_valid()
23 if (log->len_total > UINT_MAX >> 2) in bpf_verifier_log_attr_valid()
28 int bpf_vlog_init(struct bpf_verifier_log *log, u32 log_level, in bpf_vlog_init() argument
31 log->level = log_level; in bpf_vlog_init()
32 log->ubuf = log_buf; in bpf_vlog_init()
33 log->len_total = log_size; in bpf_vlog_init()
[all …]
/openbmc/linux/fs/jfs/
H A Djfs_logmgr.c8 * 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 Djfs_logmgr.h15 * 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 …]
/openbmc/linux/drivers/gpu/drm/i915/gt/uc/
H A Dintel_guc_log.c31 static void guc_log_copy_debuglogs_for_relay(struct intel_guc_log *log);
40 static void _guc_log_init_sizes(struct intel_guc_log *log) in _guc_log_init_sizes() argument
42 struct intel_guc *guc = log_to_guc(log); in _guc_log_init_sizes()
66 log->sizes[i].bytes = sections[i].default_val; in _guc_log_init_sizes()
69 if (log->sizes[GUC_LOG_SECTIONS_DEBUG].bytes >= SZ_1M && in _guc_log_init_sizes()
71 log->sizes[GUC_LOG_SECTIONS_CRASH].bytes = SZ_1M; in _guc_log_init_sizes()
76 if ((log->sizes[i].bytes % SZ_1M) == 0) { in _guc_log_init_sizes()
77 log->sizes[i].units = SZ_1M; in _guc_log_init_sizes()
78 log->sizes[i].flag = sections[i].flag; in _guc_log_init_sizes()
80 log->sizes[i].units = SZ_4K; in _guc_log_init_sizes()
[all …]
/openbmc/linux/fs/xfs/
H A Dxfs_log.c35 struct xlog *log,
39 struct xlog *log);
45 struct xlog *log);
48 struct xlog *log,
55 struct xlog *log,
59 struct xlog *log,
65 struct xlog *log);
68 struct xlog *log,
73 struct xlog *log,
83 struct xlog *log);
[all …]
H A Dxfs_log_recover.c51 * Verify the log-relative block number and length in basic blocks are valid for
52 * an operation involving the given XFS log buffer. Returns true if the fields
57 struct xlog *log, in xlog_verify_bno() argument
61 if (blk_no < 0 || blk_no >= log->l_logBBsize) in xlog_verify_bno()
63 if (bbcount <= 0 || (blk_no + bbcount) > log->l_logBBsize) in xlog_verify_bno()
69 * Allocate a buffer to hold log data. The buffer needs to be able to map to
70 * a range of nbblks basic blocks at any valid offset within the log.
74 struct xlog *log, in xlog_alloc_buffer() argument
78 * Pass log block 0 since we don't have an addr yet, buffer will be in xlog_alloc_buffer()
81 if (XFS_IS_CORRUPT(log->l_mp, !xlog_verify_bno(log, 0, nbblks))) { in xlog_alloc_buffer()
[all …]
/openbmc/linux/drivers/md/
H A Draid5-cache.c18 #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 …]
/openbmc/qemu/hw/cxl/
H A Dcxl-events.c19 /* Artificial limit on the number of events a log can hold */
22 static void reset_overflow(CXLEventLog *log) in reset_overflow() argument
24 log->overflow_err_count = 0; in reset_overflow()
25 log->first_overflow_timestamp = 0; in reset_overflow()
26 log->last_overflow_timestamp = 0; in reset_overflow()
31 CXLEventLog *log; in cxl_event_init() local
35 log = &cxlds->event_logs[i]; in cxl_event_init()
36 log->next_handle = 1; in cxl_event_init()
37 log->overflow_err_count = 0; in cxl_event_init()
38 log->first_overflow_timestamp = 0; in cxl_event_init()
[all …]
/openbmc/openbmc/meta-facebook/meta-catalina/recipes-phosphor/gpio/phosphor-gpio-monitor/
H A Dphosphor-multi-gpio-monitor.json47 "RISING": ["deassert-gpio-log@wSequence_Latch_State_N.service"],
48 "FALLING": ["assert-gpio-log@wSequence_Latch_State_N.service"]
57 "RISING": ["deassert-gpio-log@wP12V_N1N2_RUNTIME_FLT_N.service"],
58 "FALLING": ["assert-gpio-log@wP12V_N1N2_RUNTIME_FLT_N.service"]
67 "RISING": ["deassert-gpio-log@wP12V_FAN_RUNTIME_FLT_N.service"],
68 "FALLING": ["assert-gpio-log@wP12V_FAN_RUNTIME_FLT_N.service"]
77 "RISING": ["deassert-gpio-log@wHost_PERST_SEQPWR_FLT_N.service"],
78 "FALLING": ["assert-gpio-log@wHost_PERST_SEQPWR_FLT_N.service"]
87 "RISING": ["deassert-gpio-log@wP12V_AUX_RUNTIME_FLT_N.service"],
88 "FALLING": ["assert-gpio-log@wP12V_AUX_RUNTIME_FLT_N.service"]
[all …]
/openbmc/linux/Documentation/filesystems/
H A Dxfs-delayed-logging-design.rst40 The reason for these differences is to keep the amount of log space and CPU time
46 The method used to log an item or chain modifications together isn't
57 XFS has two types of high level transactions, defined by the type of log space
141 a "log force" to flush the outstanding committed transactions to stable storage
146 tend to use log forces to ensure modifications are on stable storage only when
160 A transaction reservation provides a guarantee that there is physical log space
164 log in the worst case. This means that if we are modifying a btree in the
179 log has this much space available before the transaction is allowed to proceed
180 so that when we come to write the dirty metadata into the log we don't run out
181 of log space half way through the write.
[all …]
/openbmc/openbmc/meta-facebook/meta-minerva/recipes-phosphor/console/obmc-console/
H A Dserver.ttyS5.conf7 logfile = /var/log/obmc-console-compute_blade_1.log
11 logfile = /var/log/obmc-console-compute_blade_2.log
15 logfile = /var/log/obmc-console-compute_blade_3.log
19 logfile = /var/log/obmc-console-compute_blade_4.log
23 logfile = /var/log/obmc-console-compute_blade_5.log
27 logfile = /var/log/obmc-console-compute_blade_6.log
31 logfile = /var/log/obmc-console-compute_blade_7.log
35 logfile = /var/log/obmc-console-compute_blade_8.log
39 logfile = /var/log/obmc-console-compute_blade_9.log
43 logfile = /var/log/obmc-console-compute_blade_10.log
[all …]
/openbmc/openbmc-test-automation/redfish/systems/eventlog/
H A Dtest_event_logging.robot24 Event Log Check After BMC Reboot
25 [Documentation] Check event log after BMC rebooted.
28 Redfish Purge Event Log
29 Event Log Should Not Exist
36 Event Log Should Not Exist
39 Event Log Check After Host Poweron
40 [Documentation] Check event log after host has booted.
43 Redfish Purge Event Log
44 Event Log Should Not Exist
49 Event Log Shoul
[all...]
/openbmc/qemu/tests/qemu-iotests/tests/
H A Dimage-fleecing28 from iotests import log, qemu_img, qemu_io
64 log('--- Setting up images ---')
65 log('')
84 log('Done')
86 log('')
87 log('--- Launching VM ---')
88 log('')
98 log('Done')
100 log('')
101 log('--- Setting up Fleecing Graph ---')
[all …]
/openbmc/linux/drivers/accel/ivpu/
H A Divpu_fw_log.c32 struct vpu_tracing_buffer_header *log; in fw_log_ptr() local
34 if ((*offset + sizeof(*log)) > bo->base.size) in fw_log_ptr()
37 log = bo->kvaddr + *offset; in fw_log_ptr()
39 if (log->vpu_canary_start != VPU_TRACING_BUFFER_CANARY) in fw_log_ptr()
42 if (log->header_size < sizeof(*log) || log->header_size > 1024) { in fw_log_ptr()
43 ivpu_dbg(vdev, FW_BOOT, "Invalid header size 0x%x\n", log->header_size); in fw_log_ptr()
46 if ((char *)log + log->size > (char *)bo->kvaddr + bo->base.size) { in fw_log_ptr()
47 ivpu_dbg(vdev, FW_BOOT, "Invalid log size 0x%x\n", log->size); in fw_log_ptr()
51 *log_header = log; in fw_log_ptr()
52 *offset += log->size; in fw_log_ptr()
[all …]
/openbmc/qemu/tests/qemu-iotests/
H A D21943 iotests.log('=== Testing %s/%s ===' % (pause_cmd, resume_cmd))
45 iotests.log(vm.qmp(pause_cmd, **{pause_arg: 'job0'}))
47 iotests.log(iotests.filter_qmp_event(vm.event_wait('JOB_STATUS_CHANGE')))
49 iotests.log(result)
54 iotests.log(vm.qmp(resume_cmd, **{resume_arg: 'job0'}))
55 iotests.log(iotests.filter_qmp_event(vm.event_wait('JOB_STATUS_CHANGE')))
60 iotests.log(result)
65 iotests.log(vm.qmp('query-jobs'))
70 iotests.log('')
71 iotests.log('')
[all …]
H A D21831 from iotests import log, qemu_img, qemu_io
70 log('')
71 log('=== Cancel mirror job before convergence ===')
72 log('')
74 log('--- force=false ---')
75 log('')
81 log('Cancelling job')
82 log(vm.qmp('block-job-cancel', device='mirror', force=False))
84 log(vm.event_wait('BLOCK_JOB_CANCELLED'),
87 log('')
[all …]
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/syslog-ng/files/
H A Dsyslog-ng.conf.sysvinit24 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 Dsyslog-ng.conf.systemd38 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 …]
/openbmc/qemu/block/
H A Dvhdx-log.c13 * This file covers the functionality of the metadata log writing, parsing, and
34 VHDXLogEntries log; member
45 /* The log located on the disk is circular buffer containing
59 vhdx_log_peek_hdr(BlockDriverState *bs, VHDXLogEntries *log, in vhdx_log_peek_hdr() argument
69 if (log->read % VHDX_LOG_SECTOR_SIZE) { in vhdx_log_peek_hdr()
74 read = log->read; in vhdx_log_peek_hdr()
75 /* we are guaranteed that a) log sectors are 4096 bytes, in vhdx_log_peek_hdr()
76 * and b) the log length is a multiple of 1MB. So, there in vhdx_log_peek_hdr()
78 if ((read + sizeof(VHDXLogEntryHeader)) > log->length) { in vhdx_log_peek_hdr()
82 if (read == log->write) { in vhdx_log_peek_hdr()
[all …]
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-extended/rsyslog/rsyslog/
H A Drsyslog.logrotate3 /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 …]
/openbmc/linux/drivers/char/tpm/eventlog/
H A Defi.c16 /* read binary bios log from EFI configuration table */
23 struct tpm_bios_log *log; in tpm_read_log_efi() local
35 log = &chip->log; in tpm_read_log_efi()
39 pr_err("Could not map UEFI TPM log table !\n"); in tpm_read_log_efi()
47 pr_warn("UEFI TPM log area empty\n"); in tpm_read_log_efi()
54 pr_err("Could not map UEFI TPM log table payload!\n"); in tpm_read_log_efi()
59 log->bios_event_log = devm_kmemdup(&chip->dev, log_tbl->log, log_size, GFP_KERNEL); in tpm_read_log_efi()
60 if (!log->bios_event_log) { in tpm_read_log_efi()
65 log->bios_event_log_end = log->bios_event_log + log_size; in tpm_read_log_efi()
79 pr_err("Could not map UEFI TPM final log\n"); in tpm_read_log_efi()
[all …]
/openbmc/linux/tools/testing/selftests/tc-testing/tc-tests/actions/
H A Dxt.json4 "name": "Add xt action with log-prefix",
17 "cmdUnderTest": "$TC action add action xt -j LOG --log-prefix PONG index 100",
20 … "matchPattern": "action order [0-9]*:.*target LOG level warning prefix \"PONG\".*index 100 ref",
28 "name": "Replace xt action log-prefix",
41 "$TC action add action xt -j LOG --log-prefix PONG index 1",
47 "cmdUnderTest": "$TC action replace action xt -j LOG --log-prefix WIN index 1",
50 … "matchPattern": "action order [0-9]*:.*target LOG level warning prefix \"WIN\".*index 1 ref",
71 "$TC action add action xt -j LOG --log-prefix PONG index 1000",
80 … "matchPattern": "action order [0-9]*:.*target LOG level warning prefix \"PONG\".*index 1000 ref",
101 "$TC action add action xt -j LOG --log-prefix PONG index 1000",
[all …]
/openbmc/linux/fs/ntfs3/
H A Dfslog.c18 * LOG FILE structs
29 __le32 sys_page_size; // 0x10: Page size of the system which initialized the log.
30 __le32 page_size; // 0x14: Log page size used for this log file.
53 /* Two copies of these will exist at the beginning of the log file */
55 __le64 current_lsn; // 0x00: Current logical end of log file.
62 __le64 l_size; // 0x18: Usable log file size.
64 __le16 rec_hdr_len; // 0x24: Log page data offset.
65 __le16 data_off; // 0x26: Log page data length.
193 __le32 undo_records; // 0x20: Number of undo log records pending abort
232 /* The following type defines the different log record types. */
[all …]
/openbmc/linux/Documentation/admin-guide/device-mapper/
H A Dlog-writes.rst2 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 …]
/openbmc/openbmc-test-automation/openpower/pel/
H A Dtest_bmc_pel.robot2 Documentation This suite tests Platform Event Log (PEL) functionality of OpenBMC.
27 Create Test PEL Log And Verify
28 [Documentation] Create PEL log using busctl command and verify via peltool.
31 Redfish Purge Event Log
32 Create Test PEL Log
33 ${pel_id}= Get PEL Log Via BMC CLI
34 Should Not Be Empty ${pel_id} msg=System PEL log entry is empty.
37 Verify PEL Log Details
38 [Documentation] Verify PEL log details via peltool.
41 Redfish Purge Event Log
[all …]

12345678910>>...174