Lines Matching refs:ea_valuelen
28 if (ea_valuelen(ea) != 8) { in hpfs_ea_ext_remove()
37 pos += ea->namelen + ea_valuelen(ea) + 5; in hpfs_ea_ext_remove()
87 if (ea_valuelen(ea) >= size) in hpfs_read_ea()
89 memcpy(buf, ea_data(ea), ea_valuelen(ea)); in hpfs_read_ea()
90 buf[ea_valuelen(ea)] = 0; in hpfs_read_ea()
110 if (ea_valuelen(ea) >= size) in hpfs_read_ea()
112 if (hpfs_ea_read(s, a, ano, pos + 4 + ea->namelen + 1, ea_valuelen(ea), buf)) in hpfs_read_ea()
114 buf[ea_valuelen(ea)] = 0; in hpfs_read_ea()
117 pos += ea->namelen + ea_valuelen(ea) + 5; in hpfs_read_ea()
142 if (!(ret = kmalloc((*size = ea_valuelen(ea)) + 1, GFP_NOFS))) { in hpfs_get_ea()
146 memcpy(ret, ea_data(ea), ea_valuelen(ea)); in hpfs_get_ea()
147 ret[ea_valuelen(ea)] = 0; in hpfs_get_ea()
168 if (!(ret = kmalloc((*size = ea_valuelen(ea)) + 1, GFP_NOFS))) { in hpfs_get_ea()
172 if (hpfs_ea_read(s, a, ano, pos + 4 + ea->namelen + 1, ea_valuelen(ea), ret)) { in hpfs_get_ea()
176 ret[ea_valuelen(ea)] = 0; in hpfs_get_ea()
179 pos += ea->namelen + ea_valuelen(ea) + 5; in hpfs_get_ea()
206 } else if (ea_valuelen(ea) == size) { in hpfs_set_ea()
232 if (ea_valuelen(ea) == size) in hpfs_set_ea()
237 pos += ea->namelen + ea_valuelen(ea) + 5; in hpfs_set_ea()