Lines Matching refs:len
42 static void str2hashbuf(const unsigned char *msg, size_t len,
48 pad = (__u32)len | ((__u32)len << 8);
52 if (len > num * 4)
53 len = num * 4;
54 for (i = 0; i < len; i++) {
70 static u32 TEA_hash_name(const u8 *p, size_t len)
81 str2hashbuf(p, len, in, 4);
84 if (len <= 16)
86 len -= 16;
99 size_t len = fname->disk_name.len;
103 if (is_dot_dotdot(name, len)) {
122 len = fname->cf_name.len;
125 len = fname->usr_fname->len;
128 struct qstr tmp = QSTR_INIT(name, len);
136 fname->hash = cpu_to_le32(TEA_hash_name(name, len));