Searched defs:offset (Results 1 - 25 of 355) sorted by relevance

1234567891011>>

/fs/btrfs/
H A Dorphan.c23 struct btrfs_root *root, u64 offset)
31 key.offset = offset;
44 struct btrfs_root *root, u64 offset)
52 key.offset = offset;
22 btrfs_insert_orphan_item(struct btrfs_trans_handle *trans, struct btrfs_root *root, u64 offset) argument
43 btrfs_del_orphan_item(struct btrfs_trans_handle *trans, struct btrfs_root *root, u64 offset) argument
H A Dfree-space-cache.h24 u64 offset; member in struct:btrfs_free_space
97 u64 offset, u64 bytes, u64 empty_size,
105 u64 offset, u64 bytes, u64 empty_size);
119 u64 offset, u64 bytes, bool bitmap);
121 u64 offset, u64 bytes);
/fs/qnx4/
H A Dbitmap.c25 int offset = 0; local
32 if ((bh = sb_bread(sb, start + offset)) == NULL) {
40 offset++;
H A Ddir.c20 unsigned int offset; local
40 offset = ix * QNX4_DIR_ENTRY_SIZE;
41 de = (struct qnx4_inode_entry *) (bh->b_data + offset);
H A Dnamei.c26 struct buffer_head *bh, unsigned long *offset)
35 de = (struct qnx4_inode_entry *) (bh->b_data + *offset);
36 *offset += QNX4_DIR_ENTRY_SIZE;
59 unsigned long block, offset, blkofs; local
64 block = offset = blkofs = 0;
65 while (blkofs * QNX4_BLOCK_SIZE + offset < dir->i_size) {
75 *res_dir = (struct qnx4_inode_entry *) (bh->b_data + offset);
76 if (qnx4_match(len, name, bh, &offset)) {
78 (offset / QNX4_DIR_ENTRY_SIZE) - 1;
81 if (offset < b
25 qnx4_match(int len, const char *name, struct buffer_head *bh, unsigned long *offset) argument
[all...]
/fs/
H A Dattr.c87 * @offset: the new size to assign to the inode
99 int inode_newsize_ok(const struct inode *inode, loff_t offset) argument
101 if (inode->i_size < offset) {
105 if (limit != RLIM_INFINITY && offset > limit)
107 if (offset > inode->i_sb->s_maxbytes)
/fs/dlm/
H A Dmidcomms.c34 static void copy_from_cb(void *dst, const void *base, unsigned offset, argument
39 if ((copy + offset) > limit)
40 copy = limit - offset;
41 memcpy(dst, base + offset, copy);
59 unsigned offset, unsigned len, unsigned limit)
78 copy_from_cb(p, base, offset, sizeof(struct dlm_header),
120 copy_from_cb(p, base, offset, msglen, limit);
125 offset += msglen;
126 offset &= (limit - 1);
58 dlm_process_incoming_buffer(int nodeid, const void *base, unsigned offset, unsigned len, unsigned limit) argument
/fs/freevxfs/
H A Dvxfs_immed.c103 u_int64_t offset = (u_int64_t)pp->index << PAGE_CACHE_SHIFT; local
107 memcpy(kaddr, vip->vii_immed.vi_immed + offset, PAGE_CACHE_SIZE);
/fs/qnx6/
H A Dsuper_mmi.c41 __u64 offset; local
67 offset = fs32_to_cpu(sbi, sb1->sb_num_blocks) + QNX6_SUPERBLOCK_AREA /
83 bh2 = sb_bread(s, offset);
136 /* offset for mmi_fs is just SUPERBLOCK_AREA bytes */
/fs/romfs/
H A Dmmap-nommu.c30 unsigned long isize, offset, maxpages, lpages; local
39 offset = pgoff << PAGE_SHIFT;
51 offset += ROMFS_I(inode)->i_dataoffset;
52 if (offset >= mtd->size)
55 if ((offset + len) > mtd->size)
56 len = mtd->size - offset;
58 ret = mtd_get_unmapped_area(mtd, len, offset, flags);
/fs/squashfs/
H A Ddecompressor_single.c65 int b, int offset, int length, struct squashfs_page_actor *output)
72 offset, length, output);
64 squashfs_decompress(struct squashfs_sb_info *msblk, struct buffer_head **bh, int b, int offset, int length, struct squashfs_page_actor *output) argument
H A Dfragment.c53 int offset = SQUASHFS_FRAGMENT_INDEX_OFFSET(fragment); local
59 &offset, sizeof(fragment_entry));
H A Did.c50 int offset = SQUASHFS_ID_BLOCK_OFFSET(index); local
55 err = squashfs_read_metadata(sb, &disk_id, &start_block, &offset,
H A Dsymlink.c53 int offset = squashfs_i(inode)->offset; local
60 "%llx, offset %x\n", page->index, block, offset);
66 bytes = squashfs_read_metadata(sb, NULL, &block, &offset,
71 squashfs_i(inode)->offset);
83 for (bytes = 0; bytes < length; offset = 0, bytes += copied) {
88 squashfs_i(inode)->offset);
94 copied = squashfs_copy_data(pageaddr + bytes, entry, offset,
H A Dblock.c46 u64 *cur_index, int *offset, int *length)
55 if (msblk->devblksize - *offset == 1) {
56 *length = (unsigned char) bh->b_data[*offset];
62 *offset = 1;
64 *length = (unsigned char) bh->b_data[*offset] |
65 (unsigned char) bh->b_data[*offset + 1] << 8;
66 *offset += 2;
68 if (*offset == msblk->devblksize) {
73 *offset = 0;
95 int offset local
45 get_block_length(struct super_block *sb, u64 *cur_index, int *offset, int *length) argument
[all...]
H A Ddecompressor_multi_percpu.c78 int b, int offset, int length, struct squashfs_page_actor *output)
84 offset, length, output);
77 squashfs_decompress(struct squashfs_sb_info *msblk, struct buffer_head **bh, int b, int offset, int length, struct squashfs_page_actor *output) argument
H A Dsquashfs_fs_i.h28 int offset; member in struct:squashfs_inode_info
H A Dxattr_id.c46 int offset = SQUASHFS_XATTR_BLOCK_OFFSET(index); local
51 err = squashfs_read_metadata(sb, &id, &start_block, &offset,
H A Dzlib_wrapper.c66 struct buffer_head **bh, int b, int offset, int length,
78 int avail = min(length, msblk->devblksize - offset);
80 stream->next_in = bh[k]->b_data + offset;
82 offset = 0;
65 zlib_uncompress(struct squashfs_sb_info *msblk, void *strm, struct buffer_head **bh, int b, int offset, int length, struct squashfs_page_actor *output) argument
/fs/btrfs/tests/
H A Dfree-space-tests.c40 cache->key.offset = 1024 * 1024 * 1024;
167 * The first bitmap we have starts at offset 0 so the next one is just
208 * First let's do something simple, an extent at the same offset as the
254 * Ok so a little more evil, extent entry and bitmap at the same offset,
276 /* Now with the extent entry offset into the bitmap */
302 * bitmap entry, but we're trying to remove an offset that falls
397 u64 offset; local
410 offset = btrfs_find_space_for_alloc(cache, 0, 4096, 0,
412 if (offset != 0) {
413 test_msg("Space allocation did not fail, returned offset
439 u64 offset; local
[all...]
H A Dinode-tests.c27 u64 ram_bytes, u64 offset, u64 disk_bytenr,
45 key.offset = start;
54 btrfs_set_file_extent_offset(leaf, fi, offset);
76 key.offset = 0;
104 u64 offset = 0; local
107 insert_extent(root, offset, 5, 5, 0, 0, 0, BTRFS_FILE_EXTENT_REG, 0,
110 offset += 5;
118 insert_extent(root, offset, 1, 1, 0, 0, 0, BTRFS_FILE_EXTENT_INLINE, 0,
121 offset = 4096;
124 insert_extent(root, offset,
26 insert_extent(struct btrfs_root *root, u64 start, u64 len, u64 ram_bytes, u64 offset, u64 disk_bytenr, u64 disk_len, u32 type, u8 compression, int slot) argument
229 u64 offset; local
[all...]
/fs/nfs/
H A Dnfs42proc.c35 loff_t nfs42_proc_llseek(struct file *filep, loff_t offset, int whence) argument
40 .sa_offset = offset,
/fs/9p/
H A Dxattr.c29 u64 offset = 0, attr_size; local
55 read_count = p9_client_read(attr_fid, ((char *)buffer)+offset,
56 NULL, offset, read_count);
62 offset += read_count;
66 retval = offset;
123 u64 offset = 0; local
149 write_count = p9_client_write(fid, ((char *)value)+offset,
150 NULL, offset, write_count);
156 offset += write_count;
/fs/adfs/
H A Dmap.c38 * however, the frag id specifies an offset (in map bits) from the end
43 * offset. This allows a directory fragment to contain small files
65 * return the map bit offset of the fragment frag_id in the zone dm.
72 const unsigned int frag_id, unsigned int *offset)
116 if (*offset >= length) {
117 *offset -= length;
121 return start + *offset;
249 unsigned int offset)
267 /* Convert sector offset to map offset */
71 lookup_zone(const struct adfs_discmap *dm, const unsigned int idlen, const unsigned int frag_id, unsigned int *offset) argument
248 adfs_map_lookup(struct super_block *sb, unsigned int frag_id, unsigned int offset) argument
[all...]
/fs/afs/
H A Dfile.c22 static void afs_invalidatepage(struct page *page, unsigned int offset,
133 off_t offset; local
169 offset = page->index << PAGE_CACHE_SHIFT;
170 len = min_t(size_t, i_size_read(inode) - offset, PAGE_SIZE);
174 ret = afs_vnode_fetch_data(vnode, key, offset, len, page);
311 * - release a page and clean up its private data if offset is 0 (indicating
314 static void afs_invalidatepage(struct page *page, unsigned int offset, argument
319 _enter("{%lu},%u,%u", page->index, offset, length);
324 if (offset == 0 && length == PAGE_CACHE_SIZE) {

Completed in 421 milliseconds

1234567891011>>