Searched refs:ft (Results 1 – 2 of 2) sorted by relevance
334 struct filename_trans *ft = key; in filenametr_destroy() local336 kfree(ft->name); in filenametr_destroy()404 const struct filename_trans *ft = k; in filenametr_hash() local409 hash = ft->stype ^ ft->ttype ^ ft->tclass; in filenametr_hash()412 while ((focus = ft->name[byte_num++])) in filenametr_hash()1880 struct filename_trans *ft; in filename_trans_read() local1900 ft = kzalloc(sizeof(*ft), GFP_KERNEL); in filename_trans_read()1901 if (!ft) in filename_trans_read()1920 ft->name = name; in filename_trans_read()1926 ft->stype = le32_to_cpu(buf[0]); in filename_trans_read()[all …]
1668 struct filename_trans ft; in filename_compute_type() local1679 ft.stype = stype; in filename_compute_type()1680 ft.ttype = ttype; in filename_compute_type()1681 ft.tclass = tclass; in filename_compute_type()1682 ft.name = objname; in filename_compute_type()1684 otype = hashtab_search(policydb->filename_trans, &ft); in filename_compute_type()