| /linux/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 loc 80 LOG_LOCK_INIT(log) global() argument 81 LOG_LOCK(log) global() argument 82 LOG_UNLOCK(log) global() argument 89 LOGGC_LOCK_INIT(log) global() argument 90 LOGGC_LOCK(log) global() argument 91 LOGGC_UNLOCK(log) global() argument 201 write_special_inodes(struct jfs_log * log,int (* writer)(struct address_space *)) write_special_inodes() argument 225 lmLog(struct jfs_log * log,struct tblock * tblk,struct lrd * lrd,struct tlock * tlck) lmLog() argument 344 lmWriteRecord(struct jfs_log * log,struct tblock * tblk,struct lrd * lrd,struct tlock * tlck) lmWriteRecord() argument 552 lmNextPage(struct jfs_log * log) lmNextPage() argument 658 lmGroupCommit(struct jfs_log * log,struct tblock * tblk) lmGroupCommit() argument 737 lmGCwrite(struct jfs_log * log,int cant_write) lmGCwrite() argument 805 struct jfs_log *log = bp->l_log; lmPostGC() local 921 lmLogSync(struct jfs_log * log,int hard_sync) lmLogSync() argument 1038 jfs_syncpt(struct jfs_log * log,int hard_sync) jfs_syncpt() argument 1062 struct jfs_log *log; lmLogOpen() local 1156 struct jfs_log *log; open_inline_log() local 1239 lmLogInit(struct jfs_log * log) lmLogInit() argument 1437 struct jfs_log *log = sbi->log; lmLogClose() local 1508 jfs_flush_journal(struct jfs_log * log,int wait) jfs_flush_journal() argument 1630 lmLogShutdown(struct jfs_log * log) lmLogShutdown() argument 1706 lmLogFileSystem(struct jfs_log * log,struct jfs_sb_info * sbi,int activate) lmLogFileSystem() argument 1786 lbmLogInit(struct jfs_log * log) lbmLogInit() argument 1854 lbmLogShutdown(struct jfs_log * log) lbmLogShutdown() argument 1875 lbmAllocate(struct jfs_log * log,int pn) lbmAllocate() argument 1919 struct jfs_log *log = bp->l_log; lbmfree() local 1961 lbmRead(struct jfs_log * log,int pn,struct lbuf ** bpp) lbmRead() argument 2010 lbmWrite(struct jfs_log * log,struct lbuf * bp,int flag,int cant_block) lbmWrite() argument 2078 lbmDirectWrite(struct jfs_log * log,struct lbuf * bp,int flag) lbmDirectWrite() argument 2111 struct jfs_log *log = bp->l_log; lbmStartIO() local 2173 struct jfs_log *log; lbmIODone() local 2355 lmLogFormat(struct jfs_log * log,s64 logAddress,int logSize) lmLogFormat() argument [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 bu 336 } log; global() member 477 LOGSYNC_LOCK_INIT(log) global() argument 478 LOGSYNC_LOCK(log,flags) global() argument 479 LOGSYNC_UNLOCK(log,flags) global() argument 483 logdiff(diff,lsn,log) global() argument [all...] |
| H A D | jfs_umount.c | 45 struct jfs_log *log; in jfs_umount() 51 * update superblock and close log in jfs_umount() 53 * if mounted read-write and log based recovery was enabled in jfs_umount() 55 if ((log = sbi->log)) in jfs_umount() 57 * Wait for outstanding transactions to be written to log: in jfs_umount() 59 jfs_flush_journal(log, 2); in jfs_umount() 62 * Hold log lock so write_special_inodes (lmLogSync) cannot see in jfs_umount() 63 * this sbi with a NULL inode pointer while iterating log->sb_list. in jfs_umount() 65 if (log) in jfs_umount() 44 struct jfs_log *log; jfs_umount() local 124 struct jfs_log *log = sbi->log; jfs_umount_rw() local [all...] |
| /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->l_reserve_head, diff); in xlog_grant_return_space() [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->l_mp, !xlog_verify_bno(log, 0, nbblks))) { in xlog_alloc_buffer() [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 recovery is done, we know where the head and 195 * tail of the log are. We need this log initialisation done before we can [all …]
|
| /linux/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 hea 210 struct r5l_log *log; global() member 250 r5c_is_writeback(struct r5l_log * log) r5c_is_writeback() argument 256 r5l_ring_add(struct r5l_log * log,sector_t start,sector_t inc) r5l_ring_add() argument 264 r5l_ring_distance(struct r5l_log * log,sector_t start,sector_t end) r5l_ring_distance() argument 273 r5l_has_free_space(struct r5l_log * log,sector_t size) r5l_has_free_space() argument 326 struct r5l_log *log = READ_ONCE(conf->log); r5c_check_stripe_cache_usage() local 353 struct r5l_log *log = READ_ONCE(conf->log); r5c_check_cached_full_stripe() local 398 struct r5l_log *log = READ_ONCE(conf->log); r5c_log_required_to_flush_cache() local 415 r5c_update_log_state(struct r5l_log * log) r5c_update_log_state() argument 451 struct r5l_log *log = READ_ONCE(conf->log); r5c_make_stripe_write_out() local 493 struct r5l_log *log = READ_ONCE(sh->raid_conf->log); r5c_finish_cache_stripe() local 526 r5l_log_run_stripes(struct r5l_log * log) r5l_log_run_stripes() argument 542 r5l_move_to_end_ios(struct r5l_log * log) r5l_move_to_end_ios() argument 561 struct r5l_log *log = io->log; r5l_log_endio() local 623 r5l_do_submit_io(struct r5l_log * log,struct r5l_io_unit * io) r5l_do_submit_io() argument 660 struct r5l_log *log = container_of(work, struct r5l_log, r5l_submit_io_async() local 681 struct r5l_log *log = container_of(work, struct r5l_log, r5c_disable_writeback_async() local 704 r5l_submit_current_io(struct r5l_log * log) r5l_submit_current_io() argument 734 r5l_bio_alloc(struct r5l_log * log) r5l_bio_alloc() argument 744 r5_reserve_log_entry(struct r5l_log * log,struct r5l_io_unit * io) r5_reserve_log_entry() argument 762 r5l_new_meta(struct r5l_log * log) r5l_new_meta() argument 804 r5l_get_meta(struct r5l_log * log,unsigned int payload_size) r5l_get_meta() argument 819 r5l_append_payload_meta(struct r5l_log * log,u16 type,sector_t location,u32 checksum1,u32 checksum2,bool checksum2_valid) r5l_append_payload_meta() argument 841 r5l_append_payload_page(struct r5l_log * log,struct page * page) r5l_append_payload_page() argument 859 r5l_append_flush_payload(struct r5l_log * log,sector_t sect) r5l_append_flush_payload() argument 899 r5l_log_stripe(struct r5l_log * log,struct stripe_head * sh,int data_pages,int parity_pages) r5l_log_stripe() argument 977 r5l_add_no_space_stripe(struct r5l_log * log,struct stripe_head * sh) r5l_add_no_space_stripe() argument 989 r5l_write_stripe(struct r5l_log * log,struct stripe_head * sh) r5l_write_stripe() argument 1087 r5l_write_stripe_run(struct r5l_log * log) r5l_write_stripe_run() argument 1096 r5l_handle_flush_request(struct r5l_log * log,struct bio * bio) r5l_handle_flush_request() argument 1129 r5l_run_no_space_stripes(struct r5l_log * log) r5l_run_no_space_stripes() argument 1152 struct r5l_log *log = READ_ONCE(conf->log); r5c_calculate_new_cp() local 1172 r5l_reclaimable_space(struct r5l_log * log) r5l_reclaimable_space() argument 1180 r5l_run_no_mem_stripe(struct r5l_log * log) r5l_run_no_mem_stripe() argument 1195 r5l_complete_finished_ios(struct r5l_log * log) r5l_complete_finished_ios() argument 1221 struct r5l_log *log = io->log; __r5l_stripe_write_finished() local 1254 struct r5l_log *log = container_of(bio, struct r5l_log, r5l_log_flush_endio() local 1284 r5l_flush_stripe_to_raid(struct r5l_log * log) r5l_flush_stripe_to_raid() argument 1310 r5l_write_super_and_discard_space(struct r5l_log * log,sector_t end) r5l_write_super_and_discard_space() argument 1421 struct r5l_log *log = READ_ONCE(conf->log); r5c_do_reclaim() local 1494 r5l_do_reclaim(struct r5l_log * log) r5l_do_reclaim() argument 1550 struct r5l_log *log = READ_ONCE(conf->log); r5l_reclaim_thread() local 1558 r5l_wake_reclaim(struct r5l_log * log,sector_t space) r5l_wake_reclaim() argument 1574 r5l_quiesce(struct r5l_log * log,int quiesce) r5l_quiesce() argument 1592 struct r5l_log *log = READ_ONCE(conf->log); r5l_log_disk_error() local 1626 r5l_recovery_allocate_ra_pool(struct r5l_log * log,struct r5l_recovery_ctx * ctx) r5l_recovery_allocate_ra_pool() argument 1649 r5l_recovery_free_ra_pool(struct r5l_log * log,struct r5l_recovery_ctx * ctx) r5l_recovery_free_ra_pool() argument 1664 r5l_recovery_fetch_ra_pool(struct r5l_log * log,struct r5l_recovery_ctx * ctx,sector_t offset) r5l_recovery_fetch_ra_pool() argument 1698 r5l_recovery_read_page(struct r5l_log * log,struct r5l_recovery_ctx * ctx,struct page * page,sector_t offset) r5l_recovery_read_page() argument 1722 r5l_recovery_read_meta_block(struct r5l_log * log,struct r5l_recovery_ctx * ctx) r5l_recovery_read_meta_block() argument 1757 r5l_recovery_create_empty_meta_block(struct r5l_log * log,struct page * page,sector_t pos,u64 seq) r5l_recovery_create_empty_meta_block() argument 1772 r5l_log_write_empty_meta_block(struct r5l_log * log,sector_t pos,u64 seq) r5l_log_write_empty_meta_block() argument 1800 r5l_recovery_load_data(struct r5l_log * log,struct stripe_head * sh,struct r5l_recovery_ctx * ctx,struct r5l_payload_data_parity * payload,sector_t log_offset) r5l_recovery_load_data() argument 1822 r5l_recovery_load_parity(struct r5l_log * log,struct stripe_head * sh,struct r5l_recovery_ctx * ctx,struct r5l_payload_data_parity * payload,sector_t log_offset) r5l_recovery_load_parity() argument 1968 r5l_recovery_verify_data_checksum(struct r5l_log * log,struct r5l_recovery_ctx * ctx,struct page * page,sector_t log_offset,__le32 log_checksum) r5l_recovery_verify_data_checksum() argument 1988 r5l_recovery_verify_data_checksum_for_mb(struct r5l_log * log,struct r5l_recovery_ctx * ctx) r5l_recovery_verify_data_checksum_for_mb() argument 2061 r5c_recovery_analyze_meta_block(struct r5l_log * log,struct r5l_recovery_ctx * ctx,struct list_head * cached_stripe_list) r5c_recovery_analyze_meta_block() argument 2195 r5c_recovery_load_one_stripe(struct r5l_log * log,struct stripe_head * sh) r5c_recovery_load_one_stripe() argument 2226 r5c_recovery_flush_log(struct r5l_log * log,struct r5l_recovery_ctx * ctx) r5c_recovery_flush_log() argument 2337 r5c_recovery_rewrite_data_only_stripes(struct r5l_log * log,struct r5l_recovery_ctx * ctx) r5c_recovery_rewrite_data_only_stripes() argument 2410 r5c_recovery_flush_data_only_stripes(struct r5l_log * log,struct r5l_recovery_ctx * ctx) r5c_recovery_flush_data_only_stripes() argument 2443 r5l_recovery_log(struct r5l_log * log) r5l_recovery_log() argument 2512 r5l_write_super(struct r5l_log * log,sector_t cp) r5l_write_super() argument 2627 struct r5l_log *log = READ_ONCE(conf->log); r5c_try_caching_write() local 2794 struct r5l_log *log = READ_ONCE(conf->log); r5c_finish_stripe_write_out() local 2871 r5c_cache_data(struct r5l_log * log,struct stripe_head * sh) r5c_cache_data() argument 2929 struct r5l_log *log = READ_ONCE(conf->log); r5c_big_stripe_cached() local 2941 r5l_load_log(struct r5l_log * log) r5l_load_log() argument 3016 r5l_start(struct r5l_log * log) r5l_start() argument 3036 struct r5l_log *log = READ_ONCE(conf->log); r5c_update_on_rdev_error() local 3049 struct r5l_log *log; r5l_init_log() local 3152 struct r5l_log *log = conf->log; r5l_exit_log() local [all...] |
| H A D | dm-log.c | 14 #include <linux/dm-dirty-log.h> 18 #define DM_MSG_PREFIX "dirty region log" 56 * Log modules are named "dm-log-" followed by the 'type_name'. 58 * This function will first try the module "dm-log-<type_name>", 62 * 'dm-log-clustered-disk' then 'dm-log-clustered'. 80 DMWARN("No memory left to attempt log module load for \"%s\"", in get_type() 85 while (request_module("dm-log-%s", type_name_dup) || in get_type() 154 struct dm_dirty_log *log; in dm_dirty_log_create() local 178 dm_dirty_log_destroy(struct dm_dirty_log * log) dm_dirty_log_destroy() argument 319 read_header(struct log_c * log) read_header() argument 368 create_log_context(struct dm_dirty_log * log,struct dm_target * ti,unsigned int argc,char ** argv,struct dm_dev * dev) create_log_context() argument 518 core_ctr(struct dm_dirty_log * log,struct dm_target * ti,unsigned int argc,char ** argv) core_ctr() argument 531 core_dtr(struct dm_dirty_log * log) core_dtr() argument 546 disk_ctr(struct dm_dirty_log * log,struct dm_target * ti,unsigned int argc,char ** argv) disk_ctr() argument 570 disk_dtr(struct dm_dirty_log * log) disk_dtr() argument 589 disk_resume(struct dm_dirty_log * log) disk_resume() argument 653 core_get_region_size(struct dm_dirty_log * log) core_get_region_size() argument 660 core_resume(struct dm_dirty_log * log) core_resume() argument 668 core_is_clean(struct dm_dirty_log * log,region_t region) core_is_clean() argument 675 core_in_sync(struct dm_dirty_log * log,region_t region,int block) core_in_sync() argument 682 core_flush(struct dm_dirty_log * log) core_flush() argument 688 disk_flush(struct dm_dirty_log * log) disk_flush() argument 728 core_mark_region(struct dm_dirty_log * log,region_t region) core_mark_region() argument 735 core_clear_region(struct dm_dirty_log * log,region_t region) core_clear_region() argument 743 core_get_resync_work(struct dm_dirty_log * log,region_t * region) core_get_resync_work() argument 765 core_set_region_sync(struct dm_dirty_log * log,region_t region,int in_sync) core_set_region_sync() argument 780 core_get_sync_count(struct dm_dirty_log * log) core_get_sync_count() argument 793 core_status(struct dm_dirty_log * log,status_type_t status,char * result,unsigned int maxlen) core_status() argument 818 disk_status(struct dm_dirty_log * log,status_type_t status,char * result,unsigned int maxlen) disk_status() argument [all...] |
| H A D | raid5-ppl.c | 3 * Partial Parity Log for closing the RAID5 write hole 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->io_list */ [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 …]
|
| H A D | dm-log-userspace-base.c | 11 #include <linux/dm-dirty-log.h> 13 #include <linux/dm-log-userspace.h> 17 #include "dm-log-userspace-transfer.h" 32 * imposed on the size of data payload by dm-log-userspace-transfer.c: 103 DMERR(" Userspace log server not found."); in userspace_do_request() 107 DMWARN("Attempting to contact userspace log server..."); in userspace_do_request() 115 DMINFO("Reconnected to userspace log server... DM_ULOG_CTR complete"); in userspace_do_request() 121 DMERR("Error trying to resume userspace log: %d", r); in userspace_do_request() 175 * Where 'other args' are the userspace implementation-specific log 179 * <UUID> [integrated_flush] clustered-disk <arg count> <log dev> [all …]
|
| /linux/drivers/pci/pcie/ |
| H A D | tlp.c | 3 * PCIe TLP Log handling 17 * aer_tlp_log_len - Calculate AER Capability TLP Header/Prefix Log length 21 * Return: TLP Header/Prefix Log length 35 * dpc_tlp_log_len - Calculate DPC RP PIO TLP Header/Prefix Log length 38 * Return: TLP Header/Prefix Log length 42 /* Remove ImpSpec Log register from the count */ in dpc_tlp_log_len() 51 * pcie_read_tlp_log - read TLP Header Log 53 * @where: PCI Config offset of TLP Header Log 54 * @where2: PCI Config offset of TLP Prefix Log 55 * @tlp_len: TLP Log length (Header Log + TLP Prefix Log in DWORDs) [all …]
|
| /linux/fs/ntfs3/ |
| H A D | fslog.c | 18 * 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 …]
|
| /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 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 …]
|
| 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/drivers/char/tpm/eventlog/ |
| H A D | efi.c | 16 /* 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 …]
|
| /linux/drivers/gpu/drm/xe/ |
| H A D | xe_guc_log.c | 96 log_to_guc(struct xe_guc_log *log) in log_to_guc() argument 98 return container_of(log, struct xe_guc, log); in log_to_guc() 102 log_to_gt(struct xe_guc_log *log) in log_to_gt() argument 104 return container_of(log, struct xe_gt, uc.guc.log); in log_to_gt() 108 log_to_xe(struct xe_guc_log *log) in log_to_xe() argument 110 return gt_to_xe(log_to_gt(log)); in log_to_xe() 113 static struct xe_guc_log_snapshot *xe_guc_log_snapshot_alloc(struct xe_guc_log *log, bool atomic) in xe_guc_log_snapshot_alloc() argument 124 * NB: kmalloc has a hard limit well below the maximum GuC log buffer size. in xe_guc_log_snapshot_alloc() 128 snapshot->size = xe_bo_size(log->bo); in xe_guc_log_snapshot_alloc() 158 * xe_guc_log_snapshot_free - free a previously captured GuC log snapshot [all …]
|
| /linux/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 29 * correctly. Log item types that always use XLOG_REORDER_ITEM_LIST do 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 [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/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 …]
|
| /linux/include/linux/ |
| H A D | dm-dirty-log.h | 6 * Device-Mapper dirty region log. 36 int (*ctr)(struct dm_dirty_log *log, struct dm_target *ti, 38 void (*dtr)(struct dm_dirty_log *log); 41 * There are times when we don't want the log to touch 44 int (*presuspend)(struct dm_dirty_log *log); 45 int (*postsuspend)(struct dm_dirty_log *log); 46 int (*resume)(struct dm_dirty_log *log); 49 * Retrieves the smallest size of region that the log can 52 uint32_t (*get_region_size)(struct dm_dirty_log *log); 58 int (*is_clean)(struct dm_dirty_log *log, region_t region); [all …]
|
| /linux/tools/testing/selftests/rcutorture/bin/ |
| H A D | kvm-remote.sh | 77 touch "$oldrun/remote-log" 78 echo $scriptname $args >> "$oldrun/remote-log" 79 echo | tee -a "$oldrun/remote-log" 80 echo " ----" kvm.sh output: "(`date`)" | tee -a "$oldrun/remote-log" 81 cat $T/kvm.sh.out | tee -a "$oldrun/remote-log" 88 echo $scriptname: kvm-again.sh failed exit code $? | tee -a "$oldrun/remote-log" 89 cat $T/kvm-again.sh.out | tee -a "$oldrun/remote-log" 100 touch "$oldrun/remote-log" 101 echo $scriptname $args >> "$oldrun/remote-log" 106 echo $scriptname: kvm-again.sh failed exit code $? | tee -a "$oldrun/remote-log" [all …]
|
| /linux/Documentation/ABI/stable/ |
| H A D | sysfs-firmware-opal-elog | 5 This directory exposes error log entries retrieved 8 Each error log is identified by a unique ID and will 11 Each log entry has a directory in /sys/firmware/opal/elog. 13 Log entries may be purged by the service processor 15 Linux if there is no room for more log entries. 17 In the event that Linux has retrieved the log entries 19 the service processor needs more room for log entries, 20 the only remaining copy of a log message may be in 26 The service processor may be able to store more log 31 The raw log format is a binary format. We currently [all …]
|
| /linux/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", in gb_log_request_handler() 39 dev_err(dev, "log request wrong size %d vs %zu\n", len, in gb_log_request_handler() 44 dev_err(dev, "log request of 0 bytes?\n"); in gb_log_request_handler() 49 dev_err(dev, "log request too big: %d\n", len); in gb_log_request_handler() 70 struct gb_log *log; in gb_log_probe() local 80 log = kzalloc_obj(*log); in gb_log_probe() 81 if (!log) in gb_log_probe() 91 log->connection = connection; in gb_log_probe() 92 greybus_set_drvdata(bundle, log); in gb_log_probe() [all …]
|
| /linux/arch/m68k/fpsp040/ |
| H A D | slog2.S | 37 | Step 1. Call slognd to obtain Y = log(X), the natural log of X. 38 | Notes: Even if X is denormalized, log(X) is always normalized. 40 | Step 2. Compute log_10(X) = log(X) * (1/log(10)). 52 | Step 1. Call sLogN to obtain Y = log(X), the natural log of X. 54 | Step 2. Compute log_10(X) = log(X) * (1/log(10)). 66 | Step 1. Call slognd to obtain Y = log(X), the natural log of X. 67 | Notes: Even if X is denormalized, log(X) is always normalized. 69 | Step 2. Compute log_10(X) = log(X) * (1/log(2)). 89 | Step 3. Call sLogN to obtain Y = log(X), the natural log of X. 91 | Step 4. Compute log_2(X) = log(X) * (1/log(2)). [all …]
|