Searched refs:ftr (Results 1 – 4 of 4) sorted by relevance
114 struct debug_memory_footer *ftr; in debug_malloc() local116 hdr = os_malloc(sizeof(*hdr) + size + sizeof(*ftr)); in debug_malloc()135 ftr = footer_from_header(hdr); in debug_malloc()136 ftr->magic = DEBUG_MEMORY_MAGIC; in debug_malloc()150 struct debug_memory_footer *ftr; in debug_free() local164 ftr = footer_from_header(hdr); in debug_free()165 if(ftr->magic != DEBUG_MEMORY_MAGIC) { in debug_free()176 ftr->magic = 0; in debug_free()277 struct debug_memory_footer *ftr; in debug_memory_end() local281 ftr = footer_from_header(hdr); in debug_memory_end()[all …]
1702 filename_trans_rule_t *ftr; in filename_trans_rule_write() local1704 for (ftr = t; ftr; ftr = ftr->next) in filename_trans_rule_write()1712 for (ftr = t; ftr; ftr = ftr->next) { in filename_trans_rule_write()1713 len = strlen(ftr->name); in filename_trans_rule_write()1719 items = put_entry(ftr->name, sizeof(char), len, fp); in filename_trans_rule_write()1723 if (type_set_write(&ftr->stypes, fp)) in filename_trans_rule_write()1725 if (type_set_write(&ftr->ttypes, fp)) in filename_trans_rule_write()1728 buf[0] = cpu_to_le32(ftr->tclass); in filename_trans_rule_write()1729 buf[1] = cpu_to_le32(ftr->otype); in filename_trans_rule_write()
3318 filename_trans_rule_t *ftr, *lftr; in filename_trans_rule_read() local3327 ftr = malloc(sizeof(*ftr)); in filename_trans_rule_read()3328 if (!ftr) in filename_trans_rule_read()3331 filename_trans_rule_init(ftr); in filename_trans_rule_read()3334 lftr->next = ftr; in filename_trans_rule_read()3336 *r = ftr; in filename_trans_rule_read()3337 lftr = ftr; in filename_trans_rule_read()3345 ftr->name = malloc(len + 1); in filename_trans_rule_read()3346 if (!ftr->name) in filename_trans_rule_read()3349 rc = next_entry(ftr->name, fp, len); in filename_trans_rule_read()[all …]
3159 filename_trans_rule_t *ftr; in define_filename_trans() local3285 ftr = malloc(sizeof(*ftr)); in define_filename_trans()3286 if (!ftr) { in define_filename_trans()3290 filename_trans_rule_init(ftr); in define_filename_trans()3291 append_filename_trans(ftr); in define_filename_trans()3293 ftr->name = strdup(name); in define_filename_trans()3294 ftr->stypes = stypes; in define_filename_trans()3295 ftr->ttypes = ttypes; in define_filename_trans()3296 ftr->tclass = c + 1; in define_filename_trans()3297 ftr->otype = otype; in define_filename_trans()