Home
last modified time | relevance | path

Searched refs:pad (Results 1 – 25 of 36) sorted by relevance

12

/fs/f2fs/
Dhash.c46 unsigned pad, val; in str2hashbuf() local
49 pad = (__u32)len | ((__u32)len << 8); in str2hashbuf()
50 pad |= pad << 16; in str2hashbuf()
52 val = pad; in str2hashbuf()
57 val = pad; in str2hashbuf()
61 val = pad; in str2hashbuf()
68 *buf++ = pad; in str2hashbuf()
/fs/ext4/
Dhash.c137 __u32 pad, val; in str2hashbuf_signed() local
141 pad = (__u32)len | ((__u32)len << 8); in str2hashbuf_signed()
142 pad |= pad << 16; in str2hashbuf_signed()
144 val = pad; in str2hashbuf_signed()
151 val = pad; in str2hashbuf_signed()
158 *buf++ = pad; in str2hashbuf_signed()
163 __u32 pad, val; in str2hashbuf_unsigned() local
167 pad = (__u32)len | ((__u32)len << 8); in str2hashbuf_unsigned()
168 pad |= pad << 16; in str2hashbuf_unsigned()
170 val = pad; in str2hashbuf_unsigned()
[all …]
/fs/reiserfs/
Dhashes.c50 u32 pad; in keyed_hash() local
55 pad = (u32) len | ((u32) len << 8); in keyed_hash()
56 pad |= pad << 16; in keyed_hash()
85 d = pad; in keyed_hash()
96 c = d = pad; in keyed_hash()
105 b = c = d = pad; in keyed_hash()
111 a = b = c = d = pad; in keyed_hash()
/fs/ubifs/
Dio.c318 void ubifs_pad(const struct ubifs_info *c, void *buf, int pad) in ubifs_pad() argument
322 ubifs_assert(c, pad >= 0); in ubifs_pad()
324 if (pad >= UBIFS_PAD_NODE_SZ) { in ubifs_pad()
334 pad -= UBIFS_PAD_NODE_SZ; in ubifs_pad()
335 pad_node->pad_len = cpu_to_le32(pad); in ubifs_pad()
338 memset(buf + UBIFS_PAD_NODE_SZ, 0, pad); in ubifs_pad()
339 } else if (pad > 0) in ubifs_pad()
341 memset(buf, UBIFS_PADDING_BYTE, pad); in ubifs_pad()
368 void ubifs_init_node(struct ubifs_info *c, void *node, int len, int pad) in ubifs_init_node() argument
381 if (pad) { in ubifs_init_node()
[all …]
Dscan.c83 struct ubifs_pad_node *pad = buf; in ubifs_scan_a_node() local
84 int pad_len = le32_to_cpu(pad->pad_len); in ubifs_scan_a_node()
93 ubifs_dump_node(c, pad); in ubifs_scan_a_node()
Dubifs.h693 int (*sync_callback)(struct ubifs_info *c, int lnum, int free, int pad);
1731 void ubifs_init_node(struct ubifs_info *c, void *buf, int len, int pad);
1733 void ubifs_prepare_node(struct ubifs_info *c, void *buf, int len, int pad);
1735 int hmac_offs, int pad);
1738 void ubifs_pad(const struct ubifs_info *c, void *buf, int pad);
/fs/iomap/
Ddirect-io.c206 unsigned int fs_block_size = i_blocksize(inode), pad; in iomap_dio_bio_actor() local
255 pad = pos & (fs_block_size - 1); in iomap_dio_bio_actor()
256 if (pad) in iomap_dio_bio_actor()
257 iomap_dio_zero(dio, iomap, pos - pad, pad); in iomap_dio_bio_actor()
323 pad = pos & (fs_block_size - 1); in iomap_dio_bio_actor()
324 if (pad) in iomap_dio_bio_actor()
325 iomap_dio_zero(dio, iomap, pos, fs_block_size - pad); in iomap_dio_bio_actor()
/fs/jfs/
Djfs_dmap.h141 u8 pad[2]; /* 2: pad to word boundary */ member
152 u8 pad[1672]; /* 1672: pad to 2048 bytes */ member
169 u8 pad[2714]; /* 2714: pad to 4096 */ member
207 u8 pad[3007]; /* 3007: pad to 4096 */ member
Djfs_imap.h72 u8 pad[1976]; /* 1976: pad to 2048 bytes */ member
108 u8 pad[2016]; /* 2016: pad to 2048 */ member
Djfs_superblock.h39 __le16 pad; /* 2: padding necessary for alignment */ member
Djfs_txnmgr.h249 s64 pad; /* 8: Force 64-bit xdlist size */ member
Djfs_incore.h44 unchar pad; member
/fs/xfs/libxfs/
Dxfs_da_format.h25 __be16 pad; /* unused */ member
323 __be32 pad; /* 64 bit alignment */ member
421 __be32 pad; /* 64 bit alignment */ member
491 __be32 pad; /* 64 bit alignment */ member
/fs/notify/
Dfdinfo.c46 u8 pad[MAX_HANDLE_SZ]; in show_mark_fhandle() member
50 f.handle.handle_bytes = sizeof(f.pad); in show_mark_fhandle()
/fs/hfsplus/
Dhfsplus_raw.h342 u8 pad; member
359 __be16 pad; member
/fs/squashfs/
Dsquashfs_fs.h216 unsigned short pad; member
225 unsigned short pad; member
/fs/afs/
Dxdr_fs.h74 u8 pad[19]; member
/fs/notify/fanotify/
Dfanotify.h72 u16 pad; member
/fs/xfs/scrub/
Dattr.c342 leaf->hdr.info.hdr.pad != 0) in xchk_xattr_block()
345 if (leaf->hdr.pad1 != 0 || leaf->hdr.info.pad != 0) in xchk_xattr_block()
/fs/befs/
Dbefs_fs_types.h197 fs32 pad[4]; /* not use */ member
/fs/jffs2/
DTODO35 1. __jffs2_flush_wbuf() has a strange 'pad' parameter. Eliminate.
Dwbuf.c580 static int __jffs2_flush_wbuf(struct jffs2_sb_info *c, int pad) in __jffs2_flush_wbuf() argument
609 if (pad ) { in __jffs2_flush_wbuf()
657 if (pad) { in __jffs2_flush_wbuf()
/fs/cifs/
Dcifspdu.h427 __u8 pad[2]; member
1973 __u32 pad; /* reserved - MBZ */ member
2139 char pad; member
2146 char pad; member
2438 __u8 pad[3]; member
/fs/hpfs/
Dhpfs.h66 u8 pad[448]; member
/fs/ocfs2/
Ddir.c228 __u32 pad, val; in str2hashbuf() local
231 pad = (__u32)len | ((__u32)len << 8); in str2hashbuf()
232 pad |= pad << 16; in str2hashbuf()
234 val = pad; in str2hashbuf()
239 val = pad; in str2hashbuf()
243 val = pad; in str2hashbuf()
250 *buf++ = pad; in str2hashbuf()

12