Home
last modified time | relevance | path

Searched refs:cat (Results 1 – 17 of 17) sorted by relevance

/fs/ubifs/
Dlprops.c26 static int get_heap_comp_val(struct ubifs_lprops *lprops, int cat) in get_heap_comp_val() argument
28 switch (cat) { in get_heap_comp_val()
51 struct ubifs_lprops *lprops, int cat) in move_up_lpt_heap() argument
58 val1 = get_heap_comp_val(lprops, cat); in move_up_lpt_heap()
63 val2 = get_heap_comp_val(heap->arr[ppos], cat); in move_up_lpt_heap()
88 struct ubifs_lprops *lprops, int hpos, int cat) in adjust_lpt_heap() argument
92 val1 = get_heap_comp_val(lprops, cat); in adjust_lpt_heap()
97 val2 = get_heap_comp_val(heap->arr[ppos], cat); in adjust_lpt_heap()
109 val2 = get_heap_comp_val(heap->arr[ppos], cat); in adjust_lpt_heap()
123 val2 = get_heap_comp_val(heap->arr[cpos], cat); in adjust_lpt_heap()
[all …]
Dlpt.c884 int cat = pnode->lprops[i].flags & LPROPS_CAT_MASK; in update_cats() local
889 ubifs_add_to_cat(c, &pnode->lprops[i], cat); in update_cats()
2264 int found, cat = lprops->flags & LPROPS_CAT_MASK; in dbg_chk_pnode() local
2276 if (cat != LPROPS_UNCAT) { in dbg_chk_pnode()
2278 lprops->lnum, cat); in dbg_chk_pnode()
2284 switch (cat) { in dbg_chk_pnode()
2291 lprops->lnum, cat); in dbg_chk_pnode()
2295 switch (cat) { in dbg_chk_pnode()
2304 lprops->lnum, cat); in dbg_chk_pnode()
2308 switch (cat) { in dbg_chk_pnode()
[all …]
Ddebug.h259 int cat);
284 void dbg_check_heap(struct ubifs_info *c, struct ubifs_lpt_heap *heap, int cat,
Dfind.c44 int n, cat = lprops->flags & LPROPS_CAT_MASK; in valuable() local
47 switch (cat) { in valuable()
51 heap = &c->lpt_heap[cat - 1]; in valuable()
Dubifs.h1980 int cat);
Ddebug.c887 void ubifs_dump_heap(struct ubifs_info *c, struct ubifs_lpt_heap *heap, int cat) in ubifs_dump_heap() argument
892 current->pid, cat, heap->cnt); in ubifs_dump_heap()
/fs/hfsplus/
Dcatalog.c21 k1p = k1->cat.parent; in hfsplus_cat_case_cmp_key()
22 k2p = k2->cat.parent; in hfsplus_cat_case_cmp_key()
26 return hfsplus_strcasecmp(&k1->cat.name, &k2->cat.name); in hfsplus_cat_case_cmp_key()
34 k1p = k1->cat.parent; in hfsplus_cat_bin_cmp_key()
35 k2p = k2->cat.parent; in hfsplus_cat_bin_cmp_key()
39 return hfsplus_strcmp(&k1->cat.name, &k2->cat.name); in hfsplus_cat_bin_cmp_key()
48 key->cat.parent = cpu_to_be32(parent); in hfsplus_cat_build_key()
49 err = hfsplus_asc2uni(sb, &key->cat.name, HFSPLUS_MAX_STRLEN, in hfsplus_cat_build_key()
54 len = be16_to_cpu(key->cat.name.length); in hfsplus_cat_build_key()
63 key->cat.parent = cpu_to_be32(parent); in hfsplus_cat_build_key_with_cnid()
[all …]
Dbfind.c67 cur_cnid = fd->key->cat.parent; in hfs_find_1st_rec_by_cnid()
68 search_cnid = fd->search_key->cat.parent; in hfs_find_1st_rec_by_cnid()
Ddir.c192 if (be32_to_cpu(fd.key->cat.parent) != inode->i_ino) { in hfsplus_readdir()
207 err = hfsplus_uni2asc(sb, &fd.key->cat.name, strbuf, &len); in hfsplus_readdir()
Dhfsplus_raw.h403 struct hfsplus_cat_key cat; member
/fs/hfs/
Dcatalog.c25 key->cat.reserved = 0; in hfs_cat_build_key()
26 key->cat.ParID = cpu_to_be32(parent); in hfs_cat_build_key()
28 hfs_asc2mac(sb, &key->cat.CName, name); in hfs_cat_build_key()
29 key->key_len = 6 + key->cat.CName.len; in hfs_cat_build_key()
31 memset(&key->cat.CName, 0, sizeof(struct hfs_name)); in hfs_cat_build_key()
175 k1p = key1->cat.ParID; in hfs_cat_keycmp()
176 k2p = key2->cat.ParID; in hfs_cat_keycmp()
181 return hfs_strcmp(key1->cat.CName.name, key1->cat.CName.len, in hfs_cat_keycmp()
182 key2->cat.CName.name, key2->cat.CName.len); in hfs_cat_keycmp()
204 fd->search_key->cat.ParID = rec.thread.ParID; in hfs_cat_find_brec()
[all …]
Ddir.c37 inode = hfs_iget(dir->i_sb, &fd.search_key->cat, &rec); in hfs_lookup()
105 if (be32_to_cpu(fd.key->cat.ParID) != inode->i_ino) { in hfs_readdir()
118 len = hfs_mac2asc(sb, strbuf, &fd.key->cat.CName); in hfs_readdir()
166 memcpy(&rd->key, &fd.key->cat, sizeof(struct hfs_cat_key)); in hfs_readdir()
Dattr.c36 fd.search_key->cat = HFS_I(inode)->cat_key; in __hfs_setxattr()
83 fd.search_key->cat = HFS_I(inode)->cat_key; in __hfs_getxattr()
Dhfs.h166 struct hfs_cat_key cat; member
Dinode.c459 fd.search_key->cat = HFS_I(main_inode)->cat_key; in hfs_write_inode()
535 fd.search_key->cat = HFS_I(dir)->cat_key; in hfs_file_lookup()
Dsuper.c431 root_inode = hfs_iget(sb, &fd.search_key->cat, &rec); in hfs_fill_super()
/fs/proc/
DKconfig10 version of the program less: you need to use more or cat.
12 It's totally cool; for example, "cat /proc/interrupts" gives