Home
last modified time | relevance | path

Searched refs:pm (Results 1 – 4 of 4) sorted by relevance

/fs/hfsplus/
Dpart_tbl.c70 static int hfs_parse_old_pmap(struct super_block *sb, struct old_pmap *pm, in hfs_parse_old_pmap() argument
77 struct old_pmap_entry *p = &pm->pdEntry[i]; in hfs_parse_old_pmap()
92 struct new_pmap *pm, sector_t *part_start, sector_t *part_size) in hfs_parse_new_pmap() argument
95 int size = be32_to_cpu(pm->pmMapBlkCnt); in hfs_parse_new_pmap()
101 if (!memcmp(pm->pmPartType, "Apple_HFS", 9) && in hfs_parse_new_pmap()
103 *part_start += be32_to_cpu(pm->pmPyPartStart); in hfs_parse_new_pmap()
104 *part_size = be32_to_cpu(pm->pmPartBlkCnt); in hfs_parse_new_pmap()
111 pm = (struct new_pmap *)((u8 *)pm + HFSPLUS_SECTOR_SIZE); in hfs_parse_new_pmap()
112 if ((u8 *)pm - (u8 *)buf >= buf_size) { in hfs_parse_new_pmap()
115 buf, (void **)&pm, REQ_OP_READ); in hfs_parse_new_pmap()
[all …]
/fs/hfs/
Dpart_tbl.c73 struct old_pmap *pm; in hfs_part_find() local
76 pm = (struct old_pmap *)bh->b_data; in hfs_part_find()
77 p = pm->pdEntry; in hfs_part_find()
92 struct new_pmap *pm; in hfs_part_find() local
94 pm = (struct new_pmap *)bh->b_data; in hfs_part_find()
95 size = be32_to_cpu(pm->pmMapBlkCnt); in hfs_part_find()
97 if (!memcmp(pm->pmPartType,"Apple_HFS", 9) && in hfs_part_find()
99 *part_start += be32_to_cpu(pm->pmPyPartStart); in hfs_part_find()
100 *part_size = be32_to_cpu(pm->pmPartBlkCnt); in hfs_part_find()
105 bh = sb_bread512(sb, *part_start + HFS_PMAP_BLK + ++i, pm); in hfs_part_find()
[all …]
/fs/proc/
Dtask_mmu.c1396 static int add_to_pagemap(pagemap_entry_t *pme, struct pagemapread *pm) in add_to_pagemap() argument
1398 pm->buffer[pm->pos++] = *pme; in add_to_pagemap()
1399 if (pm->pos >= pm->len) in add_to_pagemap()
1407 struct pagemapread *pm = walk->private; in pagemap_pte_hole() local
1423 err = add_to_pagemap(&pme, pm); in pagemap_pte_hole()
1435 err = add_to_pagemap(&pme, pm); in pagemap_pte_hole()
1444 static pagemap_entry_t pte_to_pagemap_entry(struct pagemapread *pm, in pte_to_pagemap_entry() argument
1451 if (pm->show_pfn) in pte_to_pagemap_entry()
1466 if (pm->show_pfn) { in pte_to_pagemap_entry()
1500 struct pagemapread *pm = walk->private; in pagemap_pmd_range() local
[all …]
/fs/btrfs/
Dsend.c3410 struct pending_dir_move *entry = NULL, *pm; in add_pending_dir_move() local
3415 pm = kmalloc(sizeof(*pm), GFP_KERNEL); in add_pending_dir_move()
3416 if (!pm) in add_pending_dir_move()
3418 pm->parent_ino = parent_ino; in add_pending_dir_move()
3419 pm->ino = ino; in add_pending_dir_move()
3420 pm->gen = ino_gen; in add_pending_dir_move()
3421 INIT_LIST_HEAD(&pm->list); in add_pending_dir_move()
3422 INIT_LIST_HEAD(&pm->update_refs); in add_pending_dir_move()
3423 RB_CLEAR_NODE(&pm->node); in add_pending_dir_move()
3439 ret = dup_ref(cur, &pm->update_refs); in add_pending_dir_move()
[all …]