Lines Matching refs:ft
209 const struct filename_trans *ft = k; in filenametr_hash() local
214 hash = ft->stype ^ ft->ttype ^ ft->tclass; in filenametr_hash()
217 while ((focus = ft->name[byte_num++])) in filenametr_hash()
757 struct filename_trans *ft = key; in filenametr_destroy() local
758 kfree(ft->name); in filenametr_destroy()
1915 struct filename_trans *ft; in filename_trans_read() local
1931 ft = NULL; in filename_trans_read()
1936 ft = kzalloc(sizeof(*ft), GFP_KERNEL); in filename_trans_read()
1937 if (!ft) in filename_trans_read()
1956 ft->name = name; in filename_trans_read()
1962 ft->stype = le32_to_cpu(buf[0]); in filename_trans_read()
1963 ft->ttype = le32_to_cpu(buf[1]); in filename_trans_read()
1964 ft->tclass = le32_to_cpu(buf[2]); in filename_trans_read()
1968 rc = ebitmap_set_bit(&p->filename_trans_ttypes, ft->ttype, 1); in filename_trans_read()
1972 rc = hashtab_insert(p->filename_trans, ft, otype); in filename_trans_read()
1981 kfree(ft); in filename_trans_read()
1989 kfree(ft); in filename_trans_read()
3275 struct filename_trans *ft = key; in filename_write_helper() local
3281 len = strlen(ft->name); in filename_write_helper()
3287 rc = put_entry(ft->name, sizeof(char), len, fp); in filename_write_helper()
3291 buf[0] = cpu_to_le32(ft->stype); in filename_write_helper()
3292 buf[1] = cpu_to_le32(ft->ttype); in filename_write_helper()
3293 buf[2] = cpu_to_le32(ft->tclass); in filename_write_helper()