Searched refs:DB_STR (Results 1 – 2 of 2) sorted by last modified time
/illumos-gate/usr/src/lib/libdevinfo/ |
H A D | devinfo_devlink.c | 531 cp = get_string(hdp, DB_NUM(hdp, DB_STR) - 1); in invalid_db() 991 idx = next[DB_STR]; in write_string() 1004 next[DB_STR] += strlen(dstr) + 1; in write_string() 2846 return (map_seg(hdp, idx, PROT_READ, DB_STR)); in get_string() 2852 return (map_seg(hdp, idx, PROT_READ | PROT_WRITE, DB_STR)); in set_string() 3039 count[DB_STR] += strlen(str) + 1; in count_string()
|
H A D | devinfo_devlink.h | 83 DB_STR, enumerator 273 #define VALID_STR(h, i, s) ((i) + strlen(s) + 1 <= DB_HDR(h)->nelems[DB_STR])
|