xfs_attr.h (500a512c60d132dbffc0233ba22ad067756c0ccd) | xfs_attr.h (4136e38af728eddcab2e51aecde28e94d0782b9b) |
---|---|
1/* SPDX-License-Identifier: GPL-2.0 */ 2/* 3 * Copyright (c) 2000,2002-2003,2005 Silicon Graphics, Inc. 4 * All Rights Reserved. 5 */ 6#ifndef __XFS_ATTR_H__ 7#define __XFS_ATTR_H__ 8 --- 544 unchanged lines hidden (view full) --- 553int xfs_attr_set(struct xfs_da_args *args); 554int xfs_attr_set_iter(struct xfs_attr_item *attr); 555int xfs_attr_remove_iter(struct xfs_attr_item *attr); 556bool xfs_attr_namecheck(const void *name, size_t length); 557int xfs_attr_calc_size(struct xfs_da_args *args, int *local); 558void xfs_init_attr_trans(struct xfs_da_args *args, struct xfs_trans_res *tres, 559 unsigned int *total); 560 | 1/* SPDX-License-Identifier: GPL-2.0 */ 2/* 3 * Copyright (c) 2000,2002-2003,2005 Silicon Graphics, Inc. 4 * All Rights Reserved. 5 */ 6#ifndef __XFS_ATTR_H__ 7#define __XFS_ATTR_H__ 8 --- 544 unchanged lines hidden (view full) --- 553int xfs_attr_set(struct xfs_da_args *args); 554int xfs_attr_set_iter(struct xfs_attr_item *attr); 555int xfs_attr_remove_iter(struct xfs_attr_item *attr); 556bool xfs_attr_namecheck(const void *name, size_t length); 557int xfs_attr_calc_size(struct xfs_da_args *args, int *local); 558void xfs_init_attr_trans(struct xfs_da_args *args, struct xfs_trans_res *tres, 559 unsigned int *total); 560 |
561extern struct kmem_cache *xfs_attri_cache; 562extern struct kmem_cache *xfs_attrd_cache; 563 564int __init xfs_attri_init_cache(void); 565void xfs_attri_destroy_cache(void); 566int __init xfs_attrd_init_cache(void); 567void xfs_attrd_destroy_cache(void); 568 | |
569/* 570 * Check to see if the attr should be upgraded from non-existent or shortform to 571 * single-leaf-block attribute list. 572 */ 573static inline bool 574xfs_attr_is_shortform( 575 struct xfs_inode *ip) 576{ --- 59 unchanged lines hidden --- | 561/* 562 * Check to see if the attr should be upgraded from non-existent or shortform to 563 * single-leaf-block attribute list. 564 */ 565static inline bool 566xfs_attr_is_shortform( 567 struct xfs_inode *ip) 568{ --- 59 unchanged lines hidden --- |