Lines Matching refs:attribute
959 g_handleattr_int(struct bio *bp, const char *attribute, int val)
962 return (g_handleattr(bp, attribute, &val, sizeof val));
966 g_handleattr_uint16_t(struct bio *bp, const char *attribute, uint16_t val)
969 return (g_handleattr(bp, attribute, &val, sizeof val));
973 g_handleattr_off_t(struct bio *bp, const char *attribute, off_t val)
976 return (g_handleattr(bp, attribute, &val, sizeof val));
980 g_handleattr_str(struct bio *bp, const char *attribute, const char *str)
983 return (g_handleattr(bp, attribute, str, 0));
987 g_handleattr(struct bio *bp, const char *attribute, const void *val, int len)
991 if (strcmp(bp->bio_attribute, attribute))