Lines Matching +defs:error +defs:value
75 uint8_t *value;
76 int error;
102 value = &start[value_offs];
104 /* make sure the value offset are sane */
105 if (&value[value_len] > end)
119 error = uiomove(value, value_len, uio);
120 if (error)
121 return error;
163 int error = 0;
175 error = bread(ip->i_devvp, fsbtodb(ip->i_e2fs, xblk),
177 if (error)
187 error = ext2fs_find_xattr(EXT2FS_XATTR_BFIRST(h), start, end,
193 return error;
208 int error;
213 error = extattr_check_cred(ap->a_vp, ap->a_attrnamespace, ap->a_cred,
215 if (error)
216 return error;
243 error = ext2fs_get_inode_xattr(ip, ap->a_attrnamespace, ap->a_uio,
245 if (error == ENODATA) {
247 error = ext2fs_get_block_xattr(ip, ap->a_attrnamespace,
254 return error;
283 int error;
314 error = uiomove(&len, sizeof(uint8_t), uio);
315 if (error)
316 return error;
322 error = uiomove(name, len, uio);
323 if (error)
324 return error;
359 int error = 0;
371 error = bread(ip->i_devvp, fsbtodb(ip->i_e2fs, xblk),
373 if (error)
382 error = ext2fs_list_xattr(EXT2FS_XATTR_BFIRST(h), end, attrnamespace,
388 return error;
404 int error;
412 error = extattr_check_cred(ap->a_vp, ap->a_attrnamespace, ap->a_cred,
414 if (error)
415 return error;
427 error = ext2fs_list_inode_xattr(ip, ap->a_attrnamespace, ap->a_flag,
429 if (error)
430 return error;
432 error = ext2fs_list_block_xattr(ip, ap->a_attrnamespace, ap->a_flag,
434 if (error)
435 return error;