Home
last modified time | relevance | path

Searched refs:goal (Results 1 – 102 of 102) sorted by relevance

/linux-4.1.27/mm/
Dnobootmem.c36 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 …]
Dbootmem.c495 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 …]
Dsparse.c267 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()
Dsparse-vmemmap.c41 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/
Dreservations.c367 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 …]
Docfs2_trace.h1866 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)
Ddlmglue.c1319 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/
Dmemchr_64.c26 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()
Dmemchr_32.c25 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()
Dstrchr_32.c28 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()
Dstrchr_64.c29 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/
Dballoc.c342 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 …]
Dinode.c182 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/
Dbootmem.h79 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/
Dbitmap.c114 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()
Daffs.h159 extern u32 affs_alloc_block(struct inode *inode, u32 goal);
/linux-4.1.27/fs/udf/
Dballoc.c223 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 …]
Dinode.c670 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/
Dext3.h345 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 …]
Dext4.h759 __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/
Dbitmap.c139 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()
Dextent.c388 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/
Dsetup_percpu.c101 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/
Dvmw_balloon.c510 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/
Daic79xx_osm.c1708 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 …]
Daic7xxx_osm.c1632 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 …]
Daic7xxx_core.c1885 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 …]
Daic79xx_core.c3172 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 …]
Daic79xx_proc.c175 ahd_format_transinfo(m, &tinfo->goal); in ahd_dump_target_state()
Daic7xxx_proc.c155 ahc_format_transinfo(m, &tinfo->goal); in ahc_dump_target_state()
Daic7xxx.h705 struct ahc_transinfo goal; member
Daic79xx.h759 struct ahd_transinfo goal; member
/linux-4.1.27/fs/ext2/
Dballoc.c291 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 …]
Dinode.c395 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()
Dxattr.c657 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/
Dip_vs_lblc.c303 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()
Dip_vs_lblcr.c467 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/
Dsym_hipd.c1365 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/
Dballoc.c299 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 …]
Dinode.c576 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()
Dext3.h1000 ext3_fsblk_t goal, int *errp);
1002 ext3_fsblk_t goal, unsigned long *count, int *errp);
Dxattr.c798 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/
Dextents.c433 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/
Dtty_buffer.c304 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/
Drgrp.c219 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/
Dindirect.c245 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()
Dialloc.c712 __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()
Dmigrate.c444 __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()
Dballoc.c622 ext4_fsblk_t goal, unsigned int flags, in ext4_new_meta_blocks() argument
631 ar.goal = goal; in ext4_new_meta_blocks()
Dext4.h141 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), \
Dxattr.c904 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()
Dextents.c230 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 …]
Dmballoc.c4157 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/
Dsetup.c612 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/
Dproto.c1110 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/
Dsctp.txt17 The initial project goal is to create an Linux kernel reference implementation
Dieee802154.txt13 The Linux-ZigBee project goal is to provide complete implementation
Dfib_trie.txt128 prefix. The goal is always to reach a leaf and get a positive result from the
Dxfrm_sync.txt6 The end goal for syncing is to be able to insert attributes + generate
Dscaling.txt29 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
Dfilter.txt579 The new instruction set was originally designed with the possible goal in
Dcan.txt157 As described in chapter 2 it is the main goal of SocketCAN to
Dbonding.txt983 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/
Dsmp_64.c1466 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/
DSecurityBugs22 The goal of the Linux kernel security team is to work with the
DHOWTO20 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
Dsysfs-rules.txt26 current kernel development. The goal of providing a stable interface
Dedac.txt35 The 'edac' kernel module goal is to detect and report errors that occur
/linux-4.1.27/net/sctp/
Dprotocol.c1333 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/
Ddeadline-iosched.txt20 The goal of the deadline io scheduler is to attempt to guarantee a start
/linux-4.1.27/Documentation/networking/mac80211_hwsim/
DREADME19 The main goal for mac80211_hwsim is to make it easier for developers
/linux-4.1.27/fs/btrfs/
DKconfig49 writes of the super block). The goal is to verify that the
/linux-4.1.27/Documentation/development-process/
D8.Conclusion61 done when thousands of people work together toward a common goal.
D2.Process90 The developers' goal is to fix all known regressions before the stable
/linux-4.1.27/Documentation/ABI/testing/
Dsysfs-fs-ext487 Tuning parameter which (if non-zero) controls the goal
/linux-4.1.27/Documentation/arm/nwfpe/
DREADME6 where required. It was written quickly, with a goal of implementing a
/linux-4.1.27/Documentation/sound/alsa/soc/
Doverview.txt4 The overall project goal of the ALSA System on Chip (ASoC) layer is to
/linux-4.1.27/Documentation/tpm/
Dxen-tpmfront.txt11 The goal of this work is to provide a TPM functionality to a virtual guest
/linux-4.1.27/tools/perf/config/
Dutilities.mak162 # The goal is to get an absolute path for an executable;
/linux-4.1.27/net/decnet/
Ddn_route.c1871 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/
Dnested-vmx.txt68 but the goal is to eventually support them all, starting with the VMX features
/linux-4.1.27/Documentation/video4linux/
DREADME.ivtv19 The primary goal of the IVTV project is to provide a "clean room" Linux
/linux-4.1.27/Documentation/input/
Dff.txt11 goal is not to support these devices as if they were simple input-only devices
/linux-4.1.27/Documentation/PCI/
Dpci-error-recovery.txt18 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/
Dmakefiles.txt1058 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/
Dfirmware-assisted-dump.txt6 The goal of firmware-assisted dump is to enable the dump of
Dpci_iov_resource_on_powernv.txt210 The goal is of course to be able to give a separate PE for each VF.
/linux-4.1.27/Documentation/thermal/
Dintel_powerclamp.txt42 idle injection across all online CPU threads was introduced. The goal
/linux-4.1.27/Documentation/timers/
Dhighres.txt83 event driven kernel functionalities. The goal of the clock event subsystem is
/linux-4.1.27/drivers/net/ethernet/broadcom/
Dtg3.c17027 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/
Ds390dbf.txt9 The goal of this feature is to provide a kernel debug logging API
/linux-4.1.27/Documentation/cgroups/
Dunified-hierarchy.txt359 But this generally goes against the goal of making the most out of
Dmemory.txt95 there were several implementations for memory control. The goal of the
/linux-4.1.27/Documentation/filesystems/
Df2fs.txt70 This cleaning job may cause unexpected long delays, so the most important goal
Dproc.txt651 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)
Dext4.txt455 the goal inode used by the inode allocator in
Dxfs-delayed-logging-design.txt104 is the fundamental goal of delayed logging.
/linux-4.1.27/net/ipv4/
DKconfig555 TCP Low Priority (TCP-LP), a distributed algorithm whose goal is
/linux-4.1.27/Documentation/cdrom/
Dcdrom-standard.tex111 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/
Dpfpsp.S3088 # 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 #
Dfpsp.S3089 # 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/
Drt-mutex-design.txt15 The goal of this document is to help others understand the priority