/linux-master/tools/testing/selftests/zram/ |
H A D | Makefile | 6 EXTRA_CLEAN := err.log
|
/linux-master/drivers/char/tpm/eventlog/ |
H A D | of.c | 10 * Read the event log created by the firmware on PPC64 40 chip->log.bios_event_log = devm_memremap(&chip->dev, res.start, resource_size(&res), 42 if (IS_ERR(chip->log.bios_event_log)) 45 chip->log.bios_event_log_end = chip->log.bios_event_log + resource_size(&res); 56 struct tpm_bios_log *log; local 60 log = &chip->log; 77 * For both vtpm/tpm, firmware has log addr and log siz [all...] |
H A D | tpm2.c | 8 * Access to TPM 2.0 event log as written by Firmware. 9 * It assumes that writer of event log has followed TCG Specification 27 * is an entry in the TPM 2.0 event log. The event is of type Crypto 32 * @event_header: the first event in the event log. 45 struct tpm_bios_log *log = &chip->log; local 46 void *addr = log->bios_event_log; 47 void *limit = log->bios_event_log_end; 91 struct tpm_bios_log *log = &chip->log; local 131 struct tpm_bios_log *log = &chip->log; local [all...] |
H A D | acpi.c | 14 * Access to the event log extended by the TCG BIOS of PC platform 45 /* Check that the given log is indeed a TPM2 log. */ 66 /* read binary bios log */ 73 struct tpm_bios_log *log; local 79 log = &chip->log; 81 /* Unfortuntely ACPI does not associate the event log with a specific 82 * TPM, like PPI. Thus all ACPI TPMs will read the same log. 134 dev_warn(&chip->dev, "%s: TCPA log are [all...] |
/linux-master/fs/xfs/libxfs/ |
H A D | xfs_log_recover.h | 10 * Each log item type (XFS_LI_*) gets its own xlog_recover_item_ops to 11 * define how recovery should work for that type of log item. 16 /* Sorting hat for log items as they're read in. */ 28 * Help sort recovered log items into the order required to replay them 37 void (*ra_pass2)(struct xlog *log, struct xlog_recover_item *item); 40 int (*commit_pass1)(struct xlog *log, struct xlog_recover_item *item); 43 * This function should do whatever work is needed for pass2 of log 47 * the recovered item to construct an in-core log intent item and 48 * insert it into the AIL. The in-core log intent item should have 1 50 * recovered log ite [all...] |
/linux-master/tools/testing/selftests/rcutorture/bin/ |
H A D | kcsan-collapse.sh | 4 # If this was a KCSAN run, collapse the reports in the various console.log 17 find $1 -name console.log -exec cat {} \; |
|
/linux-master/tools/testing/selftests/lkdtm/ |
H A D | stack-entropy.sh | 23 log=$(mktemp -t stack-entropy-XXXXXX) 24 dmesg --follow >"$log" & pid=$! 39 seen=$(tac "$log" | grep -m1 -B"$samples"0 'Starting stack offset' | \ 43 rm -f "$log"
|
/linux-master/tools/testing/selftests/arm64/fp/ |
H A D | za-stress | 43 log=`mktemp` 44 logs=$logs\ $log 45 ./za-test >$log &
|
H A D | ssve-stress | 43 log=`mktemp` 44 logs=$logs\ $log 45 ./ssve-test >$log &
|
/linux-master/fs/ntfs3/ |
H A D | fslog.c | 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. 193 __le32 undo_records; // 0x20: Number of undo log records pending abort 232 /* The following type defines the different log record types. */ 236 /* This is used to uniquely identify a client for a particular log file. */ 242 /* This is the header that begins every Log Record in the log file. */ 248 struct CLIENT_ID client; // 0x1C: Owner of this log recor 1060 lsn_to_vbo(struct ntfs_log *log, const u64 lsn) argument 1068 next_page_off(struct ntfs_log *log, u32 off) argument 1074 lsn_to_page_off(struct ntfs_log *log, u64 lsn) argument 1079 vbo_to_lsn(struct ntfs_log *log, u32 off, u64 Seq) argument 1084 is_lsn_in_file(struct ntfs_log *log, u64 lsn) argument 1090 hdr_file_off(struct ntfs_log *log, struct RECORD_PAGE_HDR *hdr) argument 1099 base_lsn(struct ntfs_log *log, const struct RECORD_PAGE_HDR *hdr, u64 lsn) argument 1116 verify_client_lsn(struct ntfs_log *log, const struct CLIENT_REC *client, u64 lsn) argument 1123 read_log_page(struct ntfs_log *log, u32 vbo, struct RECORD_PAGE_HDR **buffer, bool *usa_error) argument 1184 log_read_rst(struct ntfs_log *log, bool first, struct restart_info *info) argument 1293 log_init_pg_hdr(struct ntfs_log *log, u16 major_ver, u16 minor_ver) argument 1311 log_create(struct ntfs_log *log, const u64 last_lsn, u32 open_log_count, bool wrapped, bool use_multi_page) argument 1374 log_create_ra(struct ntfs_log *log) argument 1403 final_log_off(struct ntfs_log *log, u64 lsn, u32 data_len) argument 1444 next_log_lsn(struct ntfs_log *log, const struct LFS_RECORD_HDR *rh, u64 *lsn) argument 1500 current_log_avail(struct ntfs_log *log) argument 1544 check_subseq_log_page(struct ntfs_log *log, const struct RECORD_PAGE_HDR *rp, u32 vbo, u64 seq) argument 1576 last_log_lsn(struct ntfs_log *log) argument 2230 read_log_rec_buf(struct ntfs_log *log, const struct LFS_RECORD_HDR *rh, void *buffer) argument 2299 read_rst_area(struct ntfs_log *log, struct NTFS_RESTART **rst_, u64 *lsn) argument 2365 find_log_rec(struct ntfs_log *log, u64 lsn, struct lcb *lcb) argument 2432 read_log_rec_lcb(struct ntfs_log *log, u64 lsn, u32 ctx_mode, struct lcb **lcb_) argument 2479 find_client_next_lsn(struct ntfs_log *log, struct lcb *lcb, u64 *lsn) argument 2556 read_next_log_rec(struct ntfs_log *log, struct lcb *lcb, u64 *lsn) argument 2948 find_loaded_attr(struct ntfs_log *log, const struct ATTRIB *attr, CLST rno) argument 3015 do_action(struct ntfs_log *log, struct OPEN_ATTR_ENRTY *oe, const struct LOG_REC_HDR *lrh, u32 op, void *data, u32 dlen, u32 rec_len, const u64 *rlsn) argument 3720 struct ntfs_log *log; local [all...] |
/linux-master/drivers/md/ |
H A D | raid5-ppl.c | 15 #include "raid5-log.h" 76 * data+parity is written). The log->io_list tracks all io_units of a log 97 atomic64_t seq; /* current log write sequence number */ 116 struct ppl_conf *ppl_conf; /* shared between all log instances */ 119 * this log instance */ 124 struct list_head io_list; /* all io_units of this log */ 136 struct ppl_log *log; member in struct:ppl_io_unit 143 u64 seq; /* sequence number of this log write */ 144 struct list_head log_sibling; /* log 232 ppl_new_iounit(struct ppl_log *log, struct stripe_head *sh) argument 267 ppl_log_stripe(struct ppl_log *log, struct stripe_head *sh) argument 365 struct ppl_log *log; local 401 struct ppl_log *log = io->log; local 430 struct ppl_log *log = io->log; local 509 ppl_submit_current_io(struct ppl_log *log) argument 535 struct ppl_log *log; local 549 struct ppl_log *log = io->log; local 584 struct ppl_log *log = io->log; local 610 struct ppl_log *log = io->log; local 651 ppl_no_io_unit_submitted(struct r5conf *conf, struct ppl_log *log) argument 669 struct ppl_log *log = &ppl_conf->child_logs[i]; local 784 ppl_recover_entry(struct ppl_log *log, struct ppl_header_entry *e, sector_t ppl_sector) argument 959 ppl_recover(struct ppl_log *log, struct ppl_header *pplhdr, sector_t offset) argument 1035 ppl_write_empty_header(struct ppl_log *log) argument 1068 ppl_load_distributed(struct ppl_log *log) argument 1190 struct ppl_log *log = &ppl_conf->child_logs[i]; local 1296 ppl_init_child_log(struct ppl_log *log, struct md_rdev *rdev) argument 1401 struct ppl_log *log = &ppl_conf->child_logs[i]; local 1452 struct ppl_log *log; local [all...] |
/linux-master/drivers/staging/greybus/ |
H A D | log.c | 3 * Greybus driver for the log protocol 32 dev_err(dev, "log request too small (%zu < %zu)\n", 39 dev_err(dev, "log request wrong size %d vs %zu\n", len, 44 dev_err(dev, "log request of 0 bytes?\n"); 49 dev_err(dev, "log request too big: %d\n", len); 70 struct gb_log *log; local 80 log = kzalloc(sizeof(*log), GFP_KERNEL); 81 if (!log) 91 log 109 struct gb_log *log = greybus_get_drvdata(bundle); local [all...] |
/linux-master/fs/ |
H A D | fs_parser.c | 87 * @log: The filesystem context to log errors through. 103 int __fs_parse(struct p_log *log, argument 117 warn_plog(log, "Deprecated parameter '%s'", param->key); 124 return inval_plog(log, "Unexpected value for '%s'", 128 int ret = p->type(log, p, param, result); 138 * @fc: The filesystem context to log errors through. 192 static int fs_param_bad_value(struct p_log *log, struct fs_parameter *param) argument 194 return inval_plog(log, "Bad value for '%s'", param->key); 197 int fs_param_is_bool(struct p_log *log, cons argument 213 fs_param_is_u32(struct p_log *log, const struct fs_parameter_spec *p, struct fs_parameter *param, struct fs_parse_result *result) argument 227 fs_param_is_s32(struct p_log *log, const struct fs_parameter_spec *p, struct fs_parameter *param, struct fs_parse_result *result) argument 240 fs_param_is_u64(struct p_log *log, const struct fs_parameter_spec *p, struct fs_parameter *param, struct fs_parse_result *result) argument 253 fs_param_is_enum(struct p_log *log, const struct fs_parameter_spec *p, struct fs_parameter *param, struct fs_parse_result *result) argument 269 fs_param_is_string(struct p_log *log, const struct fs_parameter_spec *p, struct fs_parameter *param, struct fs_parse_result *result) argument 279 fs_param_is_blob(struct p_log *log, const struct fs_parameter_spec *p, struct fs_parameter *param, struct fs_parse_result *result) argument 288 fs_param_is_fd(struct p_log *log, const struct fs_parameter_spec *p, struct fs_parameter *param, struct fs_parse_result *result) argument 311 fs_param_is_blockdev(struct p_log *log, const struct fs_parameter_spec *p, struct fs_parameter *param, struct fs_parse_result *result) argument 318 fs_param_is_path(struct p_log *log, const struct fs_parameter_spec *p, struct fs_parameter *param, struct fs_parse_result *result) argument [all...] |
/linux-master/fs/xfs/ |
H A D | xfs_log_cil.c | 35 struct xlog *log) 39 tic = xlog_ticket_alloc(log, 0, 1, 0); 53 struct xlog *log = cil->xc_log; local 56 (XLOG_CIL_BLOCKING_SPACE_LIMIT(log) / 57 (log->l_iclog_size - log->l_iclog_hsize))); 61 * Check if the current log item was first committed in this sequence. 62 * We can't rely on just the log item being in the CIL, we have to check 78 * li_seq is written on the first commit of a log item to record the 200 * After the first stage of log recover 34 xlog_cil_ticket_alloc( struct xlog *log) argument 210 xlog_cil_init_post_recovery( struct xlog *log) argument 274 xlog_cil_alloc_shadow_bufs( struct xlog *log, struct xfs_trans *tp) argument 379 xfs_cil_prepare_item( struct xlog *log, struct xfs_log_vec *lv, struct xfs_log_vec *old_lv, int *diff_len) argument 449 xlog_cil_insert_format_items( struct xlog *log, struct xfs_trans *tp, int *diff_len) argument 531 xlog_cil_over_hard_limit( struct xlog *log, int32_t space_used) argument 550 xlog_cil_insert_items( struct xlog *log, struct xfs_trans *tp, uint32_t released_space) argument 912 struct xlog *log = ctx->cil->xc_log; local 931 struct xlog *log = ctx->cil->xc_log; local 1134 struct xlog *log = cil->xc_log; local 1463 xlog_cil_push_now( struct xlog *log, xfs_lsn_t push_seq, bool async) argument 1506 xlog_cil_empty( struct xlog *log) argument 1570 xlog_cil_commit( struct xlog *log, struct xfs_trans *tp, xfs_csn_t *commit_seq, bool regrant) argument 1632 xlog_cil_flush( struct xlog *log) argument 1659 xlog_cil_force_seq( struct xlog *log, xfs_csn_t sequence) argument 1753 xlog_cil_init( struct xlog *log) argument 1805 xlog_cil_destroy( struct xlog *log) argument [all...] |
H A D | xfs_dquot_item_recover.c | 26 struct xlog *log, 29 struct xfs_mount *mp = log->l_mp; 45 if (log->l_quotaoffs_flag & type) 52 xlog_buf_readahead(log, dq_f->qlf_blkno, 62 struct xlog *log, 67 struct xfs_mount *mp = log->l_mp; 84 xfs_alert(log->l_mp, "NULL dquot in %s.", __func__); 88 xfs_alert(log->l_mp, "dquot too small (%d) in %s.", 98 if (log->l_quotaoffs_flag & type) 115 xfs_alert(mp, "corrupt dquot ID 0x%x in log a 25 xlog_recover_dquot_ra_pass2( struct xlog *log, struct xlog_recover_item *item) argument 61 xlog_recover_dquot_commit_pass2( struct xlog *log, struct list_head *buffer_list, struct xlog_recover_item *item, xfs_lsn_t current_lsn) argument 191 xlog_recover_quotaoff_commit_pass1( struct xlog *log, struct xlog_recover_item *item) argument [all...] |
H A D | xfs_buf_item_recover.c | 32 #define XLOG_BUF_CANCEL_BUCKET(log, blkno) \ 33 ((log)->l_buf_cancel_table + ((uint64_t)blkno % XLOG_BC_TABLE_SIZE)) 36 * This structure is used during recovery to record the buf log items which 48 struct xlog *log, 55 if (!log->l_buf_cancel_table) 58 bucket = XLOG_BUF_CANCEL_BUCKET(log, blkno); 69 struct xlog *log, 79 * log, a reference count is kept to tell how many times we expect to 82 bcp = xlog_find_buffer_cancelled(log, blkno, len); 92 list_add_tail(&bcp->bc_list, XLOG_BUF_CANCEL_BUCKET(log, blkn 47 xlog_find_buffer_cancelled( struct xlog *log, xfs_daddr_t blkno, uint len) argument 68 xlog_add_buffer_cancelled( struct xlog *log, xfs_daddr_t blkno, uint len) argument 100 xlog_is_buffer_cancelled( struct xlog *log, xfs_daddr_t blkno, uint len) argument 117 xlog_put_buffer_cancelled( struct xlog *log, xfs_daddr_t blkno, uint len) argument 167 xlog_recover_buf_ra_pass2( struct xlog *log, struct xlog_recover_item *item) argument 181 xlog_recover_buf_commit_pass1( struct xlog *log, struct xlog_recover_item *item) argument 539 xlog_recover_do_dquot_buffer( struct xfs_mount *mp, struct xlog *log, struct xlog_recover_item *item, struct xfs_buf *bp, struct xfs_buf_log_format *buf_f) argument 884 xlog_recover_buf_commit_pass2( struct xlog *log, struct list_head *buffer_list, struct xlog_recover_item *item, xfs_lsn_t current_lsn) argument 1018 xlog_check_buf_cancel_table( struct xlog *log) argument 1029 xlog_alloc_buf_cancel_table( struct xlog *log) argument 1050 xlog_free_buf_cancel_table( struct xlog *log) argument [all...] |
/linux-master/lib/kunit/ |
H A D | debugfs.c | 44 static void debugfs_print_result(struct seq_file *seq, struct string_stream *log) argument 48 if (!log) 55 spin_lock(&log->lock); 56 list_for_each_entry(frag_container, &log->fragments, node) 58 spin_unlock(&log->lock); 75 /* Print KTAP header so the debugfs log can be parsed as valid KTAP. */ 85 debugfs_print_result(seq, test_case->log); 87 debugfs_print_result(seq, suite->log); 173 /* If suite log already allocated, do not create new debugfs files. */ 174 if (suite->log) [all...] |
/linux-master/net/openvswitch/ |
H A D | flow_netlink.h | 36 u64 *attrsp, bool log); 39 u64 attrs, struct sw_flow_key *key, bool log); 47 bool log); 52 bool ovs_nla_get_ufid(struct sw_flow_id *, const struct nlattr *, bool log); 54 const struct sw_flow_key *key, bool log); 59 struct sw_flow_actions **sfa, bool log); 61 void *data, int len, bool log);
|
/linux-master/tools/testing/selftests/ |
H A D | run_kselftest.sh | 23 -s | --summary Print summary with detailed log in output.log (conflict with -p) 24 -p | --per_test_log Print test log in /tmp with each test name (conflict with -s) 43 logfile="$BASE_DIR"/output.log 46 -p | --per-test-log)
|
/linux-master/tools/testing/selftests/livepatch/ |
H A D | functions.sh | 14 # log(msg) - write message to kernel log 16 function log() { function 23 log "SKIP: $1" 52 log "ERROR: $1" 149 log "${msg%% }" 210 log "${msg%% }" 215 log "$ret" 227 log "% rmmod $mod" 249 log " [all...] |
/linux-master/tools/testing/selftests/bpf/ |
H A D | test_xdp_redirect_multi.sh | 109 ip netns exec ${NS[2]} tcpdump -e -i veth0 -nn -l -e &> ${LOG_DIR}/mac_ns1-2_${mode}.log & 110 ip netns exec ${NS[3]} tcpdump -e -i veth0 -nn -l -e &> ${LOG_DIR}/mac_ns1-3_${mode}.log & 117 grep -q "${veth_mac[2]} > ff:ff:ff:ff:ff:ff" ${LOG_DIR}/mac_ns1-2_${mode}.log && \ 119 grep -q "${veth_mac[3]} > ff:ff:ff:ff:ff:ff" ${LOG_DIR}/mac_ns1-3_${mode}.log && \ 130 ip netns exec ${NS[1]} tcpdump -i veth0 -nn -l -e &> ${LOG_DIR}/ns1-1_${mode}.log & 131 ip netns exec ${NS[2]} tcpdump -i veth0 -nn -l -e &> ${LOG_DIR}/ns1-2_${mode}.log & 132 ip netns exec ${NS[3]} tcpdump -i veth0 -nn -l -e &> ${LOG_DIR}/ns1-3_${mode}.log & 144 [ $(grep -cF "who-has 192.0.2.254" ${LOG_DIR}/ns1-1_${mode}.log) -eq 4 ] && \ 147 [ $(grep -cF "who-has 192.0.2.254" ${LOG_DIR}/ns1-2_${mode}.log) -eq 2 ] && \ 150 [ $(grep -cF "who-has 192.0.2.254" ${LOG_DIR}/ns1-3_${mode}.log) [all...] |
/linux-master/tools/perf/tests/ |
H A D | attr.py | 98 log.debug(" %s = %s" % (key, val)) 102 log.debug(" Event %s" % name); 110 log.debug(" [%s] %s %s" % (t, self[t], other[t])); 127 log.warning("expected %s=%s, got %s" % (t, self[t], other[t])) 158 log.warning("running '%s'" % path) 175 log.warning("test limitation '%s'" % self.arch) 184 log.debug(" loading expected events"); 227 # log.warning("test for arch %s is ok" % myarch) 236 log.warning("excluded architecture list %s" % arch_list) 238 # log [all...] |
/linux-master/tools/testing/selftests/amd-pstate/ |
H A D | gitsource.sh | 63 rm -rf $OUTFILE_GIT*.log 91 $PERF stat -a --per-socket -I 1000 -e power/energy-pkg/ /usr/bin/time -o $BACKUP_DIR/$OUTFILE_GIT.time-gitsource-$1-$2.log make test -j$MAKE_CPUS > $BACKUP_DIR/$OUTFILE_GIT-perf-$1-$2.log 2>&1 104 awk '{print $5}' results/tracer-gitsource-$1-$2/cpu.csv | sed -e '1d' | sed s/,// > $OUTFILE_GIT-des-perf-$1-$2.log 105 avg_des_perf=$(awk 'BEGIN {i=0; sum=0};{i++; sum += $1};END {print sum/i}' $OUTFILE_GIT-des-perf-$1-$2.log) 108 awk '{print $7}' results/tracer-gitsource-$1-$2/cpu.csv | sed -e '1d' | sed s/,// > $OUTFILE_GIT-freq-$1-$2.log 109 avg_freq=$(awk 'BEGIN {i=0; sum=0};{i++; sum += $1};END {print sum/i}' $OUTFILE_GIT-freq-$1-$2.log) 112 awk '{print $11}' results/tracer-gitsource-$1-$2/cpu.csv | sed -e '1d' | sed s/,// > $OUTFILE_GIT-load-$1-$2.log 113 avg_load=$(awk 'BEGIN {i=0; sum=0};{i++; sum += $1};END {print sum/i}' $OUTFILE_GIT-load-$1-$2.log) 116 grep user $OUTFILE_GIT.time-gitsource-$1-$2.log | aw [all...] |
/linux-master/drivers/nvme/host/ |
H A D | hwmon.c | 15 struct nvme_smart_log *log; member in struct:nvme_hwmon_data 63 NVME_CSI_NVM, data->log, sizeof(*data->log), 0); 70 struct nvme_smart_log *log = data->log; local 76 * the smart log. 98 temp = get_unaligned_le16(log->temperature); 100 temp = le16_to_cpu(log->temp_sensor[channel - 1]); 104 *val = !!(log->critical_warning & NVME_SMART_CRIT_TEMPERATURE); 166 (channel && data->log [all...] |
/linux-master/fs/jfs/ |
H A D | jfs_logmgr.h | 15 * log manager configuration parameters 18 /* log page size */ 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. 36 * blocks 2 - (N-1) are used to contain log record 336 } log; member in struct:lrd [all...] |