/linux-3.4.99/fs/xfs/ |
D | xfs_dir2_leaf.c | 113 memcpy(leaf->ents, blp, be32_to_cpu(btp->count) * sizeof(xfs_dir2_leaf_entry_t)); in xfs_dir2_block_to_leaf() 162 if (leaf->ents[*lowstale].address == in xfs_dir2_leaf_find_stale() 175 if (leaf->ents[*highstale].address == in xfs_dir2_leaf_find_stale() 201 lep = &leaf->ents[index]; in xfs_dir2_leaf_find_entry() 235 ASSERT(leaf->ents[lowstale].address == in xfs_dir2_leaf_find_entry() 243 memmove(&leaf->ents[lowstale], in xfs_dir2_leaf_find_entry() 244 &leaf->ents[lowstale + 1], in xfs_dir2_leaf_find_entry() 251 return &leaf->ents[index - 1]; in xfs_dir2_leaf_find_entry() 258 ASSERT(leaf->ents[highstale].address == in xfs_dir2_leaf_find_entry() 266 memmove(&leaf->ents[index + 1], in xfs_dir2_leaf_find_entry() [all …]
|
D | xfs_dir2_node.c | 221 ASSERT(index == 0 || be32_to_cpu(leaf->ents[index - 1].hashval) <= args->hashval); in xfs_dir2_leafn_add() 223 be32_to_cpu(leaf->ents[index].hashval) >= args->hashval); in xfs_dir2_leafn_add() 279 ASSERT(be32_to_cpu(leaf->ents[i].hashval) <= in xfs_dir2_leafn_check() 280 be32_to_cpu(leaf->ents[i + 1].hashval)); in xfs_dir2_leafn_check() 282 if (leaf->ents[i].address == cpu_to_be32(XFS_DIR2_NULL_DATAPTR)) in xfs_dir2_leafn_check() 306 return be32_to_cpu(leaf->ents[be16_to_cpu(leaf->hdr.count) - 1].hashval); in xfs_dir2_leafn_lasthash() 363 for (lep = &leaf->ents[index]; index < be16_to_cpu(leaf->hdr.count) && in xfs_dir2_leafn_lookup_for_addname() 504 for (lep = &leaf->ents[index]; index < be16_to_cpu(leaf->hdr.count) && in xfs_dir2_leafn_lookup_for_entry() 652 memmove(&leaf_d->ents[start_d + count], &leaf_d->ents[start_d], in xfs_dir2_leafn_moveents() 666 if (leaf_s->ents[i].address == in xfs_dir2_leafn_moveents() [all …]
|
D | xfs_dir2_format.h | 352 xfs_dir2_leaf_entry_t ents[]; /* entries */ member
|
D | xfs_dir2_block.c | 975 if (leaf->ents[from].address == in xfs_dir2_leaf_to_block() 978 lep[to++] = leaf->ents[from]; in xfs_dir2_leaf_to_block()
|
D | xfs_da_btree.c | 335 size = (int)((char *)&leaf->ents[be16_to_cpu(leaf->hdr.count)] - in xfs_da_root_split() 1757 dead_hash = be32_to_cpu(dead_leaf2->ents[be16_to_cpu(dead_leaf2->hdr.count) - 1].hashval); in xfs_da_swap_lastblock()
|
/linux-3.4.99/drivers/mtd/ubi/ |
D | cdev.c | 699 if (req->ents[i].vol_id < 0 || in rename_volumes() 700 req->ents[i].vol_id >= ubi->vtbl_slots) in rename_volumes() 702 if (req->ents[i].name_len < 0) in rename_volumes() 704 if (req->ents[i].name_len > UBI_VOL_NAME_MAX) in rename_volumes() 706 req->ents[i].name[req->ents[i].name_len] = '\0'; in rename_volumes() 707 n = strlen(req->ents[i].name); in rename_volumes() 708 if (n != req->ents[i].name_len) in rename_volumes() 715 if (req->ents[i].vol_id == req->ents[n].vol_id) { in rename_volumes() 717 req->ents[i].vol_id); in rename_volumes() 720 if (!strcmp(req->ents[i].name, req->ents[n].name)) { in rename_volumes() [all …]
|
/linux-3.4.99/arch/openrisc/include/asm/ |
D | dma-mapping.h | 109 int i, ents; in dma_map_sg() local 115 ents = or1k_map_sg(dev, sg, nents, dir, NULL); in dma_map_sg() 116 debug_dma_map_sg(dev, sg, nents, ents, dir); in dma_map_sg() 118 return ents; in dma_map_sg()
|
/linux-3.4.99/include/asm-generic/ |
D | dma-mapping-common.h | 47 int i, ents; in dma_map_sg_attrs() local 53 ents = ops->map_sg(dev, sg, nents, dir, attrs); in dma_map_sg_attrs() 54 debug_dma_map_sg(dev, sg, nents, ents, dir); in dma_map_sg_attrs() 56 return ents; in dma_map_sg_attrs()
|
/linux-3.4.99/arch/sparc/mm/ |
D | init_64.c | 92 int ents, ret, i; in read_obp_memory() local 94 ents = prop_size / sizeof(struct linux_prom64_registers); in read_obp_memory() 95 if (ents > MAX_BANKS) { in read_obp_memory() 111 for (i = 0; i < ents; i++) { in read_obp_memory() 132 (ents - i - 1) * sizeof(regs[0])); in read_obp_memory() 134 ents--; in read_obp_memory() 141 *num_ents = ents; in read_obp_memory() 143 sort(regs, ents, sizeof(struct linux_prom64_registers), in read_obp_memory() 456 int n, node, ents, first, last, i; in read_obp_translations() local 478 ents = n; in read_obp_translations() [all …]
|
/linux-3.4.99/include/mtd/ |
D | ubi-user.h | 370 } ents[UBI_MAX_RNVOL]; member
|
/linux-3.4.99/net/core/ |
D | sysctl_net_core.c | 68 sock_table->ents[i] = RPS_NO_CPU; in rps_sock_flow_sysctl()
|
D | dev.c | 2752 next_cpu = sock_flow_table->ents[skb->rxhash & in get_rps_cpu()
|
/linux-3.4.99/include/linux/ |
D | netdevice.h | 633 u16 ents[0]; member 649 if (table->ents[index] != cpu) in rps_record_sock_flow() 650 table->ents[index] = cpu; in rps_record_sock_flow() 658 table->ents[hash & table->mask] = RPS_NO_CPU; in rps_reset_sock_flow()
|
/linux-3.4.99/fs/proc/ |
D | base.c | 2444 const struct pid_entry *ents, in proc_pident_lookup() argument 2460 last = &ents[nents - 1]; in proc_pident_lookup() 2461 for (p = ents; p <= last; p++) { in proc_pident_lookup() 2486 const struct pid_entry *ents, unsigned int nents) in proc_pident_readdir() argument 2523 p = ents + i; in proc_pident_readdir() 2524 last = &ents[nents - 1]; in proc_pident_readdir()
|