Print this page
5179 remove unused ZFS ARC functions

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/fs/zfs/sys/arc.h
          +++ new/usr/src/uts/common/fs/zfs/sys/arc.h
↓ open down ↓ 75 lines elided ↑ open up ↑
  76   76  typedef enum arc_space_type {
  77   77          ARC_SPACE_DATA,
  78   78          ARC_SPACE_HDRS,
  79   79          ARC_SPACE_L2HDRS,
  80   80          ARC_SPACE_OTHER,
  81   81          ARC_SPACE_NUMTYPES
  82   82  } arc_space_type_t;
  83   83  
  84   84  void arc_space_consume(uint64_t space, arc_space_type_t type);
  85   85  void arc_space_return(uint64_t space, arc_space_type_t type);
  86      -void *arc_data_buf_alloc(uint64_t space);
  87      -void arc_data_buf_free(void *buf, uint64_t space);
  88   86  arc_buf_t *arc_buf_alloc(spa_t *spa, int size, void *tag,
  89   87      arc_buf_contents_t type);
  90   88  arc_buf_t *arc_loan_buf(spa_t *spa, int size);
  91   89  void arc_return_buf(arc_buf_t *buf, void *tag);
  92   90  void arc_loan_inuse_buf(arc_buf_t *buf, void *tag);
  93   91  void arc_buf_add_ref(arc_buf_t *buf, void *tag);
  94   92  boolean_t arc_buf_remove_ref(arc_buf_t *buf, void *tag);
  95   93  int arc_buf_size(arc_buf_t *buf);
  96   94  void arc_release(arc_buf_t *buf, void *tag);
  97   95  int arc_released(arc_buf_t *buf);
↓ open down ↓ 49 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX