Lines Matching refs:xbs

298 					struct ocfs2_xattr_search *xbs,
1293 struct ocfs2_xattr_search xbs = {
1303 xis.inode_bh = xbs.inode_bh = di_bh;
1310 buffer_size, &xbs);
3039 struct ocfs2_xattr_search *xbs,
3065 if (xis->not_found && xbs->not_found) {
3085 xb = (struct ocfs2_xattr_block *)xbs->xattr_bh->b_data;
3086 xe = xbs->here;
3089 i = xbs->here - xbs->header->xh_entries;
3094 bucket_xh(xbs->bucket),
3097 base = bucket_block(xbs->bucket, block_off);
3100 base = xbs->base;
3182 if (!xbs->xattr_bh) {
3193 xb = (struct ocfs2_xattr_block *)xbs->xattr_bh->b_data;
3251 struct ocfs2_xattr_search *xbs,
3263 ret = ocfs2_calc_xattr_set_need(inode, di, xi, xis, xbs,
3307 struct ocfs2_xattr_search *xbs,
3316 else if (!xbs->not_found)
3317 ret = ocfs2_xattr_block_set(inode, xi, xbs, ctxt);
3321 if (!ret && !xbs->not_found) {
3335 xbs,
3350 ret = ocfs2_xattr_block_set(inode, xi, xbs, ctxt);
3352 if (di->i_xattr_loc && !xbs->xattr_bh) {
3355 xi->xi_name, xbs);
3365 xbs,
3385 ret = ocfs2_xattr_block_set(inode, xi, xbs, ctxt);
3395 xbs->not_found = -ENODATA;
3400 xbs,
3470 struct ocfs2_xattr_search xbs = {
3489 xbs.bucket = ocfs2_xattr_bucket_new(inode);
3490 if (!xbs.bucket) {
3496 xis.inode_bh = xbs.inode_bh = di_bh;
3505 ret = ocfs2_xattr_block_find(inode, name_index, name, &xbs);
3510 ret = __ocfs2_xattr_set_handle(inode, di, &xi, &xis, &xbs, &ctxt);
3514 brelse(xbs.xattr_bh);
3515 ocfs2_xattr_bucket_free(xbs.bucket);
3555 struct ocfs2_xattr_search xbs = {
3563 * Only xbs will be used on indexed trees. xis doesn't need a
3566 xbs.bucket = ocfs2_xattr_bucket_new(inode);
3567 if (!xbs.bucket) {
3578 xis.inode_bh = xbs.inode_bh = di_bh;
3590 ret = ocfs2_xattr_block_find(inode, name_index, name, &xbs);
3595 if (xis.not_found && xbs.not_found) {
3610 (!xis.not_found || !xbs.not_found)) {
3612 &xis, &xbs, &ref_tree,
3633 &xbs, &ctxt, ref_meta, &credits);
3648 ret = __ocfs2_xattr_set_handle(inode, di, &xi, &xis, &xbs, &ctxt);
3674 brelse(xbs.xattr_bh);
3675 ocfs2_xattr_bucket_free(xbs.bucket);
5763 struct ocfs2_xattr_search *xbs,
5791 xb = (struct ocfs2_xattr_block *)xbs->xattr_bh->b_data;
5792 xe = xbs->here;
5795 i = xbs->here - xbs->header->xh_entries;
5799 bucket_xh(xbs->bucket),
5806 base = bucket_block(xbs->bucket, block_off);
5807 vb.vb_bh = xbs->bucket->bu_bhs[block_off];
5812 bucket = xbs->bucket;
5820 base = xbs->base;
5821 vb.vb_bh = xbs->xattr_bh;