Home
last modified time | relevance | path

Searched refs:ifile (Results 1 – 25 of 28) sorted by relevance

12

/openbmc/linux/fs/nilfs2/
H A Difile.c29 static inline struct nilfs_ifile_info *NILFS_IFILE_I(struct inode *ifile) in NILFS_IFILE_I() argument
31 return (struct nilfs_ifile_info *)NILFS_MDT(ifile); in NILFS_IFILE_I()
52 int nilfs_ifile_create_inode(struct inode *ifile, ino_t *out_ino, in nilfs_ifile_create_inode() argument
58 req.pr_entry_nr = NILFS_FIRST_INO(ifile->i_sb); in nilfs_ifile_create_inode()
61 ret = nilfs_palloc_prepare_alloc_entry(ifile, &req, false); in nilfs_ifile_create_inode()
63 ret = nilfs_palloc_get_entry_block(ifile, req.pr_entry_nr, 1, in nilfs_ifile_create_inode()
66 nilfs_palloc_abort_alloc_entry(ifile, &req); in nilfs_ifile_create_inode()
72 nilfs_palloc_commit_alloc_entry(ifile, &req); in nilfs_ifile_create_inode()
74 nilfs_mdt_mark_dirty(ifile); in nilfs_ifile_create_inode()
94 int nilfs_ifile_delete_inode(struct inode *ifile, ino_t ino) in nilfs_ifile_delete_inode() argument
[all …]
H A Difile.h22 nilfs_ifile_map_inode(struct inode *ifile, ino_t ino, struct buffer_head *ibh) in nilfs_ifile_map_inode() argument
26 return nilfs_palloc_block_get_entry(ifile, ino, ibh, kaddr); in nilfs_ifile_map_inode()
29 static inline void nilfs_ifile_unmap_inode(struct inode *ifile, ino_t ino, in nilfs_ifile_unmap_inode() argument
H A Dinode.c351 err = nilfs_ifile_create_inode(root->ifile, &ino, &bh); in nilfs_new_inode()
361 err = nilfs_ifile_create_inode(root->ifile, &ino, &bh); in nilfs_new_inode()
498 err = nilfs_ifile_get_inode_block(root->ifile, ino, &bh); in __nilfs_read_inode()
502 raw_inode = nilfs_ifile_map_inode(root->ifile, ino, bh); in __nilfs_read_inode()
526 nilfs_ifile_unmap_inode(root->ifile, ino, bh); in __nilfs_read_inode()
535 nilfs_ifile_unmap_inode(root->ifile, ino, bh); in __nilfs_read_inode()
816 struct inode *ifile = ii->i_root->ifile; in nilfs_update_inode() local
819 raw_inode = nilfs_ifile_map_inode(ifile, ino, ibh); in nilfs_update_inode()
822 memset(raw_inode, 0, NILFS_MDT(ifile)->mi_entry_size); in nilfs_update_inode()
833 nilfs_ifile_unmap_inode(ifile, ino, ibh); in nilfs_update_inode()
[all …]
H A DMakefile6 ifile.o alloc.o gcinode.o ioctl.o sysfs.o
H A Dsegment.c840 if (nilfs_mdt_fetch_dirty(root->ifile)) in nilfs_test_metadata_dirty()
879 nilfs_mdt_clear_dirty(sci->sc_root->ifile); in nilfs_segctor_clear_metadata_dirty()
946 nilfs_write_inode_common(sci->sc_root->ifile, in nilfs_segctor_fill_in_checkpoint()
955 static void nilfs_fill_in_file_bmap(struct inode *ifile, in nilfs_fill_in_file_bmap() argument
965 raw_inode = nilfs_ifile_map_inode(ifile, ii->vfs_inode.i_ino, in nilfs_fill_in_file_bmap()
968 nilfs_ifile_unmap_inode(ifile, ii->vfs_inode.i_ino, ibh); in nilfs_fill_in_file_bmap()
977 nilfs_fill_in_file_bmap(sci->sc_root->ifile, ii); in nilfs_segctor_fill_in_file_bmap()
1229 err = nilfs_segctor_scan_file(sci, sci->sc_root->ifile, in nilfs_segctor_collect_blocks()
1982 struct inode *ifile = sci->sc_root->ifile; in nilfs_segctor_collect_dirty_files() local
1993 ifile, ii->vfs_inode.i_ino, &ibh); in nilfs_segctor_collect_dirty_files()
[all …]
H A Dthe_nilfs.h245 struct inode *ifile; member
H A Dsuper.c556 if (root->ifile) in nilfs_attach_checkpoint()
574 &raw_cp->cp_ifile_inode, &root->ifile); in nilfs_attach_checkpoint()
660 err = nilfs_ifile_count_free_inodes(root->ifile, in nilfs_statfs()
H A Dthe_nilfs.c887 new->ifile = NULL; in nilfs_find_or_create_root()
916 iput(root->ifile); in nilfs_put_root()
/openbmc/phosphor-led-manager/scripts/
H A Dparse_led.py107 ifile, led_name, list_dict, priority_dict, ofile, has_group_priority, group argument
146 def generate_file_single_group(ifile, group, priority_dict, ofile): argument
149 led_dict = ifile[group]
176 ifile,
190 def generate_file(ifile, ofile): argument
200 for group in list(ifile.keys()):
201 generate_file_single_group(ifile, group, priority_dict, ofile)
248 ifile = yaml.safe_load(f) variable
251 generate_file(ifile, ofile)
/openbmc/phosphor-host-ipmid/scripts/
H A Dinventory-sensor.py13 ifile = yaml.safe_load(f)
14 if not isinstance(ifile, dict):
15 ifile = {}
25 fd.write(t.render(sensorDict=ifile))
H A Dsensor_gen.py13 ifile = yaml.safe_load(f)
14 if not isinstance(ifile, dict):
15 ifile = {}
23 fd.write(t.render(sensorDict=ifile))
H A Dfru_gen.py13 ifile = yaml.safe_load(f)
14 if not isinstance(ifile, dict):
15 ifile = {}
23 fd.write(t.render(fruDict=ifile))
/openbmc/ipmi-fru-parser/scripts/
H A Dfru_gen.py13 ifile = yaml.safe_load(f)
14 if not isinstance(ifile, dict):
15 ifile = {}
23 fd.write(t.render(fruDict=ifile))
/openbmc/openpower-host-ipmi-oem/scripts/
H A Dinventory-sensor.py13 ifile = yaml.safe_load(f)
14 if not isinstance(ifile, dict):
15 ifile = {}
25 fd.write(t.render(sensorDict=ifile))
/openbmc/openpower-occ-control/
H A Dsensor_gen.py36 ifile = yaml.safe_load(fd) variable
42 fd.write(t.render(occDict=ifile))
/openbmc/linux/drivers/scsi/aic7xxx/aicasm/
H A Daicasm.c522 FILE *ifile; in output_listing() local
537 if ((ifile = fopen(ifilename, "r")) == NULL) { in output_listing()
610 fgets(buf, sizeof(buf), ifile); in output_listing()
632 fgets(buf, sizeof(buf), ifile); in output_listing()
641 while(fgets(buf, sizeof(buf), ifile) != NULL) in output_listing()
644 fclose(ifile); in output_listing()
/openbmc/u-boot/tools/
H A Difdtool.c822 struct input_file input_file[WRITE_MAX], *ifile, *fdt = NULL; in main() local
931 ifile = &input_file[wr_num]; in main()
935 &ifile->fname)) { in main()
939 ifile->addr = strtoll(optarg, NULL, 0); in main()
1069 ifile = &input_file[wr_idx]; in main()
1070 ret = write_data(image, size, ifile->addr, in main()
1071 ifile->fname, offset_uboot_top, in main()
/openbmc/linux/Documentation/filesystems/
H A Dnilfs2.rst238 1) Inode file (ifile) -- Stores on-disk inodes
248 | Summary | regular file | file | ... | ifile | cpfile | sufile | DAT |SR|
261 included in the ifile. The inode of ifile itself is included in the
272 |-- ifile (cno=c1)
273 |-- ifile (cno=c2) ---- file (ino=i1)
275 `-- ifile (cno=xx) |-- file (ino=i3)
/openbmc/ipmitool/include/ipmitool/
H A Dipmi_sdradd.h41 ipmi_sdr_add_from_file(struct ipmi_intf *intf, const char *ifile);
H A Dipmi_sdr.h937 int ipmi_sdr_list_cache_fromfile(struct ipmi_intf *intf, const char *ifile);
/openbmc/phosphor-logging/tools/
H A Delog-gen.py218 ifile = yaml.safe_load(open(i_elog_yaml))
221 for error in ifile:
/openbmc/ipmitool/lib/
H A Dipmi_sunoem.c831 ipmi_sunoem_sshkey_set(struct ipmi_intf * intf, uint8_t uid, char * ifile) in ipmi_sunoem_sshkey_set() argument
842 if (ifile == NULL) { in ipmi_sunoem_sshkey_set()
847 fp = ipmi_open_file_read(ifile); in ipmi_sunoem_sshkey_set()
849 lprintf(LOG_ERR, "Unable to open file '%s' for reading.", ifile); in ipmi_sunoem_sshkey_set()
859 lprintf(LOG_ERR, "Failed to seek in file '%s'.", ifile); in ipmi_sunoem_sshkey_set()
868 lprintf(LOG_ERR, "Failed to seek in file '%s'.", ifile); in ipmi_sunoem_sshkey_set()
874 lprintf(LOG_ERR, "File '%s' is empty.", ifile); in ipmi_sunoem_sshkey_set()
882 lprintf(LOG_ERR, "Failed to seek in file '%s'.", ifile); in ipmi_sunoem_sshkey_set()
902 ifile); in ipmi_sunoem_sshkey_set()
919 ifile); in ipmi_sunoem_sshkey_set()
H A Dipmi_sdradd.c639 ipmi_sdr_add_from_file(struct ipmi_intf *intf, const char *ifile) in ipmi_sdr_add_from_file() argument
647 rc = ipmi_sdr_read_records(ifile, &sdrr_queue); in ipmi_sdr_add_from_file()
H A Dipmi_sdr.c3954 ipmi_sdr_list_cache_fromfile(struct ipmi_intf *intf, const char *ifile) in ipmi_sdr_list_cache_fromfile() argument
3967 if (ifile == NULL) { in ipmi_sdr_list_cache_fromfile()
3972 fp = ipmi_open_file_read(ifile); in ipmi_sdr_list_cache_fromfile()
3975 ifile); in ipmi_sdr_list_cache_fromfile()
/openbmc/linux/
H A Dopengrok1.0.log[all...]

12