/linux-4.1.27/mm/ |
D | nobootmem.c | 36 u64 goal, u64 limit) in __alloc_memory_core_early() argument 44 addr = memblock_find_in_range_node(size, align, goal, limit, nid); in __alloc_memory_core_early() 223 unsigned long goal, in ___alloc_bootmem_nopanic() argument 233 ptr = __alloc_memory_core_early(NUMA_NO_NODE, size, align, goal, limit); in ___alloc_bootmem_nopanic() 238 if (goal != 0) { in ___alloc_bootmem_nopanic() 239 goal = 0; in ___alloc_bootmem_nopanic() 260 unsigned long goal) in __alloc_bootmem_nopanic() argument 264 return ___alloc_bootmem_nopanic(size, align, goal, limit); in __alloc_bootmem_nopanic() 268 unsigned long goal, unsigned long limit) in ___alloc_bootmem() argument 270 void *mem = ___alloc_bootmem_nopanic(size, align, goal, limit); in ___alloc_bootmem() [all …]
|
D | bootmem.c | 495 unsigned long goal, unsigned long limit) in alloc_bootmem_bdata() argument 502 align, goal, limit); in alloc_bootmem_bdata() 506 BUG_ON(limit && goal + size > limit); in alloc_bootmem_bdata() 514 goal >>= PAGE_SHIFT; in alloc_bootmem_bdata() 524 if (goal && min < goal && goal < max) in alloc_bootmem_bdata() 525 start = ALIGN(goal, step); in alloc_bootmem_bdata() 602 unsigned long goal, in alloc_bootmem_core() argument 612 if (goal && bdata->node_low_pfn <= PFN_DOWN(goal)) in alloc_bootmem_core() 617 region = alloc_bootmem_bdata(bdata, size, align, goal, limit); in alloc_bootmem_core() 627 unsigned long goal, in ___alloc_bootmem_nopanic() argument [all …]
|
D | sparse.c | 267 unsigned long goal, limit; in sparse_early_usemaps_alloc_pgdat_section() local 280 goal = __pa(pgdat) & (PAGE_SECTION_MASK << PAGE_SHIFT); in sparse_early_usemaps_alloc_pgdat_section() 281 limit = goal + (1UL << PA_SECTION_SHIFT); in sparse_early_usemaps_alloc_pgdat_section() 282 nid = early_pfn_to_nid(goal >> PAGE_SHIFT); in sparse_early_usemaps_alloc_pgdat_section() 285 SMP_CACHE_BYTES, goal, limit, in sparse_early_usemaps_alloc_pgdat_section()
|
D | sparse-vmemmap.c | 41 unsigned long goal) in __earlyonly_bootmem_alloc() argument 43 return memblock_virt_alloc_try_nid(size, align, goal, in __earlyonly_bootmem_alloc()
|
/linux-4.1.27/fs/ocfs2/ |
D | reservations.c | 367 ocfs2_find_resv_lhs(struct ocfs2_reservation_map *resmap, unsigned int goal) in ocfs2_find_resv_lhs() argument 382 if (resv->r_start <= goal && ocfs2_resv_end(resv) >= goal) in ocfs2_find_resv_lhs() 386 if (resv->r_start > goal) { in ocfs2_find_resv_lhs() 472 unsigned int goal, unsigned int wanted) in __ocfs2_resv_find_window() argument 490 goal, wanted, RB_EMPTY_ROOT(root)); in __ocfs2_resv_find_window() 499 clen = ocfs2_resmap_find_free_bits(resmap, wanted, goal, in __ocfs2_resv_find_window() 500 resmap->m_bitmap_len - goal, in __ocfs2_resv_find_window() 507 BUG_ON(goal == 0 && clen == 0); in __ocfs2_resv_find_window() 519 prev_resv = ocfs2_find_resv_lhs(resmap, goal); in __ocfs2_resv_find_window() 545 if (next_resv->r_start <= goal) { in __ocfs2_resv_find_window() [all …]
|
D | ocfs2_trace.h | 1866 TP_PROTO(unsigned int r_start, unsigned int r_end, unsigned int goal, 1868 TP_ARGS(r_start, r_end, goal, wanted, empty_root), 1872 __field(unsigned int, goal) 1879 __entry->goal = goal; 1884 __entry->goal, __entry->wanted, __entry->empty_root)
|
D | dlmglue.c | 1319 unsigned long goal) in lockres_add_mask_waiter() argument 1327 mw->mw_goal = goal; in lockres_add_mask_waiter()
|
/linux-4.1.27/arch/tile/lib/ |
D | memchr_64.c | 26 uint64_t goal, before_mask, v, bits; in memchr() local 39 goal = copy_byte(c); in memchr() 45 v = (*p | before_mask) ^ (goal & before_mask); in memchr() 53 while ((bits = __insn_v1cmpeq(v, goal)) == 0) { in memchr()
|
D | memchr_32.c | 25 uint32_t goal, before_mask, v, bits; in memchr() local 38 goal = 0x01010101 * (uint8_t) c; in memchr() 47 v = (*p | before_mask) ^ (goal & before_mask); in memchr() 55 while ((bits = __insn_seqb(v, goal)) == 0) { in memchr()
|
D | strchr_32.c | 28 const uint32_t goal = 0x01010101 * (uint8_t) c; in strchr() local 39 uint32_t v = (*p | before_mask) ^ (goal & __insn_shrib(before_mask, 1)); in strchr() 47 goal_matches = __insn_seqb(v, goal); in strchr()
|
D | strchr_64.c | 29 const uint64_t goal = copy_byte(c); in strchr() local 37 uint64_t v = (*p | before_mask) ^ (goal & __insn_v1shrui(before_mask, 1)); in strchr() 45 goal_matches = __insn_v1cmpeq(v, goal); in strchr()
|
/linux-4.1.27/fs/ufs/ |
D | balloc.c | 342 u64 goal, unsigned count, int *err, in ufs_new_fragments() argument 353 (unsigned long long)goal, count); in ufs_new_fragments() 407 if (goal >= uspi->s_size) in ufs_new_fragments() 408 goal = 0; in ufs_new_fragments() 409 if (goal == 0) in ufs_new_fragments() 412 cgno = ufs_dtog(uspi, goal); in ufs_new_fragments() 418 result = ufs_alloc_fragments (inode, cgno, goal, count, err); in ufs_new_fragments() 469 result = ufs_alloc_fragments (inode, cgno, goal, request, err); in ufs_new_fragments() 570 u64 goal, unsigned count, int *err) in ufs_alloc_fragments() argument 580 inode->i_ino, cgno, (unsigned long long)goal, count); in ufs_alloc_fragments() [all …]
|
D | inode.c | 182 u64 tmp, goal, lastfrag, block, lastblock; in ufs_inode_getfrag() local 198 goal = 0; in ufs_inode_getfrag() 248 goal = tmp + uspi->s_fpb; in ufs_inode_getfrag() 250 goal, required + blockoff, in ufs_inode_getfrag() 270 goal = tmp + uspi->s_fpb; in ufs_inode_getfrag() 273 goal, uspi->s_fpb, err, in ufs_inode_getfrag() 338 u64 tmp, goal, block; in ufs_inode_getblock() local 379 goal = tmp + uspi->s_fpb; in ufs_inode_getblock() 381 goal = bh->b_blocknr + uspi->s_fpb; in ufs_inode_getblock() 382 tmp = ufs_new_fragments(inode, p, ufs_blknum(new_fragment), goal, in ufs_inode_getblock()
|
/linux-4.1.27/include/linux/ |
D | bootmem.h | 79 unsigned long goal); 82 unsigned long goal); 86 unsigned long goal); 90 unsigned long goal); 94 unsigned long goal); 98 unsigned long goal, 102 unsigned long goal); 105 unsigned long goal); 109 unsigned long goal);
|
/linux-4.1.27/fs/affs/ |
D | bitmap.c | 114 affs_alloc_block(struct inode *inode, u32 goal) in affs_alloc_block() argument 127 pr_debug("balloc(inode=%lu,goal=%u): ", inode->i_ino, goal); in affs_alloc_block() 135 if (!goal || goal > sbi->s_partition_size) { in affs_alloc_block() 136 if (goal) in affs_alloc_block() 137 affs_warning(sb, "affs_balloc", "invalid goal %d", goal); in affs_alloc_block() 140 goal = sbi->s_reserved; in affs_alloc_block() 143 blk = goal - sbi->s_reserved; in affs_alloc_block()
|
D | affs.h | 159 extern u32 affs_alloc_block(struct inode *inode, u32 goal);
|
/linux-4.1.27/fs/udf/ |
D | balloc.c | 223 uint32_t goal, int *err) in udf_bitmap_new_block() argument 236 if (goal >= sbi->s_partmaps[partition].s_partition_len) in udf_bitmap_new_block() 237 goal = 0; in udf_bitmap_new_block() 240 block = goal + (sizeof(struct spaceBitmapDesc) << 3); in udf_bitmap_new_block() 638 uint32_t goal, int *err) in udf_table_new_block() argument 659 if (goal >= sbi->s_partmaps[partition].s_partition_len) in udf_table_new_block() 660 goal = 0; in udf_table_new_block() 673 if (goal >= eloc.logicalBlockNum) { in udf_table_new_block() 674 if (goal < eloc.logicalBlockNum + in udf_table_new_block() 678 nspread = goal - eloc.logicalBlockNum - in udf_table_new_block() [all …]
|
D | inode.c | 670 int goal = 0, pgoal = iinfo->i_location.logicalBlockNum; in inode_getblk() local 824 goal = iinfo->i_next_alloc_goal; in inode_getblk() 826 if (!goal) { in inode_getblk() 827 if (!(goal = pgoal)) /* XXX: what was intended here? */ in inode_getblk() 828 goal = iinfo->i_location.logicalBlockNum + 1; in inode_getblk() 833 goal, err); in inode_getblk()
|
/linux-4.1.27/include/trace/events/ |
D | ext3.h | 345 TP_PROTO(struct inode *inode, unsigned long goal, 348 TP_ARGS(inode, goal, count), 354 __field( unsigned long, goal ) 361 __entry->goal = goal; 367 __entry->count, __entry->goal) 371 TP_PROTO(struct inode *inode, unsigned long goal, 374 TP_ARGS(inode, goal, count, block), 381 __field( unsigned long, goal ) 389 __entry->goal = goal; 396 __entry->goal) [all …]
|
D | ext4.h | 759 __field( __u64, goal ) 770 __entry->goal = ar->goal; 782 __entry->len, __entry->logical, __entry->goal, 800 __field( __u64, goal ) 812 __entry->goal = ar->goal; 825 __entry->goal, __entry->lleft, __entry->lright,
|
/linux-4.1.27/fs/hfs/ |
D | bitmap.c | 139 u32 hfs_vbm_search_free(struct super_block *sb, u32 goal, u32 *num_bits) in hfs_vbm_search_free() argument 151 pos = hfs_find_set_zero_bits(bitmap, HFS_SB(sb)->fs_ablocks, goal, num_bits); in hfs_vbm_search_free() 153 if (goal) in hfs_vbm_search_free() 154 pos = hfs_find_set_zero_bits(bitmap, goal, 0, num_bits); in hfs_vbm_search_free()
|
D | extent.c | 388 u32 start, len, goal; in hfs_extend_file() local 393 goal = hfs_ext_lastblock(HFS_I(inode)->first_extents); in hfs_extend_file() 398 goal = hfs_ext_lastblock(HFS_I(inode)->cached_extents); in hfs_extend_file() 402 start = hfs_vbm_search_free(sb, goal, &len); in hfs_extend_file()
|
/linux-4.1.27/arch/x86/kernel/ |
D | setup_percpu.c | 101 const unsigned long goal = __pa(MAX_DMA_ADDRESS); in pcpu_alloc_bootmem() local 107 ptr = __alloc_bootmem_nopanic(size, align, goal); in pcpu_alloc_bootmem() 114 size, align, goal); in pcpu_alloc_bootmem() 120 return __alloc_bootmem_nopanic(size, align, goal); in pcpu_alloc_bootmem()
|
/linux-4.1.27/drivers/misc/ |
D | vmw_balloon.c | 510 unsigned int goal; in vmballoon_inflate() local 534 goal = b->target - b->size; in vmballoon_inflate() 543 __func__, goal, rate, b->rate_alloc); in vmballoon_inflate() 545 for (i = 0; i < goal; i++) { in vmballoon_inflate() 620 unsigned int goal; in vmballoon_deflate() local 626 goal = min(b->size - b->target, b->rate_free); in vmballoon_deflate() 628 pr_debug("%s - goal: %d, rate: %d\n", __func__, goal, b->rate_free); in vmballoon_deflate() 640 if (++i >= goal) in vmballoon_deflate()
|
/linux-4.1.27/drivers/scsi/aic7xxx/ |
D | aic79xx_osm.c | 1708 if (tinfo->curr.period != tinfo->goal.period in ahd_send_async() 1709 || tinfo->curr.width != tinfo->goal.width in ahd_send_async() 1710 || tinfo->curr.offset != tinfo->goal.offset in ahd_send_async() 1711 || tinfo->curr.ppr_options != tinfo->goal.ppr_options) in ahd_send_async() 2412 unsigned int ppr_options = tinfo->goal.ppr_options; in ahd_linux_set_period() 2415 unsigned long offset = tinfo->goal.offset; in ahd_linux_set_period() 2478 period = tinfo->goal.period; in ahd_linux_set_offset() 2479 ppr_options = tinfo->goal.ppr_options; in ahd_linux_set_offset() 2500 unsigned int ppr_options = tinfo->goal.ppr_options in ahd_linux_set_dt() 2502 unsigned int period = tinfo->goal.period; in ahd_linux_set_dt() [all …]
|
D | aic7xxx_osm.c | 1632 if (tinfo->curr.period != tinfo->goal.period in ahc_send_async() 1633 || tinfo->curr.width != tinfo->goal.width in ahc_send_async() 1634 || tinfo->curr.offset != tinfo->goal.offset in ahc_send_async() 1635 || tinfo->curr.ppr_options != tinfo->goal.ppr_options) in ahc_send_async() 2362 unsigned int ppr_options = tinfo->goal.ppr_options; in ahc_linux_set_period() 2364 unsigned long offset = tinfo->goal.offset; in ahc_linux_set_period() 2415 period = tinfo->goal.period; in ahc_linux_set_offset() 2416 ppr_options = tinfo->goal.ppr_options; in ahc_linux_set_offset() 2434 unsigned int ppr_options = tinfo->goal.ppr_options in ahc_linux_set_dt() 2436 unsigned int period = tinfo->goal.period; in ahc_linux_set_dt() [all …]
|
D | aic7xxx_core.c | 1885 tinfo->goal.transport_version = 2; in ahc_handle_scsiint() 1886 tinfo->goal.ppr_options = 0; in ahc_handle_scsiint() 2172 memset(&tstate->transinfo[i].goal, 0, in ahc_alloc_tstate() 2173 sizeof(tstate->transinfo[i].goal)); in ahc_alloc_tstate() 2250 transinfo = &tinfo->goal; in ahc_devlimited_syncrate() 2411 *offset = min(*offset, (u_int)tinfo->goal.offset); in ahc_validate_offset() 2439 *bus_width = min((u_int)tinfo->goal.width, *bus_width); in ahc_validate_width() 2469 if (tinfo->curr.period != tinfo->goal.period in ahc_update_neg_request() 2470 || tinfo->curr.width != tinfo->goal.width in ahc_update_neg_request() 2471 || tinfo->curr.offset != tinfo->goal.offset in ahc_update_neg_request() [all …]
|
D | aic79xx_core.c | 3172 tinfo->goal.transport_version = 2; in ahd_handle_nonpkt_busfree() 3173 tinfo->goal.ppr_options = 0; in ahd_handle_nonpkt_busfree() 3656 memset(&tstate->transinfo[i].goal, 0, in ahd_alloc_tstate() 3657 sizeof(tstate->transinfo[i].goal)); in ahd_alloc_tstate() 3725 transinfo = &tinfo->goal; in ahd_devlimited_syncrate() 3807 *offset = min(*offset, (u_int)tinfo->goal.offset); in ahd_validate_offset() 3835 *bus_width = min((u_int)tinfo->goal.width, *bus_width); in ahd_validate_width() 3865 if (tinfo->curr.period != tinfo->goal.period in ahd_update_neg_request() 3866 || tinfo->curr.width != tinfo->goal.width in ahd_update_neg_request() 3867 || tinfo->curr.offset != tinfo->goal.offset in ahd_update_neg_request() [all …]
|
D | aic79xx_proc.c | 175 ahd_format_transinfo(m, &tinfo->goal); in ahd_dump_target_state()
|
D | aic7xxx_proc.c | 155 ahc_format_transinfo(m, &tinfo->goal); in ahc_dump_target_state()
|
D | aic7xxx.h | 705 struct ahc_transinfo goal; member
|
D | aic79xx.h | 759 struct ahd_transinfo goal; member
|
/linux-4.1.27/fs/ext2/ |
D | balloc.c | 291 search_reserve_window(struct rb_root *root, ext2_fsblk_t goal) in search_reserve_window() argument 302 if (goal < rsv->rsv_start) in search_reserve_window() 304 else if (goal > rsv->rsv_end) in search_reserve_window() 315 if (rsv->rsv_start > goal) { in search_reserve_window() 1210 ext2_fsblk_t ext2_new_blocks(struct inode *inode, ext2_fsblk_t goal, in ext2_new_blocks() argument 1248 ext2_debug("goal=%lu.\n", goal); in ext2_new_blocks() 1272 if (goal < le32_to_cpu(es->s_first_data_block) || in ext2_new_blocks() 1273 goal >= le32_to_cpu(es->s_blocks_count)) in ext2_new_blocks() 1274 goal = le32_to_cpu(es->s_first_data_block); in ext2_new_blocks() 1275 group_no = (goal - le32_to_cpu(es->s_first_data_block)) / in ext2_new_blocks() [all …]
|
D | inode.c | 395 ext2_fsblk_t goal, int indirect_blks, int blks, in ext2_alloc_blocks() argument 417 current_block = ext2_new_blocks(inode,goal,&count,err); in ext2_alloc_blocks() 473 int indirect_blks, int *blks, ext2_fsblk_t goal, in ext2_alloc_branch() argument 484 num = ext2_alloc_blocks(inode, goal, indirect_blks, in ext2_alloc_branch() 626 ext2_fsblk_t goal; in ext2_get_blocks() local 712 goal = ext2_find_goal(inode, iblock, partial); in ext2_get_blocks() 725 err = ext2_alloc_branch(inode, indirect_blks, &count, goal, in ext2_get_blocks()
|
D | xattr.c | 657 ext2_fsblk_t goal = ext2_group_first_block_no(sb, in ext2_xattr_set2() local 659 int block = ext2_new_block(inode, goal, &error); in ext2_xattr_set2()
|
/linux-4.1.27/net/netfilter/ipvs/ |
D | ip_vs_lblc.c | 303 int goal; in ip_vs_lblc_check_expire() local 320 goal = (atomic_read(&tbl->entries) - tbl->max_size)*4/3; in ip_vs_lblc_check_expire() 321 if (goal > tbl->max_size/2) in ip_vs_lblc_check_expire() 322 goal = tbl->max_size/2; in ip_vs_lblc_check_expire() 334 goal--; in ip_vs_lblc_check_expire() 337 if (goal <= 0) in ip_vs_lblc_check_expire()
|
D | ip_vs_lblcr.c | 467 int goal; in ip_vs_lblcr_check_expire() local 484 goal = (atomic_read(&tbl->entries) - tbl->max_size)*4/3; in ip_vs_lblcr_check_expire() 485 if (goal > tbl->max_size/2) in ip_vs_lblcr_check_expire() 486 goal = tbl->max_size/2; in ip_vs_lblcr_check_expire() 498 goal--; in ip_vs_lblcr_check_expire() 501 if (goal <= 0) in ip_vs_lblcr_check_expire()
|
/linux-4.1.27/drivers/scsi/sym53c8xx_2/ |
D | sym_hipd.c | 1365 struct sym_trans *goal) argument 1368 goal->width = 0; 1371 goal->iu = 0; 1372 goal->dt = 0; 1373 goal->qas = 0; 1374 goal->offset = 0; 1380 goal->dt = 1; 1382 if (goal->offset == 0) 1383 goal->dt = 0; 1385 goal->dt = 0; [all …]
|
/linux-4.1.27/fs/ext3/ |
D | balloc.c | 299 search_reserve_window(struct rb_root *root, ext3_fsblk_t goal) in search_reserve_window() argument 310 if (goal < rsv->rsv_start) in search_reserve_window() 312 else if (goal > rsv->rsv_end) in search_reserve_window() 323 if (rsv->rsv_start > goal) { in search_reserve_window() 1487 ext3_fsblk_t goal, unsigned long *count, int *errp) in ext3_new_blocks() argument 1525 trace_ext3_request_blocks(inode, goal, num); in ext3_new_blocks() 1529 ext3_debug("goal=%lu.\n", goal); in ext3_new_blocks() 1550 if (goal < le32_to_cpu(es->s_first_data_block) || in ext3_new_blocks() 1551 goal >= le32_to_cpu(es->s_blocks_count)) in ext3_new_blocks() 1552 goal = le32_to_cpu(es->s_first_data_block); in ext3_new_blocks() [all …]
|
D | inode.c | 576 ext3_fsblk_t goal, int indirect_blks, int blks, in ext3_alloc_blocks() argument 598 current_block = ext3_new_blocks(handle,inode,goal,&count,err); in ext3_alloc_blocks() 654 int indirect_blks, int *blks, ext3_fsblk_t goal, in ext3_alloc_branch() argument 665 num = ext3_alloc_blocks(handle, inode, goal, indirect_blks, in ext3_alloc_branch() 866 ext3_fsblk_t goal; in ext3_get_blocks_handle() local 960 goal = ext3_find_goal(inode, iblock, partial); in ext3_get_blocks_handle() 971 err = ext3_alloc_branch(handle, inode, indirect_blks, &count, goal, in ext3_get_blocks_handle()
|
D | ext3.h | 1000 ext3_fsblk_t goal, int *errp); 1002 ext3_fsblk_t goal, unsigned long *count, int *errp);
|
D | xattr.c | 798 ext3_fsblk_t goal = ext3_group_first_block_no(sb, in ext3_xattr_block_set() local 808 block = ext3_new_block(handle, inode, goal, &error); in ext3_xattr_block_set()
|
/linux-4.1.27/fs/hfsplus/ |
D | extents.c | 433 u32 start, len, goal; in hfsplus_file_extend() local 447 goal = hfsplus_ext_lastblock(hip->first_extents); in hfsplus_file_extend() 452 goal = hfsplus_ext_lastblock(hip->cached_extents); in hfsplus_file_extend() 456 start = hfsplus_block_allocate(sb, sbi->total_blocks, goal, &len); in hfsplus_file_extend() 458 start = hfsplus_block_allocate(sb, goal, 0, &len); in hfsplus_file_extend() 459 if (start >= goal) { in hfsplus_file_extend()
|
/linux-4.1.27/drivers/tty/ |
D | tty_buffer.c | 304 int goal = min_t(size_t, size - copied, TTY_BUFFER_PAGE); in tty_insert_flip_string_fixed_flag() local 306 int space = __tty_buffer_request_room(port, goal, flags); in tty_insert_flip_string_fixed_flag() 340 int goal = min_t(size_t, size - copied, TTY_BUFFER_PAGE); in tty_insert_flip_string_flags() local 341 int space = tty_buffer_request_room(port, goal); in tty_insert_flip_string_flags()
|
/linux-4.1.27/fs/gfs2/ |
D | rgrp.c | 219 u32 goal, u8 state) in gfs2_bitfit() argument 221 u32 spoint = (goal << 1) & ((8*sizeof(u64)) - 1); in gfs2_bitfit() 222 const __le64 *ptr = ((__le64 *)buf) + (goal >> 5); in gfs2_bitfit() 1116 u32 i, goal, count = 0; in count_unlinked() local 1119 goal = 0; in count_unlinked() 1122 while (goal < bi->bi_len * GFS2_NBBY) { in count_unlinked() 1123 goal = gfs2_bitfit(buffer, bi->bi_len, goal, in count_unlinked() 1125 if (goal == BFITNOENT) in count_unlinked() 1128 goal++; in count_unlinked() 1489 u64 goal; in rg_mblk_search() local [all …]
|
/linux-4.1.27/fs/ext4/ |
D | indirect.c | 245 ext4_fsblk_t goal; in ext4_find_goal() local 251 goal = ext4_find_near(inode, partial); in ext4_find_goal() 252 goal = goal & EXT4_MAX_BLOCK_FILE_PHYS; in ext4_find_goal() 253 return goal; in ext4_find_goal() 335 ar->goal = new_blocks[i] = ext4_new_meta_blocks(handle, in ext4_alloc_branch() 336 ar->inode, ar->goal, in ext4_alloc_branch() 580 ar.goal = ext4_find_goal(inode, map->m_lblk, partial); in ext4_ind_map_blocks()
|
D | ialloc.c | 712 __u32 goal, uid_t *owner, int handle_type, in __ext4_new_inode() argument 760 if (!goal) in __ext4_new_inode() 761 goal = sbi->s_inode_goal; in __ext4_new_inode() 763 if (goal && goal <= le32_to_cpu(sbi->s_es->s_inodes_count)) { in __ext4_new_inode() 764 group = (goal - 1) / EXT4_INODES_PER_GROUP(sb); in __ext4_new_inode() 765 ino = (goal - 1) % EXT4_INODES_PER_GROUP(sb); in __ext4_new_inode()
|
D | migrate.c | 444 __u32 goal; in ext4_ext_migrate() local 474 goal = (((inode->i_ino - 1) / EXT4_INODES_PER_GROUP(inode->i_sb)) * in ext4_ext_migrate() 479 S_IFREG, NULL, goal, owner); in ext4_ext_migrate()
|
D | balloc.c | 622 ext4_fsblk_t goal, unsigned int flags, in ext4_new_meta_blocks() argument 631 ar.goal = goal; in ext4_new_meta_blocks()
|
D | ext4.h | 141 ext4_fsblk_t goal; member 2053 ext4_fsblk_t goal, 2229 const struct qstr *qstr, __u32 goal, 2233 #define ext4_new_inode(handle, dir, mode, qstr, goal, owner) \ argument 2234 __ext4_new_inode((handle), (dir), (mode), (qstr), (goal), (owner), \ 2236 #define ext4_new_inode_start_handle(dir, mode, qstr, goal, owner, \ argument 2238 __ext4_new_inode(NULL, (dir), (mode), (qstr), (goal), (owner), \
|
D | xattr.c | 904 ext4_fsblk_t goal, block; in ext4_xattr_block_set() local 906 goal = ext4_group_first_block_no(sb, in ext4_xattr_block_set() 911 goal = goal & EXT4_MAX_BLOCK_FILE_PHYS; in ext4_xattr_block_set() 913 block = ext4_new_meta_blocks(handle, inode, goal, 0, in ext4_xattr_block_set()
|
D | extents.c | 230 ext4_fsblk_t goal, newblock; in ext4_ext_new_meta_block() local 232 goal = ext4_ext_find_goal(inode, path, le32_to_cpu(ex->ee_block)); in ext4_ext_new_meta_block() 233 newblock = ext4_new_meta_blocks(handle, inode, goal, flags, in ext4_ext_new_meta_block() 1268 ext4_fsblk_t newblock, goal = 0; in ext4_ext_grow_indepth() local 1274 goal = ext4_idx_pblock(EXT_FIRST_INDEX(ext_inode_hdr(inode))); in ext4_ext_grow_indepth() 1275 if (goal > le32_to_cpu(es->s_first_data_block)) { in ext4_ext_grow_indepth() 1277 goal--; in ext4_ext_grow_indepth() 1279 goal = ext4_inode_to_goal_block(inode); in ext4_ext_grow_indepth() 1280 newblock = ext4_new_meta_blocks(handle, inode, goal, flags, in ext4_ext_grow_indepth() 4436 ar.goal = ext4_ext_find_goal(inode, path, map->m_lblk); in ext4_ext_map_blocks() [all …]
|
D | mballoc.c | 4157 ext4_fsblk_t goal; in ext4_mb_initialize_context() local 4168 goal = ar->goal; in ext4_mb_initialize_context() 4169 if (goal < le32_to_cpu(es->s_first_data_block) || in ext4_mb_initialize_context() 4170 goal >= ext4_blocks_count(es)) in ext4_mb_initialize_context() 4171 goal = le32_to_cpu(es->s_first_data_block); in ext4_mb_initialize_context() 4172 ext4_get_group_no_and_offset(sb, goal, &group, &block); in ext4_mb_initialize_context() 4193 (unsigned) ar->goal, ac->ac_flags, ac->ac_2order, in ext4_mb_initialize_context()
|
/linux-4.1.27/arch/tile/kernel/ |
D | setup.c | 612 unsigned long goal) in alloc_bootmem_pfn() argument 615 PAGE_SIZE, goal); in alloc_bootmem_pfn() 617 BUG_ON(goal && PFN_PHYS(pfn) != goal); in alloc_bootmem_pfn() 782 unsigned long goal = 0; in zone_sizes_init() local 786 goal = PFN_PHYS(lowmem_end) - node_percpu[i]; in zone_sizes_init() 790 goal); in zone_sizes_init()
|
/linux-4.1.27/net/dccp/ |
D | proto.c | 1110 unsigned long goal; in dccp_init() local 1135 goal = totalram_pages >> (21 - PAGE_SHIFT); in dccp_init() 1137 goal = totalram_pages >> (23 - PAGE_SHIFT); in dccp_init() 1140 goal = (thash_entries * in dccp_init() 1142 for (ehash_order = 0; (1UL << ehash_order) < goal; ehash_order++) in dccp_init()
|
/linux-4.1.27/Documentation/networking/ |
D | sctp.txt | 17 The initial project goal is to create an Linux kernel reference implementation
|
D | ieee802154.txt | 13 The Linux-ZigBee project goal is to provide complete implementation
|
D | fib_trie.txt | 128 prefix. The goal is always to reach a leaf and get a positive result from the
|
D | xfrm_sync.txt | 6 The end goal for syncing is to be able to insert attributes + generate
|
D | scaling.txt | 29 generally known as “Receive-side Scaling” (RSS). The goal of RSS and 231 (RFS). The goal of RFS is to increase datacache hitrate by steering 370 recorded. The goal of this mapping is usually to assign queues
|
D | filter.txt | 579 The new instruction set was originally designed with the possible goal in
|
D | can.txt | 157 As described in chapter 2 it is the main goal of SocketCAN to
|
D | bonding.txt | 983 yast2 sysconfig configuration utility. The goal is for to create an 2044 goal is to provide the maximum availability of network connectivity
|
/linux-4.1.27/arch/sparc/kernel/ |
D | smp_64.c | 1466 const unsigned long goal = __pa(MAX_DMA_ADDRESS); in pcpu_alloc_bootmem() local 1472 ptr = __alloc_bootmem(size, align, goal); in pcpu_alloc_bootmem() 1479 size, align, goal); in pcpu_alloc_bootmem() 1485 return __alloc_bootmem(size, align, goal); in pcpu_alloc_bootmem()
|
/linux-4.1.27/Documentation/ |
D | SecurityBugs | 22 The goal of the Linux kernel security team is to work with the
|
D | HOWTO | 20 device." This document's goal is to teach you everything you need to 249 be in a reasonably sane state adequate for testing. The goal is to 254 linux-kernel mailing list. The goal is to reduce the length of 422 The goal of the kernel community is to provide the best possible kernel
|
D | sysfs-rules.txt | 26 current kernel development. The goal of providing a stable interface
|
D | edac.txt | 35 The 'edac' kernel module goal is to detect and report errors that occur
|
/linux-4.1.27/net/sctp/ |
D | protocol.c | 1333 unsigned long goal; in sctp_init() local 1394 goal = totalram_pages >> (22 - PAGE_SHIFT); in sctp_init() 1396 goal = totalram_pages >> (24 - PAGE_SHIFT); in sctp_init() 1399 order = get_order(goal); in sctp_init()
|
/linux-4.1.27/Documentation/block/ |
D | deadline-iosched.txt | 20 The goal of the deadline io scheduler is to attempt to guarantee a start
|
/linux-4.1.27/Documentation/networking/mac80211_hwsim/ |
D | README | 19 The main goal for mac80211_hwsim is to make it easier for developers
|
/linux-4.1.27/fs/btrfs/ |
D | Kconfig | 49 writes of the super block). The goal is to verify that the
|
/linux-4.1.27/Documentation/development-process/ |
D | 8.Conclusion | 61 done when thousands of people work together toward a common goal.
|
D | 2.Process | 90 The developers' goal is to fix all known regressions before the stable
|
/linux-4.1.27/Documentation/ABI/testing/ |
D | sysfs-fs-ext4 | 87 Tuning parameter which (if non-zero) controls the goal
|
/linux-4.1.27/Documentation/arm/nwfpe/ |
D | README | 6 where required. It was written quickly, with a goal of implementing a
|
/linux-4.1.27/Documentation/sound/alsa/soc/ |
D | overview.txt | 4 The overall project goal of the ALSA System on Chip (ASoC) layer is to
|
/linux-4.1.27/Documentation/tpm/ |
D | xen-tpmfront.txt | 11 The goal of this work is to provide a TPM functionality to a virtual guest
|
/linux-4.1.27/tools/perf/config/ |
D | utilities.mak | 162 # The goal is to get an absolute path for an executable;
|
/linux-4.1.27/net/decnet/ |
D | dn_route.c | 1871 int i, goal, order; in dn_route_init() local 1881 goal = totalram_pages >> (26 - PAGE_SHIFT); in dn_route_init() 1883 for(order = 0; (1UL << order) < goal; order++) in dn_route_init()
|
/linux-4.1.27/Documentation/virtual/kvm/ |
D | nested-vmx.txt | 68 but the goal is to eventually support them all, starting with the VMX features
|
/linux-4.1.27/Documentation/video4linux/ |
D | README.ivtv | 19 The primary goal of the IVTV project is to provide a "clean room" Linux
|
/linux-4.1.27/Documentation/input/ |
D | ff.txt | 11 goal is not to support these devices as if they were simple input-only devices
|
/linux-4.1.27/Documentation/PCI/ |
D | pci-error-recovery.txt | 18 halting all I/O to it. The goal of a disconnection is to avoid system 346 The goal of this callback is to tell the driver to restart activity,
|
/linux-4.1.27/Documentation/kbuild/ |
D | makefiles.txt | 1058 When make is executed without arguments, the first goal encountered 1059 will be built. In the top level Makefile the first goal present 1062 In "make help", the default goal is highlighted with a '*'. 1063 Add a new prerequisite to all: to select a default goal different
|
/linux-4.1.27/Documentation/powerpc/ |
D | firmware-assisted-dump.txt | 6 The goal of firmware-assisted dump is to enable the dump of
|
D | pci_iov_resource_on_powernv.txt | 210 The goal is of course to be able to give a separate PE for each VF.
|
/linux-4.1.27/Documentation/thermal/ |
D | intel_powerclamp.txt | 42 idle injection across all online CPU threads was introduced. The goal
|
/linux-4.1.27/Documentation/timers/ |
D | highres.txt | 83 event driven kernel functionalities. The goal of the clock event subsystem is
|
/linux-4.1.27/drivers/net/ethernet/broadcom/ |
D | tg3.c | 17027 int goal; in tg3_calc_dma_bndry() local 17044 goal = BOUNDARY_MULTI_CACHELINE; in tg3_calc_dma_bndry() 17047 goal = BOUNDARY_SINGLE_CACHELINE; in tg3_calc_dma_bndry() 17049 goal = 0; in tg3_calc_dma_bndry() 17054 val = goal ? 0 : DMA_RWCTRL_DIS_CACHE_ALIGNMENT; in tg3_calc_dma_bndry() 17058 if (!goal) in tg3_calc_dma_bndry() 17078 if (goal == BOUNDARY_SINGLE_CACHELINE) { in tg3_calc_dma_bndry() 17102 if (goal == BOUNDARY_SINGLE_CACHELINE) { in tg3_calc_dma_bndry() 17117 if (goal == BOUNDARY_SINGLE_CACHELINE) { in tg3_calc_dma_bndry() 17124 if (goal == BOUNDARY_SINGLE_CACHELINE) { in tg3_calc_dma_bndry() [all …]
|
/linux-4.1.27/Documentation/s390/ |
D | s390dbf.txt | 9 The goal of this feature is to provide a kernel debug logging API
|
/linux-4.1.27/Documentation/cgroups/ |
D | unified-hierarchy.txt | 359 But this generally goes against the goal of making the most out of
|
D | memory.txt | 95 there were several implementations for memory control. The goal of the
|
/linux-4.1.27/Documentation/filesystems/ |
D | f2fs.txt | 70 This cleaning job may cause unexpected long delays, so the most important goal
|
D | proc.txt | 651 In 2.6.2* /proc/interrupts was expanded again. This time the goal was for 1192 Transinfo settings: current(12/8/1/0), goal(12/8/1/0), user(12/15/1/0) 1196 Transinfo settings: current(50/15/0/0), goal(50/15/0/0), user(50/15/0/0)
|
D | ext4.txt | 455 the goal inode used by the inode allocator in
|
D | xfs-delayed-logging-design.txt | 104 is the fundamental goal of delayed logging.
|
/linux-4.1.27/net/ipv4/ |
D | Kconfig | 555 TCP Low Priority (TCP-LP), a distributed algorithm whose goal is
|
/linux-4.1.27/Documentation/cdrom/ |
D | cdrom-standard.tex | 111 The goal of the \UCD\ is {\em not\/} to alienate driver developers who 112 have not yet taken steps to support this effort. The goal of \UCD\ is
|
/linux-4.1.27/arch/m68k/ifpsp060/src/ |
D | pfpsp.S | 3088 # In a system where the FP Operr exception is enabled, the goal # 3758 # In a system where the DZ exception is enabled, the goal is to #
|
D | fpsp.S | 3089 # In a system where the FP Operr exception is enabled, the goal # 3759 # In a system where the DZ exception is enabled, the goal is to #
|
/linux-4.1.27/Documentation/locking/ |
D | rt-mutex-design.txt | 15 The goal of this document is to help others understand the priority
|