| /OK3568_Linux_fs/kernel/fs/jfs/ |
| H A D | jfs_logmgr.c | 80 #define LOG_LOCK_INIT(log) mutex_init(&(log)->loglock) argument 81 #define LOG_LOCK(log) mutex_lock(&((log)->loglock)) argument 82 #define LOG_UNLOCK(log) mutex_unlock(&((log)->loglock)) argument 89 #define LOGGC_LOCK_INIT(log) spin_lock_init(&(log)->gclock) argument 90 #define LOGGC_LOCK(log) spin_lock_irq(&(log)->gclock) argument 91 #define LOGGC_UNLOCK(log) spin_unlock_irq(&(log)->gclock) argument 163 static int lmWriteRecord(struct jfs_log * log, struct tblock * tblk, 166 static int lmNextPage(struct jfs_log * log); 167 static int lmLogFileSystem(struct jfs_log * log, struct jfs_sb_info *sbi, 172 static int lbmLogInit(struct jfs_log * log); [all …]
|
| /OK3568_Linux_fs/kernel/drivers/md/ |
| H A D | raid5-cache.c | 210 struct r5l_log *log; member 250 bool r5c_is_writeback(struct r5l_log *log) in r5c_is_writeback() argument 252 return (log != NULL && in r5c_is_writeback() 253 log->r5c_journal_mode == R5C_JOURNAL_MODE_WRITE_BACK); in r5c_is_writeback() 256 static sector_t r5l_ring_add(struct r5l_log *log, sector_t start, sector_t inc) in r5l_ring_add() argument 259 if (start >= log->device_size) in r5l_ring_add() 260 start = start - log->device_size; in r5l_ring_add() 264 static sector_t r5l_ring_distance(struct r5l_log *log, sector_t start, in r5l_ring_distance() argument 270 return end + log->device_size - start; in r5l_ring_distance() 273 static bool r5l_has_free_space(struct r5l_log *log, sector_t size) in r5l_has_free_space() argument [all …]
|
| H A D | dm-log.c | 153 struct dm_dirty_log *log; in dm_dirty_log_create() local 155 log = kmalloc(sizeof(*log), GFP_KERNEL); in dm_dirty_log_create() 156 if (!log) in dm_dirty_log_create() 161 kfree(log); in dm_dirty_log_create() 165 log->flush_callback_fn = flush_callback_fn; in dm_dirty_log_create() 166 log->type = type; in dm_dirty_log_create() 167 if (type->ctr(log, ti, argc, argv)) { in dm_dirty_log_create() 168 kfree(log); in dm_dirty_log_create() 173 return log; in dm_dirty_log_create() 177 void dm_dirty_log_destroy(struct dm_dirty_log *log) in dm_dirty_log_destroy() argument [all …]
|
| H A D | raid5-ppl.c | 136 struct ppl_log *log; member 232 static struct ppl_io_unit *ppl_new_iounit(struct ppl_log *log, in ppl_new_iounit() argument 235 struct ppl_conf *ppl_conf = log->ppl_conf; in ppl_new_iounit() 248 io->log = log; in ppl_new_iounit() 266 static int ppl_log_stripe(struct ppl_log *log, struct stripe_head *sh) in ppl_log_stripe() argument 268 struct ppl_io_unit *io = log->current_io; in ppl_log_stripe() 279 if (io && (io->pp_size == log->entry_space || in ppl_log_stripe() 288 io = ppl_new_iounit(log, sh); in ppl_log_stripe() 291 spin_lock_irq(&log->io_list_lock); in ppl_log_stripe() 292 list_add_tail(&io->log_sibling, &log->io_list); in ppl_log_stripe() [all …]
|
| H A D | raid5-log.h | 7 extern int r5l_write_stripe(struct r5l_log *log, struct stripe_head *head_sh); 8 extern void r5l_write_stripe_run(struct r5l_log *log); 9 extern void r5l_flush_stripe_to_raid(struct r5l_log *log); 11 extern int r5l_handle_flush_request(struct r5l_log *log, struct bio *bio); 12 extern void r5l_quiesce(struct r5l_log *log, int quiesce); 14 extern bool r5c_is_writeback(struct r5l_log *log); 23 extern void r5l_wake_reclaim(struct r5l_log *log, sector_t space); 26 extern int r5c_cache_data(struct r5l_log *log, struct stripe_head *sh); 35 extern int r5l_start(struct r5l_log *log); 47 extern int ppl_handle_flush_request(struct r5l_log *log, struct bio *bio); [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/i915/gt/uc/ |
| H A D | intel_guc_log.c | 13 static void guc_log_capture_logs(struct intel_guc_log *log); 58 static void guc_log_enable_flush_events(struct intel_guc_log *log) in guc_log_enable_flush_events() argument 60 intel_guc_enable_msg(log_to_guc(log), in guc_log_enable_flush_events() 65 static void guc_log_disable_flush_events(struct intel_guc_log *log) in guc_log_disable_flush_events() argument 67 intel_guc_disable_msg(log_to_guc(log), in guc_log_disable_flush_events() 143 static void guc_move_to_next_buf(struct intel_guc_log *log) in guc_move_to_next_buf() argument 152 relay_reserve(log->relay.channel, log->vma->obj->base.size); in guc_move_to_next_buf() 155 relay_flush(log->relay.channel); in guc_move_to_next_buf() 158 static void *guc_get_write_buffer(struct intel_guc_log *log) in guc_get_write_buffer() argument 169 return relay_reserve(log->relay.channel, 0); in guc_get_write_buffer() [all …]
|
| H A D | intel_guc_log_debugfs.c | 32 struct intel_guc_log *log = data; in guc_log_level_get() local 34 if (!intel_guc_is_used(log_to_guc(log))) in guc_log_level_get() 37 *val = intel_guc_log_get_level(log); in guc_log_level_get() 44 struct intel_guc_log *log = data; in guc_log_level_set() local 46 if (!intel_guc_is_used(log_to_guc(log))) in guc_log_level_set() 49 return intel_guc_log_set_level(log, val); in guc_log_level_set() 58 struct intel_guc_log *log = inode->i_private; in guc_log_relay_open() local 60 if (!intel_guc_is_ready(log_to_guc(log))) in guc_log_relay_open() 63 file->private_data = log; in guc_log_relay_open() 65 return intel_guc_log_relay_open(log); in guc_log_relay_open() [all …]
|
| /OK3568_Linux_fs/kernel/fs/xfs/ |
| H A D | xfs_log.c | 35 struct xlog *log, 39 struct xlog *log); 46 struct xlog *log, 54 struct xlog *log, 59 struct xlog *log, 63 struct xlog *log, 68 struct xlog *log, 72 struct xlog *log); 75 struct xlog *log, 80 struct xlog *log, [all …]
|
| H A D | xfs_log_recover.c | 44 #define xlog_recover_check_summary(log) argument 61 struct xlog *log, in xlog_verify_bno() argument 65 if (blk_no < 0 || blk_no >= log->l_logBBsize) in xlog_verify_bno() 67 if (bbcount <= 0 || (blk_no + bbcount) > log->l_logBBsize) in xlog_verify_bno() 78 struct xlog *log, in xlog_alloc_buffer() argument 81 int align_mask = xfs_buftarg_dma_alignment(log->l_targ); in xlog_alloc_buffer() 87 if (XFS_IS_CORRUPT(log->l_mp, !xlog_verify_bno(log, 0, nbblks))) { in xlog_alloc_buffer() 88 xfs_warn(log->l_mp, "Invalid block length (0x%x) for buffer", in xlog_alloc_buffer() 107 if (nbblks > 1 && log->l_sectBBsize > 1) in xlog_alloc_buffer() 108 nbblks += log->l_sectBBsize; in xlog_alloc_buffer() [all …]
|
| H A D | xfs_log_priv.h | 362 #define XLOG_CIL_SPACE_LIMIT(log) \ argument 363 min_t(int, (log)->l_logsize >> 3, BBTOB(XLOG_TOTAL_REC_SHIFT(log)) << 4) 365 #define XLOG_CIL_BLOCKING_SPACE_LIMIT(log) \ argument 366 (XLOG_CIL_SPACE_LIMIT(log) * 2) 441 #define XLOG_BUF_CANCEL_BUCKET(log, blkno) \ argument 442 ((log)->l_buf_cancel_table + ((uint64_t)blkno % XLOG_BC_TABLE_SIZE)) 444 #define XLOG_FORCED_SHUTDOWN(log) \ argument 445 (unlikely((log)->l_flags & XLOG_IO_ERROR)) 450 struct xlog *log); 453 struct xlog *log); [all …]
|
| H A D | xfs_log_cil.c | 36 struct xlog *log) in xlog_cil_ticket_alloc() argument 40 tic = xlog_ticket_alloc(log, 0, 1, XFS_TRANSACTION, 0); in xlog_cil_ticket_alloc() 62 struct xlog *log) in xlog_cil_init_post_recovery() argument 64 log->l_cilp->xc_ctx->ticket = xlog_cil_ticket_alloc(log); in xlog_cil_init_post_recovery() 65 log->l_cilp->xc_ctx->sequence = 1; in xlog_cil_init_post_recovery() 125 struct xlog *log, in xlog_cil_alloc_shadow_bufs() argument 225 struct xlog *log, in xfs_cil_prepare_item() argument 266 lv->lv_item->li_seq = log->l_cilp->xc_ctx->sequence; in xfs_cil_prepare_item() 299 struct xlog *log, in xlog_cil_insert_format_items() argument 374 xfs_cil_prepare_item(log, lv, old_lv, diff_len, diff_iovecs); in xlog_cil_insert_format_items() [all …]
|
| /OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-extended/rsyslog/rsyslog/ |
| H A D | rsyslog.conf | 23 auth,authpriv.* /var/log/auth.log 24 *.*;auth,authpriv.none -/var/log/syslog 25 cron.* /var/log/cron.log 26 daemon.* -/var/log/daemon.log 27 kern.* -/var/log/kern.log 28 lpr.* -/var/log/lpr.log 29 mail.* -/var/log/mail.log 30 user.* -/var/log/user.log 36 mail.info -/var/log/mail.info 37 mail.warn -/var/log/mail.warn [all …]
|
| H A D | rsyslog.logrotate | 3 /var/log/syslog 16 /var/log/mail.info 17 /var/log/mail.warn 18 /var/log/mail.err 19 /var/log/mail.log 20 /var/log/daemon.log 21 /var/log/kern.log 22 /var/log/auth.log 23 /var/log/user.log 24 /var/log/lpr.log [all …]
|
| /OK3568_Linux_fs/yocto/poky/meta/recipes-rt/rt-tests/files/ |
| H A D | rt_bmark.py | 107 def log(*msg): function 118 log(stamp, *msg) 123 log("=" * 78) 124 log() 125 log(" Test case (%d/%d): %s" % (seq_no, nr_of_tests, tc_name(name))) 126 log() 127 log("." * 78) 128 log() 159 log("No stress requested") 165 log("Starting stress(", added, ")") [all …]
|
| /OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-support/syslog-ng/files/ |
| H A D | syslog-ng.conf.sysvinit | 24 source s_src { unix-dgram("/dev/log"); internal(); 38 destination d_auth { file("/var/log/auth.log"); }; 39 destination d_cron { file("/var/log/cron.log"); }; 40 destination d_daemon { file("/var/log/daemon.log"); }; 41 destination d_kern { file("/var/log/kern.log"); }; 42 destination d_lpr { file("/var/log/lpr.log"); }; 43 destination d_mail { file("/var/log/mail.log"); }; 44 destination d_syslog { file("/var/log/syslog"); }; 45 destination d_user { file("/var/log/user.log"); }; 46 destination d_uucp { file("/var/log/uucp.log"); }; [all …]
|
| H A D | syslog-ng.conf.systemd | 38 destination d_auth { file("/var/log/auth.log"); }; 39 destination d_cron { file("/var/log/cron.log"); }; 40 destination d_daemon { file("/var/log/daemon.log"); }; 41 destination d_kern { file("/var/log/kern.log"); }; 42 destination d_lpr { file("/var/log/lpr.log"); }; 43 destination d_mail { file("/var/log/mail.log"); }; 44 destination d_syslog { file("/var/log/syslog"); }; 45 destination d_user { file("/var/log/user.log"); }; 46 destination d_uucp { file("/var/log/uucp.log"); }; 48 # This files are the log come from the mail subsystem. [all …]
|
| /OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-support/ssiapi/ssiapi/ |
| H A D | 0001-log-Avoid-shadowing-functions-from-std-lib.patch | 4 Subject: [PATCH 1/4] log: Avoid shadowing functions from std lib 8 lib/log/log.c | 2 +- 9 lib/log/log.h | 8 ++++---- 12 diff --git a/lib/log/log.c b/lib/log/log.c 14 --- a/lib/log/log.c 15 +++ b/lib/log/log.c 25 diff --git a/lib/log/log.h b/lib/log/log.h 27 --- a/lib/log/log.h 28 +++ b/lib/log/log.h 33 -#define log(__level, __message) \ [all …]
|
| /OK3568_Linux_fs/debian/overlay-firmware/usr/bin/ |
| H A D | npu_upgrade_pcie | 27 echo 'start to download loader...' >> /tmp/npu.log 30 echo 'failed to download loader!' >> /tmp/npu.log 33 echo 'download loader ok' >> /tmp/npu.log 36 echo 'start to wait loader...' >> /tmp/npu.log 39 echo 'failed to wait loader!' >> /tmp/npu.log 42 echo 'loader is ready' >> /tmp/npu.log 44 echo 'start to write uboot...' >> /tmp/npu.log 47 echo 'failed to write uboot!' >> /tmp/npu.log 50 echo 'write uboot ok' >> /tmp/npu.log 55 echo 'failed to write trust!' >> /tmp/npu.log [all …]
|
| H A D | npu_upgrade | 27 echo 'start to download loader...' >> /tmp/npu.log 30 echo 'failed to download loader!' >> /tmp/npu.log 33 echo 'download loader ok' >> /tmp/npu.log 36 echo 'start to wait loader...' >> /tmp/npu.log 39 echo 'failed to wait loader!' >> /tmp/npu.log 42 echo 'loader is ready' >> /tmp/npu.log 44 echo 'start to write uboot...' >> /tmp/npu.log 47 echo 'failed to write uboot!' >> /tmp/npu.log 50 echo 'write uboot ok' >> /tmp/npu.log 55 echo 'failed to write trust!' >> /tmp/npu.log [all …]
|
| H A D | npu_upgrade_pcie_combine | 27 echo 'start to download loader...' >> /tmp/npu.log 30 echo 'failed to download loader!' >> /tmp/npu.log 33 echo 'download loader ok' >> /tmp/npu.log 36 echo 'start to wait loader...' >> /tmp/npu.log 39 echo 'failed to wait loader!' >> /tmp/npu.log 42 echo 'loader is ready' >> /tmp/npu.log 44 echo 'start to write uboot...' >> /tmp/npu.log 47 echo 'failed to write uboot!' >> /tmp/npu.log 50 echo 'write uboot ok' >> /tmp/npu.log 55 echo 'failed to write trust!' >> /tmp/npu.log [all …]
|
| /OK3568_Linux_fs/kernel/include/linux/ |
| H A D | dm-dirty-log.h | 35 int (*ctr)(struct dm_dirty_log *log, struct dm_target *ti, 37 void (*dtr)(struct dm_dirty_log *log); 43 int (*presuspend)(struct dm_dirty_log *log); 44 int (*postsuspend)(struct dm_dirty_log *log); 45 int (*resume)(struct dm_dirty_log *log); 51 uint32_t (*get_region_size)(struct dm_dirty_log *log); 57 int (*is_clean)(struct dm_dirty_log *log, region_t region); 70 int (*in_sync)(struct dm_dirty_log *log, region_t region, 77 int (*flush)(struct dm_dirty_log *log); 85 void (*mark_region)(struct dm_dirty_log *log, region_t region); [all …]
|
| /OK3568_Linux_fs/buildroot/package/fbv/ |
| H A D | 0002-cross.patch | 14 echo "libungif check" >>./config.log 15 echo " 1st:" >>./config.log 16 -cc 2>>./config.log >>./config.log -o \$\$~test \$\$~test.c -lungif $libs 17 +$CC 2>>./config.log >>./config.log -o \$\$~test \$\$~test.c -lungif $libs 21 echo " 2nd: -lX11 -L$xdir/lib" >>./config.log 22 - cc 2>>./config.log >>./config.log -o \$\$~test \$\$~test.c -lungif -lX11 -L$xdir/lib $libs 23 + $CC 2>>./config.log >>./config.log -o \$\$~test \$\$~test.c -lungif -lX11 -L$xdir/lib $libs 27 @@ -124,7 +125,7 @@ echo "libungif: $ungif" >> ./config.log 31 -cc 2>>./config.log >>./config.log -o \$\$~test \$\$~test.c -ljpeg $libs 32 +$CC 2>>./config.log >>./config.log -o \$\$~test \$\$~test.c -ljpeg $libs [all …]
|
| /OK3568_Linux_fs/yocto/poky/meta/recipes-devtools/python/python3/ |
| H A D | get_module_deps3.py | 54 log = open('temp/log_%s' % current_module.strip('.*'),'w') variable 55 log.write('Module %s generated the following dependencies:\n' % current_module) 71 log.write('Module was not found\n') 95 log.write('\nCalling: sys.modules[' + '%s' % item + '].__file__\n') 100 log.write(item + ' ') 101 log.write(str(e)) 102 log.write('\n') 108 log.write(item+' ') 109 log.write(str(e)) 115 log.write('Dependency path found:\n%s\n' % dep_path) [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/admin-guide/device-mapper/ |
| H A D | log-writes.rst | 2 dm-log-writes 5 This target takes 2 devices, one to pass all IO to normally, and one to log all 9 able to take arbitrary data from userspace to insert into the log. The data 10 that is in the WRITE requests is copied into the log to make the replay happen 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 …]
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/ |
| H A D | test_verifier_log.c | 48 static int load(char *log, size_t log_len, int log_level) in load() argument 57 attr.log_buf = ptr_to_u64(log); in load() 88 static void test_log_good(char *log, size_t buf_len, size_t log_len, in test_log_good() argument 94 memset(log, 1, buf_len); in test_log_good() 96 ret = load(log, log_len, 1); in test_log_good() 99 len = strnlen(log, buf_len); in test_log_good() 110 if (strchr(log, 1)) { in test_log_good() 115 check_ones(log + len + 1, buf_len - len - 1, in test_log_good() 118 if (memcmp(full_log, log, LOG_SIZE)) { in test_log_good() 124 static void test_log_bad(char *log, size_t log_len, int log_level) in test_log_bad() argument [all …]
|