Home
last modified time | relevance | path

Searched refs:b (Results 1 – 25 of 154) sorted by relevance

1234567

/fs/cifs/
Dmd5.c174 register __u32 a, b, c, d; in MD5Transform() local
177 b = buf[1]; in MD5Transform()
181 MD5STEP(F1, a, b, c, d, in[0] + 0xd76aa478, 7); in MD5Transform()
182 MD5STEP(F1, d, a, b, c, in[1] + 0xe8c7b756, 12); in MD5Transform()
183 MD5STEP(F1, c, d, a, b, in[2] + 0x242070db, 17); in MD5Transform()
184 MD5STEP(F1, b, c, d, a, in[3] + 0xc1bdceee, 22); in MD5Transform()
185 MD5STEP(F1, a, b, c, d, in[4] + 0xf57c0faf, 7); in MD5Transform()
186 MD5STEP(F1, d, a, b, c, in[5] + 0x4787c62a, 12); in MD5Transform()
187 MD5STEP(F1, c, d, a, b, in[6] + 0xa8304613, 17); in MD5Transform()
188 MD5STEP(F1, b, c, d, a, in[7] + 0xfd469501, 22); in MD5Transform()
[all …]
Dsmbdes.c244 char b[8][6]; in dohash() local
266 b[j][k] = erk[j * 6 + k]; in dohash()
270 m = (b[j][0] << 1) | b[j][5]; in dohash()
272 n = (b[j][1] << 3) | (b[j][2] << 2) | (b[j][3] << in dohash()
273 1) | b[j][4]; in dohash()
276 b[j][k] = in dohash()
282 cb[j * 4 + k] = b[j][k]; in dohash()
Dmd4.c53 #define ROUND1(a,b,c,d,k,s) (*a) = lshift((*a) + F(*b,*c,*d) + X[k], s) argument
54 #define ROUND2(a,b,c,d,k,s) (*a) = lshift((*a) + G(*b,*c,*d) + X[k] + (__u32)0x5A827999,s) argument
55 #define ROUND3(a,b,c,d,k,s) (*a) = lshift((*a) + H(*b,*c,*d) + X[k] + (__u32)0x6ED9EBA1,s) argument
164 __u32 b = n * 8; in mdfour() local
184 copy4(buf + 56, b); in mdfour()
188 copy4(buf + 120, b); in mdfour()
/fs/ntfs/
Dmst.c42 int post_read_mst_fixup(NTFS_RECORD *b, const u32 size) in post_read_mst_fixup() argument
48 usa_ofs = le16_to_cpu(b->usa_ofs); in post_read_mst_fixup()
50 usa_count = le16_to_cpu(b->usa_count) - 1; in post_read_mst_fixup()
58 usa_pos = (u16*)b + usa_ofs/sizeof(u16); in post_read_mst_fixup()
70 data_pos = (u16*)b + NTFS_BLOCK_SIZE/sizeof(u16) - 1; in post_read_mst_fixup()
81 b->magic = magic_BAAD; in post_read_mst_fixup()
87 usa_count = le16_to_cpu(b->usa_count) - 1; in post_read_mst_fixup()
88 data_pos = (u16*)b + NTFS_BLOCK_SIZE/sizeof(u16) - 1; in post_read_mst_fixup()
123 int pre_write_mst_fixup(NTFS_RECORD *b, const u32 size) in pre_write_mst_fixup() argument
130 if (!b || ntfs_is_baad_record(b->magic) || in pre_write_mst_fixup()
[all …]
/fs/xfs/linux-2.6/
Dxfs_linux.h164 #define MIN(a,b) (min(a,b)) argument
165 #define MAX(a,b) (max(a,b)) argument
184 static inline __u32 xfs_do_div(void *a, __u32 b, int n) in xfs_do_div() argument
190 mod = *(__u32 *)a % b; in xfs_do_div()
191 *(__u32 *)a = *(__u32 *)a / b; in xfs_do_div()
200 __upper = __high % (b); in xfs_do_div()
201 __high = __high / (b); in xfs_do_div()
203 asm("divl %2":"=a" (__low), "=d" (__mod):"rm" (b), "0" (__low), "1" (__upper)); in xfs_do_div()
215 static inline __u32 xfs_do_mod(void *a, __u32 b, int n) in xfs_do_mod() argument
219 return *(__u32 *)a % b; in xfs_do_mod()
[all …]
/fs/yaffs2/
Dyportenv.h26 #define MTD_VERSION(a, b, c) (((a) << 16) + ((b) << 8) + (c)) argument
54 #define yaffs_strcat(a, b) strcat(a, b) argument
55 #define yaffs_strcpy(a, b) strcpy(a, b) argument
56 #define yaffs_strncpy(a, b, c) strncpy(a, b, c) argument
57 #define yaffs_strncmp(a, b, c) strncmp(a, b, c) argument
89 #define yaffs_strcmp(a, b) strcmp(a, b) argument
129 #define yaffs_strcat(a, b) strcat(a, b) argument
130 #define yaffs_strcpy(a, b) strcpy(a, b) argument
131 #define yaffs_strncpy(a, b, c) strncpy(a, b, c) argument
153 #define yaffs_strcmp(a, b) strcmp(a, b) argument
Dyaffs_qsort.c51 swapfunc(char *a, char *b, int n, int swaptype) in swapfunc() argument
54 swapcode(long, a, b, n); in swapfunc()
56 swapcode(char, a, b, n); in swapfunc()
59 #define yswap(a, b) do { \ argument
62 *(long *)(a) = *(long *)(b); \
63 *(long *)(b) = t; \
65 swapfunc(a, b, es, swaptype); \
68 #define vecswap(a, b, n) if ((n) > 0) swapfunc(a, b, n, swaptype) argument
71 med3(char *a, char *b, char *c, int (*cmp)(const void *, const void *)) in med3() argument
73 return cmp(a, b) < 0 ? in med3()
[all …]
Dyaffs_ecc.c106 unsigned char b; in yaffs_ECCCalculate() local
109 b = column_parity_table[*data++]; in yaffs_ECCCalculate()
110 col_parity ^= b; in yaffs_ECCCalculate()
112 if (b & 0x01) { /* odd number of bits in the byte */ in yaffs_ECCCalculate()
259 unsigned char b; in yaffs_ECCCalculateOther() local
262 b = column_parity_table[*data++]; in yaffs_ECCCalculateOther()
263 col_parity ^= b; in yaffs_ECCCalculateOther()
265 if (b & 0x01) { in yaffs_ECCCalculateOther()
/fs/xfs/
Dxfs_bmap_btree.c120 xfs_dfsbno_t b; in __xfs_bmbt_get_all() local
122 b = (((xfs_dfsbno_t)l0 & xfs_mask64lo(9)) << 43) | in __xfs_bmbt_get_all()
124 ASSERT((b >> 32) == 0 || isnulldstartblock(b)); in __xfs_bmbt_get_all()
125 s->br_startblock = (xfs_fsblock_t)b; in __xfs_bmbt_get_all()
171 xfs_dfsbno_t b; in xfs_bmbt_get_startblock()
173 b = (((xfs_dfsbno_t)r->l0 & xfs_mask64lo(9)) << 43) | in xfs_bmbt_get_startblock()
175 ASSERT((b >> 32) == 0 || isnulldstartblock(b)); in xfs_bmbt_get_startblock()
176 return (xfs_fsblock_t)b; in xfs_bmbt_get_startblock()
493 cur->bc_private.b.ip, cur->bc_private.b.whichfork); in xfs_bmbt_dup_cursor()
499 new->bc_private.b.firstblock = cur->bc_private.b.firstblock; in xfs_bmbt_dup_cursor()
[all …]
Dxfs_rtalloc.h58 #define XFS_RTMIN(a,b) ((a) < (b) ? (a) : (b)) argument
59 #define XFS_RTMAX(a,b) ((a) > (b) ? (a) : (b)) argument
65 #define XFS_RTBLOCKLOG(b) xfs_highbit64(b) argument
67 #define XFS_RTBLOCKLOG(b) xfs_highbit32(b) argument
143 # define xfs_rtallocate_extent(t,b,min,max,l,a,f,p,rb) (ENOSYS) argument
144 # define xfs_rtfree_extent(t,b,l) (ENOSYS) argument
Dxfs_btree.h245 xfs_bmbt_irec_t b; member
270 } b; member
469 #define XFS_EXTLEN_MIN(a,b) min_t(xfs_extlen_t, (a), (b)) argument
470 #define XFS_EXTLEN_MAX(a,b) max_t(xfs_extlen_t, (a), (b)) argument
471 #define XFS_AGBLOCK_MIN(a,b) min_t(xfs_agblock_t, (a), (b)) argument
472 #define XFS_AGBLOCK_MAX(a,b) max_t(xfs_agblock_t, (a), (b)) argument
473 #define XFS_FILEOFF_MIN(a,b) min_t(xfs_fileoff_t, (a), (b)) argument
474 #define XFS_FILEOFF_MAX(a,b) max_t(xfs_fileoff_t, (a), (b)) argument
475 #define XFS_FILBLKS_MIN(a,b) min_t(xfs_filblks_t, (a), (b)) argument
476 #define XFS_FILBLKS_MAX(a,b) max_t(xfs_filblks_t, (a), (b)) argument
Dxfs_btree_trace.h86 #define XFS_BTREE_TRACE_ARGBI(c, b, i) \ argument
87 xfs_btree_trace_argbi(__func__, c, b, i, __LINE__)
88 #define XFS_BTREE_TRACE_ARGBII(c, b, i, j) \ argument
89 xfs_btree_trace_argbii(__func__, c, b, i, j, __LINE__)
90 #define XFS_BTREE_TRACE_ARGFFFI(c, o, b, i, j) \ argument
91 xfs_btree_trace_argfffi(__func__, c, o, b, i, j, __LINE__)
105 #define XFS_BTREE_TRACE_ARGBI(c, b, i) argument
106 #define XFS_BTREE_TRACE_ARGBII(c, b, i, j) argument
107 #define XFS_BTREE_TRACE_ARGFFFI(c, o, b, i, j) argument
Dxfs_rtalloc.c930 xfs_rtword_t *b; /* current word in buffer */ in xfs_rtcheck_range() local
958 b = &bufp[word]; in xfs_rtcheck_range()
980 if ((wdiff = (*b ^ val) & mask)) { in xfs_rtcheck_range()
1004 b = bufp = (xfs_rtword_t *)XFS_BUF_PTR(bp); in xfs_rtcheck_range()
1010 b++; in xfs_rtcheck_range()
1026 if ((wdiff = *b ^ val)) { in xfs_rtcheck_range()
1050 b = bufp = (xfs_rtword_t *)XFS_BUF_PTR(bp); in xfs_rtcheck_range()
1056 b++; in xfs_rtcheck_range()
1071 if ((wdiff = (*b ^ val) & mask)) { in xfs_rtcheck_range()
1146 xfs_rtword_t *b; /* current word in buffer */ in xfs_rtfind_back() local
[all …]
Dxfs_trans_space.h27 #define XFS_NEXTENTADD_SPACE_RES(mp,b,w)\ argument
28 (((b + XFS_MAX_CONTIG_EXTENTS_PER_BLOCK(mp) - 1) / \
68 #define XFS_GROWFSRT_SPACE_RES(mp,b) \ argument
69 ((b) + XFS_EXTENTADD_SPACE_RES(mp, XFS_DATA_FORK))
83 #define XFS_SYMLINK_SPACE_RES(mp,nl,b) \ argument
84 (XFS_IALLOC_SPACE_RES(mp) + XFS_DIRENTER_SPACE_RES(mp,nl) + (b))
Dxfs_btree_trace.c52 struct xfs_buf *b, in xfs_btree_trace_argbi() argument
57 line, (__psunsigned_t)b, i, 0, 0, 0, 0, 0, in xfs_btree_trace_argbi()
68 struct xfs_buf *b, in xfs_btree_trace_argbii() argument
74 line, (__psunsigned_t)b, i0, i1, 0, 0, 0, 0, in xfs_btree_trace_argbii()
87 xfs_dfsbno_t b, in xfs_btree_trace_argfffi() argument
95 b >> 32, (int)b, in xfs_btree_trace_argfffi()
/fs/jfs/
Djfs_dmap.h85 #define BLKTODMAP(b,s) \ argument
86 ((((b) >> 13) + ((b) >> 23) + ((b) >> 33) + 3 + 1) << (s))
100 #define BLKTOL0(b,s) \ argument
101 (((((b) >> 23) << 10) + ((b) >> 23) + ((b) >> 33) + 2 + 1) << (s))
115 #define BLKTOL1(b,s) \ argument
116 (((((b) >> 33) << 20) + (((b) >> 33) << 10) + ((b) >> 33) + 1 + 1) << (s))
122 #define BLKTOCTL(b,s,l) \ argument
123 (((l) == 2) ? 1 : ((l) == 1) ? BLKTOL1((b),(s)) : BLKTOL0((b),(s)))
134 #define BLKTOAG(b,sbi) ((b) >> ((sbi)->bmap->db_agl2size)) argument
281 #define LITOL2BSZ(n,m,b) ((((n) == 0) ? (m) : cnttz((n))) + (b)) argument
[all …]
/fs/squashfs/
Dblock.c89 int bytes, compressed, b = 0, k = 0, page = 0, avail; in squashfs_read_data() local
114 for (b = 0; bytes < length; b++, cur_index++) { in squashfs_read_data()
115 bh[b] = sb_getblk(sb, cur_index); in squashfs_read_data()
116 if (bh[b] == NULL) in squashfs_read_data()
120 ll_rw_block(READ, b, bh); in squashfs_read_data()
131 b = 1; in squashfs_read_data()
146 for (; bytes < length; b++) { in squashfs_read_data()
147 bh[b] = sb_getblk(sb, ++cur_index); in squashfs_read_data()
148 if (bh[b] == NULL) in squashfs_read_data()
152 ll_rw_block(READ, b - 1, bh + 1); in squashfs_read_data()
[all …]
/fs/ocfs2/
Dblockcheck.c63 unsigned int b, p = 0; in calc_code_bit() local
69 b = i + 1; in calc_code_bit()
74 b += p; in calc_code_bit()
84 for (; (1 << p) < (b + 1); p++) in calc_code_bit()
85 b++; in calc_code_bit()
90 return b; in calc_code_bit()
106 unsigned int i, b, p = 0; in ocfs2_hamming_encode() local
125 b = calc_code_bit(nr + i, &p); in ocfs2_hamming_encode()
143 parity ^= b; in ocfs2_hamming_encode()
166 unsigned int i, b; in ocfs2_hamming_fix() local
[all …]
/fs/qnx4/
Dbitmap.c35 char b; in count_bits() local
42 b = *bmPart++; in count_bits()
43 if ((b & 1) == 0) in count_bits()
45 if ((b & 2) == 0) in count_bits()
47 if ((b & 4) == 0) in count_bits()
49 if ((b & 8) == 0) in count_bits()
51 if ((b & 16) == 0) in count_bits()
53 if ((b & 32) == 0) in count_bits()
55 if ((b & 64) == 0) in count_bits()
57 if ((b & 128) == 0) in count_bits()
/fs/reiserfs/
Dhashes.c42 b0 += ((b1 << 4)+a) ^ (b1+sum) ^ ((b1 >> 5)+b); \
55 u32 a, b, c, d; in keyed_hash() local
67 b = (u32) msg[4] | in keyed_hash()
85 b = (u32) msg[4] | in keyed_hash()
99 b = (u32) msg[4] | in keyed_hash()
111 b = c = d = pad; in keyed_hash()
113 b <<= 8; in keyed_hash()
114 b |= msg[i]; in keyed_hash()
117 a = b = c = d = pad; in keyed_hash()
/fs/partitions/
Dsysv68.c55 struct dkblk0 *b; in sysv68_partition() local
62 b = (struct dkblk0 *)data; in sysv68_partition()
63 if (memcmp(b->dk_vid.vid_mac, "MOTOROLA", sizeof(b->dk_vid.vid_mac))) { in sysv68_partition()
67 slices = be16_to_cpu(b->dk_ios.ios_slccnt); in sysv68_partition()
68 i = be32_to_cpu(b->dk_ios.ios_slcblk); in sysv68_partition()
/fs/jffs2/
Dsummary.h201 #define jffs2_sum_add_kvec(a,b,c,d) (0) argument
202 #define jffs2_sum_move_collected(a,b) argument
204 #define jffs2_sum_add_padding_mem(a,b) argument
205 #define jffs2_sum_add_inode_mem(a,b,c) argument
206 #define jffs2_sum_add_dirent_mem(a,b,c) argument
207 #define jffs2_sum_add_xattr_mem(a,b,c) argument
208 #define jffs2_sum_add_xref_mem(a,b,c) argument
209 #define jffs2_sum_scan_sumnode(a,b,c,d,e) (0) argument
/fs/gfs2/
Dutil.c251 unsigned int c, o, b = bit; in gfs2_icbit_munge() local
254 c = b / (8 * PAGE_SIZE); in gfs2_icbit_munge()
255 b %= 8 * PAGE_SIZE; in gfs2_icbit_munge()
256 o = b / 8; in gfs2_icbit_munge()
257 b %= 8; in gfs2_icbit_munge()
259 old_value = (bitmap[c][o] & (1 << b)); in gfs2_icbit_munge()
263 bitmap[c][o] |= 1 << b; in gfs2_icbit_munge()
265 bitmap[c][o] &= ~(1 << b); in gfs2_icbit_munge()
/fs/xfs/quota/
Dxfs_dquot.h168 #define xfs_dqtrace_entry_ino(a,b,ip) \ argument
169 __xfs_dqtrace_entry((a), (b), (void*)__return_address, (ip))
170 #define xfs_dqtrace_entry(a,b) \ argument
171 __xfs_dqtrace_entry((a), (b), (void*)__return_address, NULL)
173 #define xfs_dqtrace_entry(a,b) argument
174 #define xfs_dqtrace_entry_ino(a,b,ip) argument
/fs/proc/
Dloadavg.c15 int a, b, c; in loadavg_proc_show() local
21 b = avenrun[1] + (FIXED_1/200); in loadavg_proc_show()
27 LOAD_INT(b), LOAD_FRAC(b), in loadavg_proc_show()

1234567