/openbmc/linux/fs/adfs/ |
H A D | dir.c | 69 dir->nr_buffers = 0; in __adfs_dir_cleanup() 71 if (dir->bhs != dir->bh) in __adfs_dir_cleanup() 72 kfree(dir->bhs); in __adfs_dir_cleanup() 73 dir->bhs = NULL; in __adfs_dir_cleanup() 74 dir->sb = NULL; in __adfs_dir_cleanup() 107 if (dir->bhs != dir->bh) in adfs_dir_read_buffers() 115 memcpy(bhs, dir->bhs, dir->nr_buffers * sizeof(*bhs)); in adfs_dir_read_buffers() 117 dir->bhs = bhs; in adfs_dir_read_buffers() 136 dir->nr_buffers++; in adfs_dir_read_buffers() 149 dir->sb = sb; in adfs_dir_read() [all …]
|
H A D | dir_f.c | 154 dir->dirhead = bufoff(dir->bh, 0); in adfs_f_read() 155 dir->newtail = bufoff(dir->bh, 2007); in adfs_f_read() 157 if (adfs_f_validate(dir)) in adfs_f_read() 160 dir->parent_id = adfs_readval(dir->newtail->dirparent, 3); in adfs_f_read() 166 adfs_dir_relse(dir); in adfs_f_read() 194 adfs_object_fixup(dir, obj); in adfs_dir2obj() 238 dir->pos = 5 + fpos * 26; in adfs_f_setpos() 247 ret = __adfs_dir_get(dir, dir->pos, obj); in adfs_f_getnext() 249 dir->pos += 26; in adfs_f_getnext() 307 dir->newtail->dircheckbyte = adfs_dir_checkbyte(dir); in adfs_f_commit() [all …]
|
H A D | dir_fplus.c | 83 bp = (void *)dir->bhs[bi]->b_data; in adfs_fplus_checkbyte() 84 bs = dir->bhs[bi]->b_size; in adfs_fplus_checkbyte() 116 dir->bighead = h = (void *)dir->bhs[0]->b_data; in adfs_fplus_read() 136 (dir->bhs[dir->nr_buffers - 1]->b_data + (sb->s_blocksize - 8)); in adfs_fplus_read() 153 adfs_dir_relse(dir); in adfs_fplus_read() 164 dir->pos = fpos; in adfs_fplus_setpos() 203 adfs_object_fixup(dir, obj); in adfs_fplus_getnext() 205 dir->pos += 1; in adfs_fplus_getnext() 266 dir->bighead->startmasseq += 1; in adfs_fplus_commit() 270 dir->bigtail->bigdircheckbyte = adfs_fplus_checkbyte(dir); in adfs_fplus_commit() [all …]
|
/openbmc/phosphor-debug-collector/tools/dreport.d/openpower.d/plugins.d/ |
H A D | dumpfilelist | 21 dir="/var/lib/phosphor-debug-collector/dumps/" 23 if [ -d "$dir" ] && [ -n "$(ls -A $dir/)" ]; then 25 add_cmd_output "ls -AX $dir/*/*" "$file_name" "$desc" 31 dir="/var/lib/phosphor-debug-collector/hardwaredump/" 33 if [ -d "$dir" ] && [ -n "$(ls -A $dir/)" ]; then 42 dir="/var/lib/phosphor-debug-collector/hostbootdump/" 44 if [ -d "$dir" ] && [ -n "$(ls -A $dir/)" ]; then 53 dir="/var/lib/phosphor-debug-collector/sbedump/" 55 if [ -d "$dir" ] && [ -n "$(ls -A $dir/)" ]; then 64 dir="/var/lib/systemd/coredump/" [all …]
|
/openbmc/openpower-debug-collector/dump/tools/bmcdump/plugins/ |
H A D | dumpfilelist | 21 dir="/var/lib/phosphor-debug-collector/dumps/" 23 if [ -d "$dir" ] && [ -n "$(ls -A $dir/)" ]; then 25 add_cmd_output "ls -AX $dir/*/*" "$file_name" "$desc" 31 dir="/var/lib/phosphor-debug-collector/hardwaredump/" 33 if [ -d "$dir" ] && [ -n "$(ls -A $dir/)" ]; then 42 dir="/var/lib/phosphor-debug-collector/hostbootdump/" 44 if [ -d "$dir" ] && [ -n "$(ls -A $dir/)" ]; then 53 dir="/var/lib/phosphor-debug-collector/sbedump/" 55 if [ -d "$dir" ] && [ -n "$(ls -A $dir/)" ]; then 64 dir="/var/lib/systemd/coredump/" [all …]
|
/openbmc/linux/lib/ |
H A D | ref_tracker.c | 94 if (list_empty(&dir->list)) in __ref_tracker_dir_pr_ostream() 100 dir->name, dir, stats); in __ref_tracker_dir_pr_ostream() 110 pr_ostream(s, "%s@%pK has %d/%d users at\n%s\n", dir->name, dir, in __ref_tracker_dir_pr_ostream() 117 dir->name, dir, skipped, stats->total); in __ref_tracker_dir_pr_ostream() 163 dir->dead = true; in ref_tracker_dir_exit() 168 dir->quarantine_avail++; in ref_tracker_dir_exit() 170 if (!list_empty(&dir->list)) { in ref_tracker_dir_exit() 195 WARN_ON_ONCE(dir->dead); in ref_tracker_alloc() 228 WARN_ON_ONCE(dir->dead); in ref_tracker_free() 263 if (!dir->quarantine_avail) { in ref_tracker_free() [all …]
|
/openbmc/linux/include/linux/ |
H A D | ref_tracker.h | 30 INIT_LIST_HEAD(&dir->list); in ref_tracker_dir_init() 31 INIT_LIST_HEAD(&dir->quarantine); in ref_tracker_dir_init() 32 spin_lock_init(&dir->lock); in ref_tracker_dir_init() 33 dir->quarantine_avail = quarantine_count; in ref_tracker_dir_init() 34 dir->dead = false; in ref_tracker_dir_init() 35 refcount_set(&dir->untracked, 1); in ref_tracker_dir_init() 36 refcount_set(&dir->no_tracker, 1); in ref_tracker_dir_init() 37 strscpy(dir->name, name, sizeof(dir->name)); in ref_tracker_dir_init() 41 void ref_tracker_dir_exit(struct ref_tracker_dir *dir); 51 int ref_tracker_alloc(struct ref_tracker_dir *dir, [all …]
|
/openbmc/linux/drivers/misc/cxl/ |
H A D | debugfs.c | 39 debugfs_create_io_x64("fir_mask", 0400, dir, in cxl_debugfs_add_adapter_regs_psl9() 43 debugfs_create_io_x64("debug", 0600, dir, in cxl_debugfs_add_adapter_regs_psl9() 45 debugfs_create_io_x64("xsl-debug", 0600, dir, in cxl_debugfs_add_adapter_regs_psl9() 59 struct dentry *dir; in cxl_debugfs_adapter_add() local 66 dir = debugfs_create_dir(buf, cxl_debugfs); in cxl_debugfs_adapter_add() 67 adapter->debugfs = dir; in cxl_debugfs_adapter_add() 72 adapter->native->sl_ops->debugfs_add_adapter_regs(adapter, dir); in cxl_debugfs_adapter_add() 98 struct dentry *dir; in cxl_debugfs_afu_add() local 105 dir = debugfs_create_dir(buf, afu->adapter->debugfs); in cxl_debugfs_afu_add() 106 afu->debugfs = dir; in cxl_debugfs_afu_add() [all …]
|
/openbmc/openbmc/poky/meta/recipes-core/ifupdown/files/ |
H A D | tweak-ptest-script.patch | 22 -dir=tests/linux 24 +dir=$curdir/linux 32 - ./ifup -v --no-act-commands --force -i $dir/testcase.$test --state-dir=$dir/state.$test $a… 33 + ifup -v --no-act-commands --force -i $dir/testcase.$test --state-dir=$dir/state.$test $arg… 34 >$dir/up-res-out.$test 2>$dir/up-res-err.$test || exitcode=$? 38 echo "====stderr===="; cat $dir/up-res-err.$test) > $dir/up-res.$test 41 - ./ifdown -v --no-act-commands --force -i $dir/testcase.$test --state-dir=$dir/state.$test … 42 + ifdown -v --no-act-commands --force -i $dir/testcase.$test --state-dir=$dir/state.$test $a… 43 >$dir/down-res-out.$test 2>$dir/down-res-err.$test || exitcode=$? 47 echo "====stderr===="; cat $dir/down-res-err.$test) > $dir/down-res.$test [all …]
|
/openbmc/linux/fs/ubifs/ |
H A D | dir.c | 327 dir->i_mtime = inode_set_ctime_to_ts(dir, inode_get_ctime(inode)); in ubifs_create() 770 dir->i_mtime = inode_set_ctime_to_ts(dir, inode_get_ctime(inode)); in ubifs_link() 844 dir->i_mtime = inode_set_ctime_to_ts(dir, inode_get_ctime(inode)); in ubifs_unlink() 944 drop_nlink(dir); in ubifs_rmdir() 947 dir->i_mtime = inode_set_ctime_to_ts(dir, inode_get_ctime(inode)); in ubifs_rmdir() 966 inc_nlink(dir); in ubifs_rmdir() 1018 inc_nlink(dir); in ubifs_mkdir() 1021 dir->i_mtime = inode_set_ctime_to_ts(dir, inode_get_ctime(inode)); in ubifs_mkdir() 1037 drop_nlink(dir); in ubifs_mkdir() 1112 dir->i_mtime = inode_set_ctime_to_ts(dir, inode_get_ctime(inode)); in ubifs_mknod() [all …]
|
/openbmc/linux/fs/ext4/ |
H A D | namei.c | 857 !(IS_ENCRYPTED(dir) && IS_CASEFOLDED(dir))) { in dx_probe() 2213 dir->i_mtime = inode_set_ctime_current(dir); in add_dirent_to_buf() 3251 dir->i_mtime = inode_set_ctime_current(dir); in ext4_rmdir() 3326 dir->i_mtime = inode_set_ctime_current(dir); in __ext4_unlink() 3694 ent->dir->i_mtime = inode_set_ctime_current(ent->dir); in ext4_setent() 3934 if (IS_DIRSYNC(old.dir) || IS_DIRSYNC(new.dir)) in ext4_rename() 3944 if (new.dir != old.dir && EXT4_DIR_LINK_MAX(new.dir)) in ext4_rename() 3958 force_reread = (new.dir->i_ino == old.dir->i_ino && in ext4_rename() 4009 old.dir->i_mtime = inode_set_ctime_current(old.dir); in ext4_rename() 4157 if (IS_DIRSYNC(old.dir) || IS_DIRSYNC(new.dir)) in ext4_cross_rename() [all …]
|
/openbmc/linux/drivers/nubus/ |
H A D | nubus.c | 229 dir->ptr = dir->base = board->directory; in nubus_get_root_dir() 230 dir->done = 0; in nubus_get_root_dir() 239 dir->ptr = dir->base = fres->directory; in nubus_get_func_dir() 240 dir->done = 0; in nubus_get_func_dir() 251 dir->ptr = dir->base = board->directory; in nubus_get_board_dir() 252 dir->done = 0; in nubus_get_board_dir() 268 dir->ptr = dir->base = nubus_dirptr(ent); in nubus_get_subdir() 269 dir->done = 0; in nubus_get_subdir() 306 dir->ptr = dir->base; in nubus_rewinddir() 307 dir->done = 0; in nubus_rewinddir() [all …]
|
/openbmc/linux/fs/f2fs/ |
H A D | dir.c | 52 if (IS_CASEFOLDED(dir) && in f2fs_init_casefolded_name() 196 if (IS_ENCRYPTED(dir)) { in f2fs_match_ci_name() 383 dir->i_ino, max_depth); in __f2fs_find_entry() 459 dir->i_mtime = inode_set_ctime_current(dir); in f2fs_set_link() 479 if (IS_ENCRYPTED(dir)) { in init_dent_inode() 488 if (IS_CASEFOLDED(dir)) { in init_dent_inode() 613 dir->i_mtime = inode_set_ctime_current(dir); in f2fs_update_parent_metadata() 650 make_dentry_ptr_inline(dir, &d, inline_data_addr(dir, ipage)); in f2fs_has_enough_room() 699 F2FS_I(dir)->chash = 0; in f2fs_add_regular_entry() 893 f2fs_add_ino_entry(F2FS_I_SB(dir), dir->i_ino, TRANS_DIR_INO); in f2fs_delete_entry() [all …]
|
H A D | inline.c | 465 stat_dec_inline_dir(dir); in f2fs_move_inline_dirents() 473 !f2fs_has_inline_xattr(dir)) in f2fs_move_inline_dirents() 476 f2fs_i_depth_write(dir, 1); in f2fs_move_inline_dirents() 532 f2fs_remove_dirty_inode(dir); in f2fs_add_inline_entries() 560 stat_dec_inline_dir(dir); in f2fs_move_rehashed_dirents() 568 !f2fs_has_inline_xattr(dir)) in f2fs_move_rehashed_dirents() 577 f2fs_i_depth_write(dir, 0); in f2fs_move_rehashed_dirents() 578 f2fs_i_size_write(dir, MAX_INLINE_DATA(dir)); in f2fs_move_rehashed_dirents() 589 if (!F2FS_I(dir)->i_dir_level) in do_convert_inline_dir() 722 dir->i_mtime = inode_set_ctime_current(dir); in f2fs_delete_inline_entry() [all …]
|
/openbmc/qemu/util/ |
H A D | filemonitor-inotify.c | 85 QFileMonitorDir *dir; in qemu_file_monitor_watch() local 106 if (!dir) { in qemu_file_monitor_watch() 172 g_free(dir->path); in qemu_file_monitor_dir_free() 173 g_free(dir); in qemu_file_monitor_dir_free() 258 QFileMonitorDir *dir; in qemu_file_monitor_add_watch() local 264 if (!dir) { in qemu_file_monitor_add_watch() 281 g_hash_table_insert(mon->dirs, dir->path, dir); in qemu_file_monitor_add_watch() 289 watch.id = (((int64_t)dir->inotify_id) << 32) | dir->next_file_id++; in qemu_file_monitor_add_watch() 312 QFileMonitorDir *dir; in qemu_file_monitor_remove_watch() local 320 if (!dir) { in qemu_file_monitor_remove_watch() [all …]
|
/openbmc/linux/drivers/thunderbolt/ |
H A D | property.c | 118 if (!dir) { in tb_property_parse() 122 property->value.dir = dir; in tb_property_parse() 169 dir = kzalloc(sizeof(*dir), GFP_KERNEL); in __tb_property_parse_dir() 170 if (!dir) in __tb_property_parse_dir() 204 return dir; in __tb_property_parse_dir() 246 dir = kzalloc(sizeof(*dir), GFP_KERNEL); in tb_property_create_dir() 247 if (!dir) in tb_property_create_dir() 259 return dir; in tb_property_create_dir() 297 if (!dir) in tb_property_free_dir() 517 if (!dir) in tb_property_copy_dir() [all …]
|
/openbmc/linux/fs/hpfs/ |
H A D | namei.c | 14 time64_t t = local_to_gmt(dir->i_sb, local_get_seconds(dir->i_sb)); in hpfs_update_directory_times() 18 dir->i_mtime = inode_set_ctime(dir, t, 0); in hpfs_update_directory_times() 39 hpfs_lock(dir->i_sb); in hpfs_mkdir() 41 fnode = hpfs_alloc_fnode(dir->i_sb, hpfs_i(dir)->i_dno, &fno, &bh); in hpfs_mkdir() 101 inc_nlink(dir); in hpfs_mkdir() 145 fnode = hpfs_alloc_fnode(dir->i_sb, hpfs_i(dir)->i_dno, &fno, &bh); in hpfs_create() 231 fnode = hpfs_alloc_fnode(dir->i_sb, hpfs_i(dir)->i_dno, &fno, &bh); in hpfs_mknod() 307 fnode = hpfs_alloc_fnode(dir->i_sb, hpfs_i(dir)->i_dno, &fno, &bh); in hpfs_symlink() 381 de = map_dirent(dir, hpfs_i(dir)->i_dno, name, len, &dno, &qbh); in hpfs_unlink() 432 de = map_dirent(dir, hpfs_i(dir)->i_dno, name, len, &dno, &qbh); in hpfs_rmdir() [all …]
|
/openbmc/linux/drivers/dma/dw-edma/ |
H A D | dw-edma-v0-core.c | 41 if ((dir) == EDMA_DIR_WRITE) \ 48 ((dir) == EDMA_DIR_WRITE \ 66 if ((dir) == EDMA_DIR_WRITE) \ 73 ((dir) == EDMA_DIR_WRITE \ 100 if (dir == EDMA_DIR_WRITE) in __dw_ch_regs() 116 if (dir == EDMA_DIR_READ) in writel_ch() 141 if (dir == EDMA_DIR_READ) in readl_ch() 157 writel_ch(dw, dir, ch, value, &(__dw_ch_regs(dw, dir, ch)->name)) 160 readl_ch(dw, dir, ch, &(__dw_ch_regs(dw, dir, ch)->name)) 176 if (dir == EDMA_DIR_WRITE) in dw_edma_v0_core_ch_count() [all …]
|
H A D | dw-hdma-v0-debugfs.c | 83 CTX_REGISTER(dw, ch_en, dir, ch), in dw_hdma_debugfs_regs_ch() 84 CTX_REGISTER(dw, doorbell, dir, ch), in dw_hdma_debugfs_regs_ch() 85 CTX_REGISTER(dw, prefetch, dir, ch), in dw_hdma_debugfs_regs_ch() 87 CTX_REGISTER(dw, llp.lsb, dir, ch), in dw_hdma_debugfs_regs_ch() 88 CTX_REGISTER(dw, llp.msb, dir, ch), in dw_hdma_debugfs_regs_ch() 91 CTX_REGISTER(dw, sar.lsb, dir, ch), in dw_hdma_debugfs_regs_ch() 92 CTX_REGISTER(dw, sar.msb, dir, ch), in dw_hdma_debugfs_regs_ch() 93 CTX_REGISTER(dw, dar.lsb, dir, ch), in dw_hdma_debugfs_regs_ch() 94 CTX_REGISTER(dw, dar.msb, dir, ch), in dw_hdma_debugfs_regs_ch() 98 CTX_REGISTER(dw, qos, dir, ch), in dw_hdma_debugfs_regs_ch() [all …]
|
/openbmc/linux/fs/reiserfs/ |
H A D | namei.c | 384 if (IS_PRIVATE(dir)) in reiserfs_lookup() 407 if (dir->i_nlink == 0) { in reiserfs_get_parent() 574 dir->i_size += paste_size; in reiserfs_add_entry() 575 dir->i_mtime = inode_set_ctime_current(dir); in reiserfs_add_entry() 841 INC_DIR_INODE_NLINK(dir) in reiserfs_mkdir() 848 DEC_DIR_INODE_NLINK(dir) in reiserfs_mkdir() 865 DEC_DIR_INODE_NLINK(dir); in reiserfs_mkdir() 958 dir, NULL, /* page */ in reiserfs_rmdir() 969 dir->i_mtime = inode_set_ctime_to_ts(dir, in reiserfs_rmdir() 973 DEC_DIR_INODE_NLINK(dir) in reiserfs_rmdir() [all …]
|
/openbmc/linux/tools/power/cpupower/bench/ |
H A D | cpufreq-bench_plot.sh | 9 dir=`mktemp -d` 63 echo "set terminal $picture_type" >> $dir/plot_script.gpl 64 echo "set output \"$output_file\"" >> $dir/plot_script.gpl 65 echo "set title \"$global_title\"" >> $dir/plot_script.gpl 66 echo "set xlabel \"sleep/load time\"" >> $dir/plot_script.gpl 81 echo -n "plot " >> $dir/plot_script.gpl 83 echo -n "\"$dir/data_$plot\" title \"${title[$plot]}\" with lines" >> $dir/plot_script.gpl 85 echo -n ", " >> $dir/plot_script.gpl 88 echo >> $dir/plot_script.gpl 90 gnuplot $dir/plot_script.gpl [all …]
|
/openbmc/linux/fs/udf/ |
H A D | directory.c | 24 udf_err(iter->dir->i_sb, in udf_verify_fi() 32 udf_err(iter->dir->i_sb, in udf_verify_fi() 43 udf_err(iter->dir->i_sb, in udf_verify_fi() 49 udf_err(iter->dir->i_sb, in udf_verify_fi() 56 udf_err(iter->dir->i_sb, in udf_verify_fi() 58 iter->dir->i_ino, in udf_verify_fi() 82 iter->dir->i_ino); in udf_copy_fi() 244 iter->dir = dir; in udf_fiiter_init() 262 if (inode_bmap(dir, iter->pos >> dir->i_blkbits, &iter->epos, in udf_fiiter_init() 267 udf_err(dir->i_sb, in udf_fiiter_init() [all …]
|
/openbmc/linux/fs/ocfs2/ |
H A D | dir.c | 58 struct inode *dir, 345 struct inode *dir, in ocfs2_search_dirblock() argument 685 sb = dir->i_sb; in ocfs2_find_entry_el() 1352 struct inode *dir, in ocfs2_delete_entry_id() argument 1379 struct inode *dir, in ocfs2_delete_entry_el() argument 2920 i = ocfs2_expand_last_dirent(dirdata_bh->b_data, i_size_read(dir), dir); in ocfs2_expand_inline_dir() 2975 inode_set_mtime_to_ts(dir, inode_set_ctime_current(dir)); in ocfs2_expand_inline_dir() 2997 dir->i_blocks = ocfs2_inode_sector_count(dir); in ocfs2_expand_inline_dir() 3319 dir->i_blocks = ocfs2_inode_sector_count(dir); in ocfs2_extend_dir() 3365 free_space = dir->i_sb->s_blocksize - i_size_read(dir); in ocfs2_find_dir_space_id() [all …]
|
/openbmc/linux/kernel/dma/ |
H A D | mapping.c | 154 BUG_ON(!valid_dma_direction(dir)); in dma_map_page_attrs() 176 BUG_ON(!valid_dma_direction(dir)); in dma_unmap_page_attrs() 192 BUG_ON(!valid_dma_direction(dir)); in __dma_map_sg_attrs() 289 BUG_ON(!valid_dma_direction(dir)); in dma_unmap_sg_attrs() 305 BUG_ON(!valid_dma_direction(dir)); in dma_map_resource() 325 BUG_ON(!valid_dma_direction(dir)); in dma_unmap_resource() 333 enum dma_data_direction dir) in dma_sync_single_for_cpu() argument 337 BUG_ON(!valid_dma_direction(dir)); in dma_sync_single_for_cpu() 351 BUG_ON(!valid_dma_direction(dir)); in dma_sync_single_for_device() 365 BUG_ON(!valid_dma_direction(dir)); in dma_sync_sg_for_cpu() [all …]
|
H A D | direct.h | 22 enum dma_data_direction dir, unsigned long attrs); 28 int nents, enum dma_data_direction dir); 64 arch_sync_dma_for_device(paddr, size, dir); in dma_direct_sync_single_for_device() 73 arch_sync_dma_for_cpu(paddr, size, dir); in dma_direct_sync_single_for_cpu() 80 if (dir == DMA_FROM_DEVICE) in dma_direct_sync_single_for_cpu() 86 enum dma_data_direction dir, unsigned long attrs) in dma_direct_map_page() argument 94 return swiotlb_map(dev, phys, size, dir, attrs); in dma_direct_map_page() 98 dma_kmalloc_needs_bounce(dev, size, dir)) { in dma_direct_map_page() 102 return swiotlb_map(dev, phys, size, dir, attrs); in dma_direct_map_page() 111 arch_sync_dma_for_device(phys, size, dir); in dma_direct_map_page() [all …]
|