Lines Matching refs:ps_sd
41 typedef struct ps_sd { struct
42 struct ps_sd *next; argument
49 } ps_sd; argument
53 ps_sd **hash;
83 ps_sd **nhash; in hash_split()
84 ps_sd **ohash, **ehash; in hash_split()
85 ps_sd *ps, *next; in hash_split()
109 static ps_sd *ps_sd_new(ps_mm *data, const char *key) in ps_sd_new()
112 ps_sd *sd; in ps_sd_new()
117 sd = mm_malloc(data->mm, sizeof(ps_sd) + keylen); in ps_sd_new()
150 static void ps_sd_destroy(ps_mm *data, ps_sd *sd) in ps_sd_destroy()
159 ps_sd *prev; in ps_sd_destroy()
175 static ps_sd *ps_sd_lookup(ps_mm *data, const char *key, int rw) in ps_sd_lookup()
178 ps_sd *ret, *prev; in ps_sd_lookup()
206 ps_sd *sd; in ps_mm_key_exists()
234 data->hash = mm_calloc(data->mm, data->hash_max + 1, sizeof(ps_sd *)); in ps_mm_initialize()
246 ps_sd *sd, *next; in ps_mm_destroy()
346 ps_sd *sd; in PS_READ_FUNC()
384 ps_sd *sd; in PS_WRITE_FUNC()
423 ps_sd *sd; in PS_DESTROY_FUNC()
441 ps_sd **ohash, **ehash; in PS_GC_FUNC()
442 ps_sd *sd, *next; in PS_GC_FUNC()