/external/syslinux/core/fs/ |
nonextextent.c | 7 int no_next_extent(struct inode *inode, uint32_t lstart) 9 (void)inode;
|
getfssec.c | 38 * inode->next_extent.pstart and inode->next_extent.len (the caller 39 * will store the initial sector number into inode->next_extent.lstart 42 * If inode->next_extent.len != 0 on entry then the routine is allowed 43 * to assume inode->next_extent contains valid data from the previous 48 * information into inode->next_extent at searchdir/iget time, and leave 74 static void get_next_extent(struct inode *inode) 77 uint32_t lstart = inode->this_extent.lstart + inode->this_extent.len 91 struct inode *inode = file->inode; local [all...] |
fs.c | 25 * Get a new inode structure 27 struct inode *alloc_inode(struct fs_info *fs, uint32_t ino, size_t data) 29 struct inode *inode = zalloc(sizeof(struct inode) + data); local 30 if (inode) { 31 inode->fs = fs; 32 inode->ino = ino; 33 inode->refcnt = 1; 35 return inode; 146 struct inode *tmp, *inode = NULL; local [all...] |
/external/e2fsprogs/lib/ext2fs/ |
valid_blk.c | 2 * valid_blk.c --- does the inode have valid blocks? 24 * This function returns 1 if the inode's block entries actually 27 int ext2fs_inode_has_valid_blocks2(ext2_filsys fs, struct ext2_inode *inode) 33 if (!LINUX_S_ISDIR(inode->i_mode) && !LINUX_S_ISREG(inode->i_mode) && 34 !LINUX_S_ISLNK(inode->i_mode)) 41 if (LINUX_S_ISLNK (inode->i_mode)) { 42 if (ext2fs_file_acl_block(fs, inode) == 0) { 44 if (inode->i_blocks == 0) 48 if (inode->i_size >= EXT2_N_BLOCKS*4 [all...] |
i_block.c | 30 errcode_t ext2fs_iblk_add_blocks(ext2_filsys fs, struct ext2_inode *inode, 33 unsigned long long b = inode->i_blocks; 36 b += ((long long) inode->osd2.linux2.l_i_blocks_hi) << 32; 39 !(inode->i_flags & EXT4_HUGE_FILE_FL)) 46 inode->osd2.linux2.l_i_blocks_hi = b >> 32; 49 inode->i_blocks = b & 0xFFFFFFFF; 53 errcode_t ext2fs_iblk_sub_blocks(ext2_filsys fs, struct ext2_inode *inode, 56 unsigned long long b = inode->i_blocks; 59 b += ((long long) inode->osd2.linux2.l_i_blocks_hi) << 32; 62 !(inode->i_flags & EXT4_HUGE_FILE_FL) [all...] |
symlink.c | 35 struct ext2_inode inode; local 60 memset(&inode, 0, sizeof(struct ext2_inode)); 61 fastlink = (target_len < sizeof(inode.i_block)); 64 &inode, 72 * Allocate an inode, if necessary 82 * Create the inode structure.... 84 inode.i_mode = LINUX_S_IFLNK | 0777; 85 inode.i_uid = inode.i_gid = 0; 86 inode.i_links_count = 1 [all...] |
/external/syslinux/core/fs/lib/ |
close.c | 5 if (file->inode) { 7 put_inode(file->inode);
|
/external/ltp/testcases/kernel/device-drivers/drm/kernel_space/ |
str_drm.h | 34 extern int tdrm_test_interface(struct inode *inode, struct file *filp, 36 extern int tdrm_test_stub_register(struct inode *inode,struct file *filp, 38 extern int tdrm_test_stub_unregister(struct inode *inode,struct file *filp, 40 extern int tdrm_test_uninit_agp(struct inode *inode,struct file *filp, 42 extern int tdrm_test_init_agp(struct inode *inode,struct file *filp [all...] |
tdrm.c | 81 int tdrm_test_stub_register(struct inode *inode, struct file *filp, 92 int tdrm_test_stub_unregister(struct inode *inode, struct file *filp, 99 int tdrm_test_uninit_agp(struct inode *inode, struct file *filp, 106 int tdrm_test_init_agp(struct inode *inode, struct file *filp, 113 int tdrm_test_add_magic(struct inode *inode, struct file *filp [all...] |
/external/squashfs-tools/kernel/fs/squashfs/ |
inode.c | 21 * inode.c 27 * Inodes in Squashfs are identified by a 48-bit inode which encodes the 28 * location of the compressed metadata block containing the inode, and the byte 29 * offset into that block where the inode is placed (<block, offset>). 32 * (regular file, directory, device, etc.), the inode contents and length 35 * To further maximise compression, two types of regular file inode and 36 * directory inode are defined: inodes optimised for frequently occurring 51 * Initialise VFS inode with the base inode information common to all 52 * Squashfs inode types. Sqsh_ino contains the unswapped base inod 82 struct inode *inode = iget_locked(sb, ino_number); local [all...] |
/external/perfetto/tools/trace_to_text/ |
ftrace_inode_handler.h | 26 bool ParseInode(const protos::FtraceEvent&, uint64_t* inode);
|
ftrace_inode_handler.cc | 21 bool ParseInode(const protos::FtraceEvent& event, uint64_t* inode) { 23 *inode = static_cast<uint64_t>(event.ext4_alloc_da_blocks().ino()); 27 *inode = static_cast<uint64_t>(event.ext4_allocate_blocks().ino()); 31 *inode = static_cast<uint64_t>(event.ext4_allocate_inode().ino()); 35 *inode = static_cast<uint64_t>(event.ext4_begin_ordered_truncate().ino()); 39 *inode = static_cast<uint64_t>(event.ext4_collapse_range().ino()); 43 *inode = static_cast<uint64_t>(event.ext4_da_release_space().ino()); 47 *inode = static_cast<uint64_t>(event.ext4_da_reserve_space().ino()); 51 *inode = static_cast<uint64_t>(event.ext4_da_update_reserve_space().ino()); 55 *inode = static_cast<uint64_t>(event.ext4_da_write_begin().ino()) [all...] |
/external/freetype/src/cache/ |
ftcimage.c | 34 FTC_INode inode = (FTC_INode)ftcinode; local 38 if ( inode->glyph ) 40 FT_Done_Glyph( inode->glyph ); 41 inode->glyph = NULL; 44 FTC_GNode_Done( FTC_GNODE( inode ), cache ); 45 FT_FREE( inode ); 50 FTC_INode_Free( FTC_INode inode, 53 ftc_inode_free( FTC_NODE( inode ), cache ); 65 FTC_INode inode = NULL; local 68 if ( !FT_NEW( inode ) ) 111 FTC_INode inode = (FTC_INode)ftcinode; local [all...] |
/external/syslinux/core/fs/pxe/ |
gpxeurl.c | 4 static void gpxe_close_file(struct inode *inode) 6 struct pxe_pvt_inode *socket = PVT(inode); 15 * @param: inode -> Inode pointer 18 static void gpxe_get_packet(struct inode *inode) 20 struct pxe_pvt_inode *socket = PVT(inode); 43 inode->size = socket->tftp_filepos; 46 if (inode->size > socket->tftp_filepos [all...] |
pxe.h | 113 * Our inode private information -- this includes the packet buffer! 116 void (*fill_buffer)(struct inode *inode); 117 void (*close)(struct inode *inode); 118 int (*readdir)(struct inode *inode, struct dirent *dirent); 147 struct inode *ctl; /* Control connection (for FTP) */ 188 void (*open)(struct url_info *, int, struct inode *, const char **); 226 int pxe_getc(struct inode *inode) [all...] |
/external/syslinux/core/include/ |
fs.h | 37 struct inode *root, *cwd; /* Root and current directories */ 66 struct inode * (*iget_root)(struct fs_info *); 67 struct inode * (*iget)(const char *, struct inode *); 68 int (*readlink)(struct inode *, char *); 73 int (*next_extent)(struct inode *, uint32_t); 98 * The inode structure, including the detail file information 100 struct inode { struct 101 struct fs_info *fs; /* The filesystem this inode is associated with */ 102 struct inode *parent; /* Parent directory, if any * 122 struct inode *inode; \/* The file-specific information *\/ member in struct:file [all...] |
/external/syslinux/core/fs/ufs/ |
ufs.c | 84 ufs_get_cache(struct inode *inode, block_t lblock) 87 struct fs_info *fs = inode->fs; 88 struct ufs_sb_info *sb = UFS_SB(inode->fs); 93 frag_addr = ufs_bmap(inode, lblock, NULL); 114 ufs_find_entry(struct fs_info *fs, struct inode *inode, const char *dname) 122 for (i = 0; i < inode->size; i += fs->block_size) { 123 data = ufs_get_cache(inode, index++); 125 maxoffset = min(inode->size-i, fs->block_size) 198 struct inode *inode; local 235 struct inode *inode; local 377 struct inode *inode = file->inode; local [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/linux/ |
fs.h | 211 #define MS_I_VERSION (1<<23) /* Update inode I_version field */ 229 /* Inode flags - they have nothing to superblock flags now */ 236 #define S_NOQUOTA 32 /* Inode is not counted to quota */ 240 #define S_PRIVATE 512 /* Inode is fs-internal */ 241 #define S_IMA 1024 /* Inode has an associated IMA struct */ 246 * Note that nosuid etc flags are inode-specific: setting some file-system 258 #define __IS_FLG(inode,flg) ((inode)->i_sb->s_flags & (flg)) 260 #define IS_RDONLY(inode) ((inode)->i_sb->s_flags & MS_RDONLY [all...] |
/system/core/libappfuse/include/libappfuse/ |
FuseAppLoop.h | 34 virtual void OnLookup(uint64_t unique, uint64_t inode) = 0; 35 virtual void OnGetAttr(uint64_t unique, uint64_t inode) = 0; 36 virtual void OnFsync(uint64_t unique, uint64_t inode) = 0; 37 virtual void OnWrite(uint64_t unique, uint64_t inode, uint64_t offset, uint32_t size, 39 virtual void OnRead(uint64_t unique, uint64_t inode, uint64_t offset, uint32_t size) = 0; 40 virtual void OnOpen(uint64_t unique, uint64_t inode) = 0; 41 virtual void OnRelease(uint64_t unique, uint64_t inode) = 0; 53 bool ReplyLookup(uint64_t unique, uint64_t inode, int64_t size); 54 bool ReplyGetAttr(uint64_t unique, uint64_t inode, int64_t size, int mode);
|
/external/ltp/testcases/kernel/syscalls/utils/ |
inotify.h | 2 * Inode based directory notification for Linux 72 * struct inotify_watch - represents a watch request on a specific inode 75 * i_list, mask are protected by inode->inotify_mutex of the associated inode. 76 * ih, inode, and wd are never written to once the watch is created. 84 struct list_head i_list; /* entry in inode's list */ 87 struct inode *inode; /* associated inode */ member in struct:inotify_watch 94 const char *, struct inode *); [all...] |
/external/strace/ |
socketutils.c | 52 unsigned long inode; member in struct:__anon35338 61 cache_inode_details(const unsigned long inode, char *const details) 63 cache_entry *e = &cache[inode & CACHE_MASK]; 65 e->inode = inode; 72 get_sockaddr_by_inode_cached(const unsigned long inode) 74 const cache_entry *const e = &cache[inode & CACHE_MASK]; 75 return (e && inode == e->inode) ? e->details : NULL; 79 print_sockaddr_by_inode_cached(const unsigned long inode) [all...] |
/external/syslinux/core/fs/xfs/ |
xfs.c | 67 struct inode *inode = file->inode; local 71 core = xfs_dinode_get_core(fs, inode->ino); 73 xfs_error("Failed to get dinode from disk (ino %llx)", inode->ino); 91 static int xfs_next_extent(struct inode *inode, uint32_t lstart) 93 struct fs_info *fs = inode->fs; 107 xfs_debug("inode %p lstart %lu", inode, lstart) 216 struct inode *inode = NULL; local 302 struct inode *inode = xfs_new_inode(fs); local [all...] |
xfs_dir2.h | 35 struct inode *xfs_dir2_local_find_entry(const char *dname, struct inode *parent, 37 struct inode *xfs_dir2_block_find_entry(const char *dname, struct inode *parent, 39 struct inode *xfs_dir2_leaf_find_entry(const char *dname, struct inode *parent, 41 struct inode *xfs_dir2_node_find_entry(const char *dname, struct inode *parent,
|
/external/e2fsprogs/debugfs/ |
dump.c | 2 * dump.c --- dump the contents of an inode out to a file 70 static void fix_perms(const char *cmd, const struct ext2_inode *inode, 77 i = fchmod(fd, mode_xlate(inode->i_mode)); 79 i = chmod(name, mode_xlate(inode->i_mode)); 84 i = chown(name, inode->i_uid, inode->i_gid); 87 i = fchown(fd, inode->i_uid, inode->i_gid); 89 i = chown(name, inode->i_uid, inode->i_gid) 104 struct ext2_inode inode; local 149 ext2_ino_t inode; local 313 struct ext2_inode inode; local 353 struct ext2_inode inode; local 373 ext2_ino_t inode; local [all...] |
/external/perfetto/src/traced/probes/filesystem/ |
range_tree.cc | 22 const std::set<std::string> RangeTree::Get(Inode inode) { 24 auto lower = map_.upper_bound(inode); 32 void RangeTree::Insert(Inode inode, RangeTree::DataType value) { 35 PERFETTO_DCHECK(inode > lower->first); 39 PERFETTO_DCHECK(map_[inode].Add(value));
|