| /linux/fs/xfs/ |
| H A D | xfs_log.c | 45 struct xlog *log); 51 struct xlog *log); 54 struct xlog *log, 58 struct xlog *log, 64 struct xlog *log, 69 struct xlog *log, 78 struct xlog *log); 110 struct xlog *log, in xlog_grant_return_space() argument 114 int64_t diff = xlog_lsn_sub(log, new_head, old_head); in xlog_grant_return_space() 116 xlog_grant_sub_space(&log in xlog_grant_return_space() 130 xlog_grant_space_left(struct xlog * log,struct xlog_grant_head * head) xlog_grant_space_left() argument 157 xlog_ticket_reservation(struct xlog * log,struct xlog_grant_head * head,struct xlog_ticket * tic) xlog_ticket_reservation() argument 174 xlog_grant_head_wake(struct xlog * log,struct xlog_grant_head * head,int * free_bytes) xlog_grant_head_wake() argument 196 xlog_grant_head_wait(struct xlog * log,struct xlog_grant_head * head,struct xlog_ticket * tic,int need_bytes) xlog_grant_head_wait() argument 251 xlog_grant_head_check(struct xlog * log,struct xlog_grant_head * head,struct xlog_ticket * tic,int * need_bytes) xlog_grant_head_check() argument 315 struct xlog *log = mp->m_log; xfs_log_regrant() local 373 struct xlog *log = mp->m_log; xfs_log_reserve() local 424 xlog_state_shutdown_callbacks(struct xlog * log) xlog_state_shutdown_callbacks() argument 472 xlog_state_release_iclog(struct xlog * log,struct xlog_in_core * iclog,struct xlog_ticket * ticket) xlog_state_release_iclog() argument 544 struct xlog *log; xfs_log_mount() local 669 struct xlog *log = mp->m_log; xfs_log_mount_finish() local 751 xlog_force_iclog(struct xlog * log,struct xlog_in_core * iclog) xlog_force_iclog() argument 768 xlog_wait_iclog_completion(struct xlog * log) xlog_wait_iclog_completion() argument 788 xlog_wait_on_iclog(struct xlog * log,struct xlog_in_core * iclog) xlog_wait_on_iclog() argument 809 xlog_write_one_vec(struct xlog * log,struct xfs_cil_ctx * ctx,struct xfs_log_iovec * reg,struct xlog_ticket * ticket) xlog_write_one_vec() argument 835 xlog_write_unmount_record(struct xlog * log,struct xlog_ticket * ticket) xlog_write_unmount_record() argument 866 xlog_unmount_write(struct xlog * log) xlog_unmount_write() argument 899 xfs_log_unmount_verify_iclog(struct xlog * log) xfs_log_unmount_verify_iclog() argument 920 struct xlog *log = mp->m_log; xfs_log_unmount_write() local 1055 struct xlog *log = mp->m_log; xfs_log_space_wake() local 1101 struct xlog *log = mp->m_log; xfs_log_need_covered() local 1196 struct xlog *log = iclog->ic_log; xlog_ioend_work() local 1237 xlog_get_iclog_buffer_size(struct xfs_mount * mp,struct xlog * log) xlog_get_iclog_buffer_size() argument 1272 xlog_clear_incompat(struct xlog * log) xlog_clear_incompat() argument 1295 struct xlog *log = container_of(to_delayed_work(work), xfs_log_worker() local 1336 struct xlog *log; xlog_alloc_log() local 1483 xlog_pack_data(struct xlog * log,struct xlog_in_core * iclog,int roundoff) xlog_pack_data() argument 1510 xlog_cksum(struct xlog * log,struct xlog_rec_header * rhead,char * dp,unsigned int hdrsize,unsigned int size) xlog_cksum() argument 1560 xlog_flush_data_caches(struct xlog * log) xlog_flush_data_caches() argument 1578 xlog_write_iclog(struct xlog * log,struct xlog_in_core * iclog,uint64_t bno,unsigned int count) xlog_write_iclog() argument 1668 xlog_split_iclog(struct xlog * log,void * data,uint64_t bno,unsigned int count) xlog_split_iclog() argument 1687 xlog_calc_iclog_size(struct xlog * log,struct xlog_in_core * iclog,uint32_t * roundoff) xlog_calc_iclog_size() argument 1729 xlog_sync(struct xlog * log,struct xlog_in_core * iclog,struct xlog_ticket * ticket) xlog_sync() argument 1801 xlog_dealloc_log(struct xlog * log) xlog_dealloc_log() argument 1831 xlog_state_finish_copy(struct xlog * log,struct xlog_in_core * iclog,int record_cnt,int copy_bytes) xlog_state_finish_copy() argument 1971 struct xlog *log = data->iclog->ic_log; xlog_write_get_more_iclog_space() local 2152 xlog_write(struct xlog * log,struct xfs_cil_ctx * ctx,struct list_head * lv_chain,struct xlog_ticket * ticket,uint32_t len) xlog_write() argument 2262 xlog_state_activate_iclogs(struct xlog * log,int * iclogs_changed) xlog_state_activate_iclogs() argument 2315 xlog_state_clean_iclog(struct xlog * log,struct xlog_in_core * dirty_iclog) xlog_state_clean_iclog() argument 2335 xlog_get_lowest_lsn(struct xlog * log) xlog_get_lowest_lsn() argument 2360 xlog_state_iodone_process_iclog(struct xlog * log,struct xlog_in_core * iclog) xlog_state_iodone_process_iclog() argument 2415 xlog_state_do_iclog_callbacks(struct xlog * log) xlog_state_do_iclog_callbacks() argument 2455 xlog_state_do_callback(struct xlog * log) xlog_state_do_callback() argument 2491 struct xlog *log = iclog->ic_log; xlog_state_done_syncing() local 2537 xlog_state_get_iclog_space(struct xlog * log,struct xlog_write_data * data) xlog_state_get_iclog_space() argument 2639 xfs_log_ticket_regrant(struct xlog * log,struct xlog_ticket * ticket) xfs_log_ticket_regrant() argument 2678 xfs_log_ticket_ungrant(struct xlog * log,struct xlog_ticket * ticket) xfs_log_ticket_ungrant() argument 2715 xlog_state_switch_iclogs(struct xlog * log,struct xlog_in_core * iclog,int eventual_size) xlog_state_switch_iclogs() argument 2767 xlog_force_and_check_iclog(struct xlog * log,struct xlog_in_core * iclog,bool * completed) xlog_force_and_check_iclog() argument 2822 struct xlog *log = mp->m_log; xfs_log_force() local 2904 xlog_force_lsn(struct xlog * log,xfs_lsn_t lsn,uint flags,int * log_flushed,bool already_slept) xlog_force_lsn() argument 3002 struct xlog *log = mp->m_log; xfs_log_force_seq() local 3049 xlog_calc_unit_res(struct xlog * log,int unit_bytes,int * niclogs) xlog_calc_unit_res() argument 3149 xlog_ticket_alloc(struct xlog * log,int unit_bytes,int cnt,bool permanent) xlog_ticket_alloc() argument 3179 xlog_verify_dump_tail(struct xlog * log,struct xlog_in_core * iclog) xlog_verify_dump_tail() argument 3200 xlog_verify_tail_lsn(struct xlog * log,struct xlog_in_core * iclog) xlog_verify_tail_lsn() argument 3253 xlog_verify_iclog(struct xlog * log,struct xlog_in_core * iclog,int count) xlog_verify_iclog() argument 3343 xlog_force_shutdown(struct xlog * log,uint32_t shutdown_flags) xlog_force_shutdown() argument 3446 xlog_iclogs_empty(struct xlog * log) xlog_iclogs_empty() argument 3471 struct xlog *log = mp->m_log; xfs_log_check_lsn() local [all...] |
| H A D | xfs_log_recover.c | 51 * 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 in xlog_alloc_buffer() 113 xlog_align(struct xlog * log,xfs_daddr_t blk_no) xlog_align() argument 121 xlog_do_io(struct xlog * log,xfs_daddr_t blk_no,unsigned int nbblks,char * data,enum req_op op) xlog_do_io() argument 153 xlog_bread_noalign(struct xlog * log,xfs_daddr_t blk_no,int nbblks,char * data) xlog_bread_noalign() argument 163 xlog_bread(struct xlog * log,xfs_daddr_t blk_no,int nbblks,char * data,char ** offset) xlog_bread() argument 179 xlog_bwrite(struct xlog * log,xfs_daddr_t blk_no,int nbblks,char * data) xlog_bwrite() argument 270 xlog_find_cycle_start(struct xlog * log,char * buffer,xfs_daddr_t first_blk,xfs_daddr_t * last_blk,uint cycle) xlog_find_cycle_start() argument 313 xlog_find_verify_cycle(struct xlog * log,xfs_daddr_t start_blk,int nbblks,uint stop_on_cycle_no,xfs_daddr_t * new_blk) xlog_find_verify_cycle() argument 369 xlog_logrec_hblks(struct xlog * log,struct xlog_rec_header * rh) xlog_logrec_hblks() argument 395 xlog_find_verify_log_record(struct xlog * log,xfs_daddr_t start_blk,xfs_daddr_t * last_blk,int extra_bblks) xlog_find_verify_log_record() argument 499 xlog_find_head(struct xlog * log,xfs_daddr_t * return_head_blk) xlog_find_head() argument 764 xlog_rseek_logrec_hdr(struct xlog * log,xfs_daddr_t head_blk,xfs_daddr_t tail_blk,int count,char * buffer,xfs_daddr_t * rblk,struct xlog_rec_header ** rhead,bool * wrapped) xlog_rseek_logrec_hdr() argument 838 xlog_seek_logrec_hdr(struct xlog * log,xfs_daddr_t head_blk,xfs_daddr_t tail_blk,int count,char * buffer,xfs_daddr_t * rblk,struct xlog_rec_header ** rhead,bool * wrapped) xlog_seek_logrec_hdr() argument 905 xlog_tail_distance(struct xlog * log,xfs_daddr_t head_blk,xfs_daddr_t tail_blk) xlog_tail_distance() argument 936 xlog_verify_tail(struct xlog * log,xfs_daddr_t head_blk,xfs_daddr_t * tail_blk,int hsize) xlog_verify_tail() argument 1021 xlog_verify_head(struct xlog * log,xfs_daddr_t * head_blk,xfs_daddr_t * tail_blk,char * buffer,xfs_daddr_t * rhead_blk,struct xlog_rec_header ** rhead,bool * wrapped) xlog_verify_head() argument 1119 xlog_wrap_logbno(struct xlog * log,xfs_daddr_t bno) xlog_wrap_logbno() argument 1135 xlog_check_unmount_rec(struct xlog * log,xfs_daddr_t * head_blk,xfs_daddr_t * tail_blk,struct xlog_rec_header * rhead,xfs_daddr_t rhead_blk,char * buffer,bool * clean) xlog_check_unmount_rec() argument 1194 xlog_set_state(struct xlog * log,xfs_daddr_t head_blk,struct xlog_rec_header * rhead,xfs_daddr_t rhead_blk,bool bump_cycle) xlog_set_state() argument 1237 xlog_find_tail(struct xlog * log,xfs_daddr_t * head_blk,xfs_daddr_t * tail_blk) xlog_find_tail() argument 1390 xlog_find_zeroed(struct xlog * log,xfs_daddr_t * blk_no) xlog_find_zeroed() argument 1484 xlog_add_record(struct xlog * log,char * buf,int cycle,int block,int tail_cycle,int tail_block) xlog_add_record() argument 1506 xlog_write_log_records(struct xlog * log,int cycle,int start_block,int blocks,int tail_cycle,int tail_block) xlog_write_log_records() argument 1605 xlog_clear_stale_blocks(struct xlog * log,xfs_lsn_t tail_lsn) xlog_clear_stale_blocks() argument 1723 xlog_recover_release_intent(struct xlog * log,unsigned short intent_type,uint64_t intent_id) xlog_recover_release_intent() argument 1894 xlog_recover_reorder_trans(struct xlog * log,struct xlog_recover * trans,int pass) xlog_recover_reorder_trans() argument 1973 xlog_buf_readahead(struct xlog * log,xfs_daddr_t blkno,uint len,const struct xfs_buf_ops * ops) xlog_buf_readahead() argument 1988 xlog_recover_intent_item(struct xlog * log,struct xfs_log_item * lip,xfs_lsn_t lsn,const struct xfs_defer_op_type * ops) xlog_recover_intent_item() argument 2007 xlog_recover_items_pass2(struct xlog * log,struct xlog_recover * trans,struct list_head * buffer_list,struct list_head * item_list) xlog_recover_items_pass2() argument 2037 xlog_recover_commit_trans(struct xlog * log,struct xlog_recover * trans,int pass,struct list_head * buffer_list) xlog_recover_commit_trans() argument 2113 xlog_recover_add_to_cont_trans(struct xlog * log,struct xlog_recover * trans,char * dp,int len) xlog_recover_add_to_cont_trans() argument 2172 xlog_recover_add_to_trans(struct xlog * log,struct xlog_recover * trans,char * dp,int len) xlog_recover_add_to_trans() argument 2289 xlog_recovery_process_trans(struct xlog * log,struct xlog_recover * trans,char * dp,unsigned int len,unsigned int flags,int pass,struct list_head * buffer_list) xlog_recovery_process_trans() argument 2396 xlog_recover_process_ophdr(struct xlog * log,struct hlist_head rhash[],struct xlog_rec_header * rhead,struct xlog_op_header * ohead,char * dp,char * end,int pass,struct list_head * buffer_list) xlog_recover_process_ophdr() argument 2480 xlog_recover_process_data(struct xlog * log,struct hlist_head rhash[],struct xlog_rec_header * rhead,char * dp,int pass,struct list_head * buffer_list) xlog_recover_process_data() argument 2601 xlog_recover_process_intents(struct xlog * log) xlog_recover_process_intents() argument 2657 xlog_recover_cancel_intents(struct xlog * log) xlog_recover_cancel_intents() argument 2865 xlog_recover_process_iunlinks(struct xlog * log) xlog_recover_process_iunlinks() argument 2877 xlog_unpack_data(struct xlog_rec_header * rhead,char * dp,struct xlog * log) xlog_unpack_data() argument 2892 xlog_recover_process(struct xlog * log,struct hlist_head rhash[],struct xlog_rec_header * rhead,char * dp,int pass,struct list_head * buffer_list) xlog_recover_process() argument 2964 xlog_valid_rec_header(struct xlog * log,struct xlog_rec_header * rhead,xfs_daddr_t blkno,int bufsize) xlog_valid_rec_header() argument 3012 xlog_do_recovery_pass(struct xlog * log,xfs_daddr_t head_blk,xfs_daddr_t tail_blk,int pass,xfs_daddr_t * first_bad) xlog_do_recovery_pass() argument 3327 xlog_do_log_recovery(struct xlog * log,xfs_daddr_t head_blk,xfs_daddr_t tail_blk) xlog_do_log_recovery() argument 3366 xlog_do_recover(struct xlog * log,xfs_daddr_t head_blk,xfs_daddr_t tail_blk) xlog_do_recover() argument 3433 xlog_recover(struct xlog * log) xlog_recover() argument 3527 xlog_recover_finish(struct xlog * log) xlog_recover_finish() argument 3586 xlog_recover_cancel(struct xlog * log) xlog_recover_cancel() argument [all...] |
| H A D | xfs_log_priv.h | 52 * In core log state 55 XLOG_STATE_ACTIVE, /* Current IC log being written to */ 57 XLOG_STATE_SYNCING, /* This IC log is syncing */ 60 XLOG_STATE_DIRTY, /* Dirty IC log, not ready for ACTIVE status */ 72 * In core log flags 95 * log write such that no allocation transactions will be re-done during 97 * log write. 99 * These states are used to insert dummy log entries to cover 112 * in the log record header needs to point beyond the last possible 125 * when the log become 392 XLOG_CIL_SPACE_LIMIT(log) global() argument 395 XLOG_CIL_BLOCKING_SPACE_LIMIT(log) global() argument 478 xlog_recovery_needed(struct xlog * log) xlog_recovery_needed() argument 484 xlog_in_recovery(struct xlog * log) xlog_in_recovery() argument 490 xlog_is_shutdown(struct xlog * log) xlog_is_shutdown() argument 501 xlog_shutdown_wait(struct xlog * log) xlog_shutdown_wait() argument 583 xlog_cil_force(struct xlog * log) xlog_cil_force() argument 614 xlog_lsn_sub(struct xlog * log,xfs_lsn_t high,xfs_lsn_t low) xlog_lsn_sub() argument 640 xlog_valid_lsn(struct xlog * log,xfs_lsn_t lsn) xlog_valid_lsn() argument [all...] |
| H A D | xfs_log_cil.c | 35 struct xlog *log) in xlog_cil_ticket_alloc() argument 39 tic = xlog_ticket_alloc(log, 0, 1, 0); in xlog_cil_ticket_alloc() 53 struct xlog *log = cil->xc_log; in xlog_cil_set_iclog_hdr_count() local 56 (XLOG_CIL_BLOCKING_SPACE_LIMIT(log) / in xlog_cil_set_iclog_hdr_count() 57 (log->l_iclog_size - log->l_iclog_hsize))); in xlog_cil_set_iclog_hdr_count() 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 in xlog_item_in_current_chkpt() 194 * After the first stage of log recover 205 xlog_cil_init_post_recovery(struct xlog * log) xlog_cil_init_post_recovery() argument 269 xlog_cil_alloc_shadow_bufs(struct xlog * log,struct xfs_trans * tp) xlog_cil_alloc_shadow_bufs() argument 372 xfs_cil_prepare_item(struct xlog * log,struct xfs_log_item * lip,struct xfs_log_vec * lv,int * diff_len) xfs_cil_prepare_item() argument 538 xlog_cil_insert_format_items(struct xlog * log,struct xfs_trans * tp,int * diff_len) xlog_cil_insert_format_items() argument 615 xlog_cil_over_hard_limit(struct xlog * log,int32_t space_used) xlog_cil_over_hard_limit() argument 634 xlog_cil_insert_items(struct xlog * log,struct xfs_trans * tp,uint32_t released_space) xlog_cil_insert_items() argument 1170 struct xlog *log = ctx->cil->xc_log; xlog_cil_write_chain() local 1189 struct xlog *log = ctx->cil->xc_log; xlog_cil_write_commit_record() local 1383 struct xlog *log = cil->xc_log; xlog_cil_push_work() local 1630 xlog_cil_push_background(struct xlog * log) xlog_cil_push_background() argument 1714 xlog_cil_push_now(struct xlog * log,xfs_csn_t push_seq,bool async) xlog_cil_push_now() argument 1757 xlog_cil_empty(struct xlog * log) xlog_cil_empty() argument 1821 xlog_cil_commit(struct xlog * log,struct xfs_trans * tp,xfs_csn_t * commit_seq,bool regrant) xlog_cil_commit() argument 1883 xlog_cil_flush(struct xlog * log) xlog_cil_flush() argument 1910 xlog_cil_force_seq(struct xlog * log,xfs_csn_t sequence) xlog_cil_force_seq() argument 2004 xlog_cil_init(struct xlog * log) xlog_cil_init() argument 2056 xlog_cil_destroy(struct xlog * log) xlog_cil_destroy() argument [all...] |
| /linux/kernel/bpf/ |
| H A D | log.c | 21 /* log buf without log_level is meaningless */ in bpf_verifier_log_attr_valid() 31 int bpf_vlog_init(struct bpf_verifier_log *log, u32 log_level, in bpf_vlog_init() argument 34 log->level = log_level; in bpf_vlog_init() 35 log->ubuf = log_buf; in bpf_vlog_init() 36 log->len_total = log_size; in bpf_vlog_init() 38 /* log attributes have to be sane */ in bpf_vlog_init() 45 static void bpf_vlog_update_len_max(struct bpf_verifier_log *log, u32 add_len) in bpf_vlog_update_len_max() argument 48 u64 len = log->end_pos + add_len; in bpf_vlog_update_len_max() 50 /* log->len_max could be larger than our current len due to in bpf_vlog_update_len_max() 55 log in bpf_vlog_update_len_max() 60 bpf_verifier_vlog(struct bpf_verifier_log * log,const char * fmt,va_list args) bpf_verifier_vlog() argument 149 bpf_vlog_reset(struct bpf_verifier_log * log,u64 new_pos) bpf_vlog_reset() argument 188 bpf_vlog_reverse_ubuf(struct bpf_verifier_log * log,int start,int end) bpf_vlog_reverse_ubuf() argument 226 bpf_vlog_finalize(struct bpf_verifier_log * log,u32 * log_size_actual) bpf_vlog_finalize() argument 318 bpf_log(struct bpf_verifier_log * log,const char * fmt,...) bpf_log() argument 816 bpf_log_attr_init(struct bpf_log_attr * log,u64 log_buf,u32 log_size,u32 log_level,u32 offsetof_log_true_size,bpfptr_t uattr,struct bpf_common_attr * common,bpfptr_t uattr_common,u32 size_common) bpf_log_attr_init() argument 854 struct bpf_verifier_log *log; bpf_log_attr_create_vlog() local 879 bpf_log_attr_finalize(struct bpf_log_attr * attr,struct bpf_verifier_log * log) bpf_log_attr_finalize() argument [all...] |
| /linux/drivers/accel/ivpu/ |
| H A D | ivpu_fw_log.c | 30 struct vpu_tracing_buffer_header *log; member 38 struct vpu_tracing_buffer_header *log; in fw_log_from_bo() local 41 if ((*offset + sizeof(*log)) > ivpu_bo_size(bo)) in fw_log_from_bo() 44 log = ivpu_bo_vaddr(bo) + *offset; in fw_log_from_bo() 46 if (log->vpu_canary_start != VPU_TRACING_BUFFER_CANARY) in fw_log_from_bo() 49 header_size = READ_ONCE(log->header_size); in fw_log_from_bo() 50 size = READ_ONCE(log->size); in fw_log_from_bo() 52 if (header_size < sizeof(*log) || header_size > 1024) { in fw_log_from_bo() 56 if ((char *)log + size > (char *)ivpu_bo_vaddr(bo) + ivpu_bo_size(bo)) { in fw_log_from_bo() 66 desc->log = log; in fw_log_from_bo() [all …]
|
| /linux/fs/ntfs3/ |
| H A D | fslog.c | 31 __le32 sys_page_size; // 0x10: Page size of the system which initialized the log. 32 __le32 page_size; // 0x14: Log page size used for this log file. 55 /* Two copies of these will exist at the beginning of the log file */ 57 __le64 current_lsn; // 0x00: Current logical end of log file. 64 __le64 l_size; // 0x18: Usable log file size. 195 __le32 undo_records; // 0x20: Number of undo log records pending abort 234 /* The following type defines the different log record types. */ 238 /* This is used to uniquely identify a client for a particular log file. */ 244 /* This is the header that begins every Log Record in the log file. */ 250 struct CLIENT_ID client; // 0x1C: Owner of this log recor 1117 lsn_to_vbo(struct ntfs_log * log,const u64 lsn) lsn_to_vbo() argument 1125 next_page_off(struct ntfs_log * log,u32 off) next_page_off() argument 1131 lsn_to_page_off(struct ntfs_log * log,u64 lsn) lsn_to_page_off() argument 1136 vbo_to_lsn(struct ntfs_log * log,u32 off,u64 Seq) vbo_to_lsn() argument 1141 is_lsn_in_file(struct ntfs_log * log,u64 lsn) is_lsn_in_file() argument 1147 hdr_file_off(struct ntfs_log * log,struct RECORD_PAGE_HDR * hdr) hdr_file_off() argument 1156 base_lsn(struct ntfs_log * log,const struct RECORD_PAGE_HDR * hdr,u64 lsn) base_lsn() argument 1173 verify_client_lsn(struct ntfs_log * log,const struct CLIENT_REC * client,u64 lsn) verify_client_lsn() argument 1180 read_log_page(struct ntfs_log * log,u32 vbo,struct RECORD_PAGE_HDR ** buffer,bool * usa_error) read_log_page() argument 1241 log_read_rst(struct ntfs_log * log,bool first,struct restart_info * info) log_read_rst() argument 1351 log_init_pg_hdr(struct ntfs_log * log,u16 major_ver,u16 minor_ver) log_init_pg_hdr() argument 1369 log_create(struct ntfs_log * log,const u64 last_lsn,u32 open_log_count,bool wrapped,bool use_multi_page) log_create() argument 1432 log_create_ra(struct ntfs_log * log) log_create_ra() argument 1461 final_log_off(struct ntfs_log * log,u64 lsn,u32 data_len) final_log_off() argument 1502 next_log_lsn(struct ntfs_log * log,const struct LFS_RECORD_HDR * rh,u64 * lsn) next_log_lsn() argument 1558 current_log_avail(struct ntfs_log * log) current_log_avail() argument 1602 check_subseq_log_page(struct ntfs_log * log,const struct RECORD_PAGE_HDR * rp,u32 vbo,u64 seq) check_subseq_log_page() argument 1634 last_log_lsn(struct ntfs_log * log) last_log_lsn() argument 2288 read_log_rec_buf(struct ntfs_log * log,const struct LFS_RECORD_HDR * rh,void * buffer) read_log_rec_buf() argument 2365 read_rst_area(struct ntfs_log * log,struct NTFS_RESTART ** rst_,u64 * lsn) read_rst_area() argument 2431 find_log_rec(struct ntfs_log * log,u64 lsn,struct lcb * lcb) find_log_rec() argument 2498 read_log_rec_lcb(struct ntfs_log * log,u64 lsn,u32 ctx_mode,struct lcb ** lcb_) read_log_rec_lcb() argument 2545 find_client_next_lsn(struct ntfs_log * log,struct lcb * lcb,u64 * lsn) find_client_next_lsn() argument 2622 read_next_log_rec(struct ntfs_log * log,struct lcb * lcb,u64 * lsn) read_next_log_rec() argument 3035 find_loaded_attr(struct ntfs_log * log,const struct ATTRIB * attr,CLST rno) find_loaded_attr() argument 3122 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) do_action() argument 3851 struct ntfs_log *log; log_replay() local [all...] |
| /linux/drivers/pci/pcie/ |
| H A D | tlp.c | 60 * @log: TLP Log structure to fill 62 * Fill @log from TLP Header Log registers, e.g., AER or DPC. 67 unsigned int tlp_len, bool flit, struct pcie_tlp_log *log) in pcie_read_tlp_log() 72 if (tlp_len > ARRAY_SIZE(log->dw)) in pcie_read_tlp_log() 73 tlp_len = ARRAY_SIZE(log->dw); in pcie_read_tlp_log() 75 memset(log, 0, sizeof(*log)); in pcie_read_tlp_log() 83 ret = pci_read_config_dword(dev, off, &log->dw[i]); in pcie_read_tlp_log() 92 log->header_len = flit ? tlp_len : 4; in pcie_read_tlp_log() 93 log in pcie_read_tlp_log() 64 pcie_read_tlp_log(struct pci_dev * dev,int where,int where2,unsigned int tlp_len,bool flit,struct pcie_tlp_log * log) pcie_read_tlp_log() argument 107 pcie_print_tlp_log(const struct pci_dev * dev,const struct pcie_tlp_log * log,const char * level,const char * pfx) pcie_print_tlp_log() argument [all...] |
| /linux/drivers/md/ |
| H A D | dm-log.c | 154 struct dm_dirty_log *log; in dm_dirty_log_create() local 156 log = kmalloc_obj(*log); in dm_dirty_log_create() 157 if (!log) in dm_dirty_log_create() 162 kfree(log); in dm_dirty_log_create() 166 log->flush_callback_fn = flush_callback_fn; in dm_dirty_log_create() 167 log->type = type; in dm_dirty_log_create() 168 if (type->ctr(log, ti, argc, argv)) { in dm_dirty_log_create() 169 kfree(log); in dm_dirty_log_create() 174 return log; in dm_dirty_log_create() 178 void dm_dirty_log_destroy(struct dm_dirty_log *log) in dm_dirty_log_destroy() argument [all …]
|
| 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 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) ppl_new_iounit() argument 267 ppl_log_stripe(struct ppl_log * log,struct stripe_head * sh) ppl_log_stripe() argument 365 struct ppl_log *log; ppl_write_stripe() local 401 struct ppl_log *log = io->log; ppl_log_endio() local 430 struct ppl_log *log = io->log; ppl_submit_iounit() local 509 ppl_submit_current_io(struct ppl_log * log) ppl_submit_current_io() argument 535 struct ppl_log *log; ppl_write_stripe_run() local 549 struct ppl_log *log = io->log; ppl_io_unit_finished() local 584 struct ppl_log *log = io->log; ppl_flush_endio() local 610 struct ppl_log *log = io->log; ppl_do_flush() local 654 ppl_no_io_unit_submitted(struct r5conf * conf,struct ppl_log * log) ppl_no_io_unit_submitted() argument 671 struct ppl_log *log = &ppl_conf->child_logs[i]; ppl_quiesce() local 786 ppl_recover_entry(struct ppl_log * log,struct ppl_header_entry * e,sector_t ppl_sector) ppl_recover_entry() argument 961 ppl_recover(struct ppl_log * log,struct ppl_header * pplhdr,sector_t offset) ppl_recover() argument 1037 ppl_write_empty_header(struct ppl_log * log) ppl_write_empty_header() argument 1070 ppl_load_distributed(struct ppl_log * log) ppl_load_distributed() argument 1192 struct ppl_log *log = &ppl_conf->child_logs[i]; ppl_load() local 1298 ppl_init_child_log(struct ppl_log * log,struct md_rdev * rdev) ppl_init_child_log() argument 1402 struct ppl_log *log = &ppl_conf->child_logs[i]; ppl_init_log() local 1453 struct ppl_log *log; ppl_modify_log() local [all...] |
| H A D | raid5-log.h | 7 int r5l_write_stripe(struct r5l_log *log, struct stripe_head *head_sh); 8 void r5l_write_stripe_run(struct r5l_log *log); 9 void r5l_flush_stripe_to_raid(struct r5l_log *log); 11 int r5l_handle_flush_request(struct r5l_log *log, struct bio *bio); 12 void r5l_quiesce(struct r5l_log *log, int quiesce); 14 bool r5c_is_writeback(struct r5l_log *log); 21 void r5l_wake_reclaim(struct r5l_log *log, sector_t space); 24 int r5c_cache_data(struct r5l_log *log, struct stripe_head *sh); 32 int r5l_start(struct r5l_log *log); 61 if (conf->log) { in log_stripe() [all …]
|
| /linux/include/linux/ |
| H A D | dm-dirty-log.h | 36 int (*ctr)(struct dm_dirty_log *log, struct dm_target *ti, 38 void (*dtr)(struct dm_dirty_log *log); 44 int (*presuspend)(struct dm_dirty_log *log); 45 int (*postsuspend)(struct dm_dirty_log *log); 46 int (*resume)(struct dm_dirty_log *log); 52 uint32_t (*get_region_size)(struct dm_dirty_log *log); 58 int (*is_clean)(struct dm_dirty_log *log, region_t region); 71 int (*in_sync)(struct dm_dirty_log *log, region_t region, 78 int (*flush)(struct dm_dirty_log *log); 86 void (*mark_region)(struct dm_dirty_log *log, region_t region); [all …]
|
| /linux/drivers/net/ethernet/meta/fbnic/ |
| H A D | fbnic_fw_log.c | 38 struct fbnic_fw_log *log = &fbd->fw_log; in fbnic_fw_log_init() local 49 INIT_LIST_HEAD(&log->entries); in fbnic_fw_log_init() 50 log->size = FBNIC_FW_LOG_SIZE; in fbnic_fw_log_init() 51 log->data_start = data; in fbnic_fw_log_init() 52 log->data_end = data + FBNIC_FW_LOG_SIZE; in fbnic_fw_log_init() 59 struct fbnic_fw_log *log = &fbd->fw_log; in fbnic_fw_log_free() local 64 INIT_LIST_HEAD(&log->entries); in fbnic_fw_log_free() 65 log->size = 0; in fbnic_fw_log_free() 66 vfree(log->data_start); in fbnic_fw_log_free() 67 log->data_start = NULL; in fbnic_fw_log_free() [all …]
|
| /linux/tools/perf/tests/shell/base_report/ |
| H A D | test_basic.sh | 26 $CMD_PERF report --help > $LOGS_DIR/basic_helpmsg.log 2> $LOGS_DIR/basic_helpmsg.err 31 "OVERHEAD\s+CALCULATION" "SEE ALSO" < $LOGS_DIR/basic_helpmsg.log 36 < $LOGS_DIR/basic_helpmsg.log 41 < $LOGS_DIR/basic_helpmsg.log 46 < $LOGS_DIR/basic_helpmsg.log 51 < $LOGS_DIR/basic_helpmsg.log 56 < $LOGS_DIR/basic_helpmsg.log 72 $CMD_PERF report -i $CURRENT_TEST_DIR/perf.data --stdio > $LOGS_DIR/basic_basic.log 2> $LOGS_DIR/ba… 81 "$REGEX_LINES_HEADER" "$REGEX_LINES" < $LOGS_DIR/basic_basic.log 94 … $CURRENT_TEST_DIR/perf.data --show-nr-samples > $LOGS_DIR/basic_nrsamples.log 2> $LOGS_DIR/basic_… [all …]
|
| /linux/drivers/char/tpm/eventlog/ |
| H A D | efi.c | 23 struct tpm_bios_log *log; in tpm_read_log_efi() local 35 log = &chip->log; 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() 80 devm_kfree(&chip->dev, log->bios_event_log); in tpm_read_log_efi() 95 tmp = devm_krealloc(&chip->dev, log->bios_event_log, in tpm_read_log_efi() 99 devm_kfree(&chip->dev, log->bios_event_log); in tpm_read_log_efi() 104 log->bios_event_log = tmp; in tpm_read_log_efi() 111 memcpy((void *)log->bios_event_log + log_size, in tpm_read_log_efi() [all …]
|
| /linux/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 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. 59 log-writes <dev_path> <log_dev_path> [all …]
|
| H A D | dm-log.rst | 16 dm_dirty_log_type in include/linux/dm-dirty-log.h). Various different 23 disk drivers/md/dm-log.c 24 core drivers/md/dm-log.c 25 userspace drivers/md/dm-log-userspace* include/linux/dm-log-userspace.h 28 The "disk" log type 30 This log implementation commits the log state to disk. This way, the 33 The "core" log type 35 This log implementation keeps the log state in memory. The log state 38 available for storing log state. 40 The "userspace" log type [all …]
|
| /linux/tools/testing/selftests/rcutorture/bin/ |
| H A D | kvm-series.sh | 44 git log --pretty=format:"%h" "${commit_list}" > $T/commits 76 echo " --- " $scriptname $args | tee -a $T/log 77 echo " --- Results directory: " $ds | tee -a $T/log 95 echo Starting ${config}/${sha1} "($((nbuilt+1)) of ${n2build})" at `date` | tee -a $T/log 167 echo Waiting, cpusused=${cpusused}, ncpus=${ncpus} `date` | tee -a $T/log 210 echo | tee -a $T/log # Put a blank line between build and run messages. 225 echo | tee -a $T/log 226 echo ${nsuccess} SUCCESSES: | tee -a $T/log 227 echo ${successlist} | fmt | tee -a $T/log 231 echo | tee -a $T/log [all...] |
| /linux/fs/ |
| H A D | fs_context.c | 277 fc->log.prefix = fs_type->name; in alloc_fs_context() 388 if (fc->log.log) in vfs_dup_fs_context() 389 refcount_inc(&fc->log.log->usage); in vfs_dup_fs_context() 414 void logfc(struct fc_log *log, const char *prefix, char level, const char *fmt, ...) in logfc() argument 420 if (!log) { in logfc() 440 unsigned int logsize = ARRAY_SIZE(log->buffer); in logfc() 446 index = log->head & (logsize - 1); in logfc() 447 BUILD_BUG_ON(sizeof(log->head) != sizeof(u8) || in logfc() 448 sizeof(log->tail) != sizeof(u8)); in logfc() 449 if ((u8)(log->head - log->tail) == logsize) { in logfc() [all …]
|
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | core_reloc_raw.c | 15 static char log[16 * 1024]; variable 33 .log_buf = (__u64)log, in load_core_relo_insns() 34 .log_size = sizeof(log), in load_core_relo_insns() 47 memset(log, 0, sizeof(log)); in load_core_relo_insns() 138 ASSERT_HAS_SUBSTR(log, "substituting insn #2", "poison_log"); in test_early_core_relo() 148 ASSERT_HAS_SUBSTR(log, "substituting insn #2", "poison_log"); in test_early_core_relo() 149 ASSERT_HAS_SUBSTR(log, "last insn is not an exit or jmp", "poisoned_load_log"); in test_early_core_relo() 158 ASSERT_HAS_SUBSTR(log, "invalid bpf_ld_imm64 insn", "truncated_load_log"); in test_early_core_relo() 186 ASSERT_HAS_SUBSTR(log, "substituting insn #2", "poison_log"); in test_early_core_relo() 188 ASSERT_HAS_SUBSTR(log, "substituting insn #3", "poison_ldimm64_log"); in test_early_core_relo() [all …]
|
| /linux/tools/testing/selftests/amd-pstate/ |
| H A D | gitsource.sh | 63 rm -rf $OUTFILE_GIT*.log 91 …KUP_DIR/$OUTFILE_GIT.time-gitsource-$1-$2.log make test -j$MAKE_CPUS > $BACKUP_DIR/$OUTFILE_GIT-pe… 104 … results/tracer-gitsource-$1-$2/cpu.csv | sed -e '1d' | sed s/,// > $OUTFILE_GIT-des-perf-$1-$2.log 105 …perf=$(awk 'BEGIN {i=0; sum=0};{i++; sum += $1};END {print sum/i}' $OUTFILE_GIT-des-perf-$1-$2.log) 108 …$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 …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 … user $OUTFILE_GIT.time-gitsource-$1-$2.log | awk '{print $1}' | sed -e 's/user//' > $OUTFILE_GIT-… 117 time_sum=$(awk 'BEGIN {sum=0};{sum += $1};END {print sum}' $OUTFILE_GIT-time-$1-$2.log) [all …]
|
| H A D | tbench.sh | 58 rm -rf $OUTFILE_TBENCH*.log 71 … 1000 -e power/energy-pkg/ tbench -t $TIME_LIMIT $PROCESS_NUM > $OUTFILE_TBENCH-perf-$1-$2.log 2>&1 86 … results/tracer-tbench-$1-$2/cpu.csv | sed -e '1d' | sed s/,// > $OUTFILE_TBENCH-des-perf-$1-$2.log 87 …f=$(awk 'BEGIN {i=0; sum=0};{i++; sum += $1};END {print sum/i}' $OUTFILE_TBENCH-des-perf-$1-$2.log) 90 …$7}' results/tracer-tbench-$1-$2/cpu.csv | sed -e '1d' | sed s/,// > $OUTFILE_TBENCH-freq-$1-$2.log 91 …_freq=$(awk 'BEGIN {i=0; sum=0};{i++; sum += $1};END {print sum/i}' $OUTFILE_TBENCH-freq-$1-$2.log) 94 …11}' results/tracer-tbench-$1-$2/cpu.csv | sed -e '1d' | sed s/,// > $OUTFILE_TBENCH-load-$1-$2.log 95 …_load=$(awk 'BEGIN {i=0; sum=0};{i++; sum += $1};END {print sum/i}' $OUTFILE_TBENCH-load-$1-$2.log) 98 …grep Throughput $OUTFILE_TBENCH-perf-$1-$2.log | awk '{print $2}' > $OUTFILE_TBENCH-throughput-$1-… 99 tp_sum=$(awk 'BEGIN {sum=0};{sum += $1};END {print sum}' $OUTFILE_TBENCH-throughput-$1-$2.log) [all …]
|
| /linux/Documentation/ABI/testing/ |
| H A D | sysfs-fs-xfs | 1 What: /sys/fs/xfs/<disk>/log/log_head_lsn 6 The log sequence number (LSN) of the current head of the 7 log. The LSN is exported in "cycle:basic block" format. 10 What: /sys/fs/xfs/<disk>/log/log_tail_lsn 15 The log sequence number (LSN) of the current tail of the 16 log. The LSN is exported in "cycle:basic block" format. 18 What: /sys/fs/xfs/<disk>/log/reserve_grant_head_bytes 23 The current state of the log reserve grant head. It 24 represents the total log reservation of all currently 28 What: /sys/fs/xfs/<disk>/log/write_grant_head_bytes [all …]
|
| /linux/drivers/gpu/drm/xe/ |
| H A D | xe_guc_log.c | 97 log_to_guc(struct xe_guc_log *log) in log_to_guc() 99 return container_of(log, struct xe_guc, log); in log_to_guc() 103 log_to_gt(struct xe_guc_log *log) in log_to_gt() 105 return container_of(log, struct xe_gt, uc.guc.log); in log_to_gt() 109 log_to_xe(struct xe_guc_log *log) in log_to_xe() 111 return gt_to_xe(log_to_gt(log)); in log_to_xe() 114 static struct xe_guc_log_snapshot *xe_guc_log_snapshot_alloc(struct xe_guc_log *log, bool atomic) in xe_guc_log_snapshot_alloc() 125 * NB: kmalloc has a hard limit well below the maximum GuC log buffe in xe_guc_log_snapshot_alloc() 96 log_to_guc(struct xe_guc_log * log) log_to_guc() argument 102 log_to_gt(struct xe_guc_log * log) log_to_gt() argument 108 log_to_xe(struct xe_guc_log * log) log_to_xe() argument 113 xe_guc_log_snapshot_alloc(struct xe_guc_log * log,bool atomic) xe_guc_log_snapshot_alloc() argument 188 xe_guc_log_snapshot_capture(struct xe_guc_log * log,bool atomic) xe_guc_log_snapshot_capture() argument 579 xe_guc_log_print_dmesg(struct xe_guc_log * log) xe_guc_log_print_dmesg() argument 598 xe_guc_log_print(struct xe_guc_log * log,struct drm_printer * p) xe_guc_log_print() argument 615 xe_guc_log_print_lfd(struct xe_guc_log * log,struct drm_printer * p) xe_guc_log_print_lfd() argument 624 xe_guc_log_init(struct xe_guc_log * log) xe_guc_log_init() argument 660 xe_guc_check_log_buf_overflow(struct xe_guc_log * log,enum guc_log_type type,unsigned int full_cnt) xe_guc_check_log_buf_overflow() argument [all...] |
| /linux/tools/testing/selftests/powerpc/eeh/ |
| H A D | eeh-functions.sh | 6 log() { function 56 log "debugfs EEH testing files are missing. Is debugfs mounted?" 68 log "$dev, Skipped: bridge" 77 log "$dev, Skipped: ahci doesn't support recovery" 87 log "$dev, Skipped: Bad initial PE state" 101 log "Error: '$dev' must be a sysfs device name (DDDD:BB:DD.F)" 125 log "$dev, waited $i/${max_wait}" 130 log "$dev, Failed to recover!" 134 log "$dev, Recovered after $i seconds" 208 log "Unable to enable VFs on $pf, skipping" [all …]
|