goal 1585 arch/sparc/kernel/smp_64.c const unsigned long goal = __pa(MAX_DMA_ADDRESS); goal 1591 arch/sparc/kernel/smp_64.c ptr = memblock_alloc_from(size, align, goal); goal 1597 arch/sparc/kernel/smp_64.c ptr = memblock_alloc_try_nid(size, align, goal, goal 1604 arch/sparc/kernel/smp_64.c return memblock_alloc_from(size, align, goal); goal 103 arch/x86/kernel/setup_percpu.c const unsigned long goal = __pa(MAX_DMA_ADDRESS); goal 109 arch/x86/kernel/setup_percpu.c ptr = memblock_alloc_from(size, align, goal); goal 115 arch/x86/kernel/setup_percpu.c ptr = memblock_alloc_try_nid(size, align, goal, goal 124 arch/x86/kernel/setup_percpu.c return memblock_alloc_from(size, align, goal); goal 17065 drivers/net/ethernet/broadcom/tg3.c int goal; goal 17082 drivers/net/ethernet/broadcom/tg3.c goal = BOUNDARY_MULTI_CACHELINE; goal 17085 drivers/net/ethernet/broadcom/tg3.c goal = BOUNDARY_SINGLE_CACHELINE; goal 17087 drivers/net/ethernet/broadcom/tg3.c goal = 0; goal 17092 drivers/net/ethernet/broadcom/tg3.c val = goal ? 0 : DMA_RWCTRL_DIS_CACHE_ALIGNMENT; goal 17096 drivers/net/ethernet/broadcom/tg3.c if (!goal) goal 17116 drivers/net/ethernet/broadcom/tg3.c if (goal == BOUNDARY_SINGLE_CACHELINE) { goal 17140 drivers/net/ethernet/broadcom/tg3.c if (goal == BOUNDARY_SINGLE_CACHELINE) { goal 17155 drivers/net/ethernet/broadcom/tg3.c if (goal == BOUNDARY_SINGLE_CACHELINE) { goal 17162 drivers/net/ethernet/broadcom/tg3.c if (goal == BOUNDARY_SINGLE_CACHELINE) { goal 17169 drivers/net/ethernet/broadcom/tg3.c if (goal == BOUNDARY_SINGLE_CACHELINE) { goal 17176 drivers/net/ethernet/broadcom/tg3.c if (goal == BOUNDARY_SINGLE_CACHELINE) { goal 756 drivers/scsi/aic7xxx/aic79xx.h struct ahd_transinfo goal; goal 3166 drivers/scsi/aic7xxx/aic79xx_core.c tinfo->goal.transport_version = 2; goal 3167 drivers/scsi/aic7xxx/aic79xx_core.c tinfo->goal.ppr_options = 0; goal 3650 drivers/scsi/aic7xxx/aic79xx_core.c memset(&tstate->transinfo[i].goal, 0, goal 3651 drivers/scsi/aic7xxx/aic79xx_core.c sizeof(tstate->transinfo[i].goal)); goal 3719 drivers/scsi/aic7xxx/aic79xx_core.c transinfo = &tinfo->goal; goal 3801 drivers/scsi/aic7xxx/aic79xx_core.c *offset = min(*offset, (u_int)tinfo->goal.offset); goal 3829 drivers/scsi/aic7xxx/aic79xx_core.c *bus_width = min((u_int)tinfo->goal.width, *bus_width); goal 3859 drivers/scsi/aic7xxx/aic79xx_core.c if (tinfo->curr.period != tinfo->goal.period goal 3860 drivers/scsi/aic7xxx/aic79xx_core.c || tinfo->curr.width != tinfo->goal.width goal 3861 drivers/scsi/aic7xxx/aic79xx_core.c || tinfo->curr.offset != tinfo->goal.offset goal 3862 drivers/scsi/aic7xxx/aic79xx_core.c || tinfo->curr.ppr_options != tinfo->goal.ppr_options goal 3864 drivers/scsi/aic7xxx/aic79xx_core.c && (tinfo->goal.offset != 0 goal 3865 drivers/scsi/aic7xxx/aic79xx_core.c || tinfo->goal.width != MSG_EXT_WDTR_BUS_8_BIT goal 3866 drivers/scsi/aic7xxx/aic79xx_core.c || tinfo->goal.ppr_options != 0))) goal 3913 drivers/scsi/aic7xxx/aic79xx_core.c tinfo->goal.period = period; goal 3914 drivers/scsi/aic7xxx/aic79xx_core.c tinfo->goal.offset = offset; goal 3915 drivers/scsi/aic7xxx/aic79xx_core.c tinfo->goal.ppr_options = ppr_options; goal 4047 drivers/scsi/aic7xxx/aic79xx_core.c tinfo->goal.width = width; goal 4540 drivers/scsi/aic7xxx/aic79xx_core.c period = tinfo->goal.period; goal 4541 drivers/scsi/aic7xxx/aic79xx_core.c offset = tinfo->goal.offset; goal 4542 drivers/scsi/aic7xxx/aic79xx_core.c ppr_options = tinfo->goal.ppr_options; goal 4548 drivers/scsi/aic7xxx/aic79xx_core.c dowide = tinfo->curr.width != tinfo->goal.width; goal 4558 drivers/scsi/aic7xxx/aic79xx_core.c dowide = tinfo->goal.width != MSG_EXT_WDTR_BUS_8_BIT; goal 4559 drivers/scsi/aic7xxx/aic79xx_core.c dosync = tinfo->goal.offset != 0; goal 4591 drivers/scsi/aic7xxx/aic79xx_core.c offset = tinfo->goal.offset; goal 4593 drivers/scsi/aic7xxx/aic79xx_core.c doppr ? tinfo->goal.width goal 4598 drivers/scsi/aic7xxx/aic79xx_core.c tinfo->goal.width, ppr_options); goal 4603 drivers/scsi/aic7xxx/aic79xx_core.c ahd_construct_wdtr(ahd, devinfo, tinfo->goal.width); goal 5539 drivers/scsi/aic7xxx/aic79xx_core.c && tinfo->goal.period <= AHD_SYNCRATE_PACED) { goal 5551 drivers/scsi/aic7xxx/aic79xx_core.c tinfo->goal.period = AHD_SYNCRATE_DT; goal 5552 drivers/scsi/aic7xxx/aic79xx_core.c tinfo->goal.ppr_options &= MSG_EXT_PPR_IU_REQ goal 5566 drivers/scsi/aic7xxx/aic79xx_core.c tinfo->goal.ppr_options = 0; goal 5568 drivers/scsi/aic7xxx/aic79xx_core.c tinfo->goal.transport_version = 2; goal 5591 drivers/scsi/aic7xxx/aic79xx_core.c if (tinfo->goal.offset != tinfo->curr.offset) { goal 7637 drivers/scsi/aic7xxx/aic79xx_core.c tinfo->goal.protocol_version = 2; goal 7638 drivers/scsi/aic7xxx/aic79xx_core.c tinfo->goal.transport_version = 2; goal 7751 drivers/scsi/aic7xxx/aic79xx_core.c tinfo->goal.protocol_version = 2; goal 7752 drivers/scsi/aic7xxx/aic79xx_core.c tinfo->goal.transport_version = 2; goal 1706 drivers/scsi/aic7xxx/aic79xx_osm.c if (tinfo->curr.period != tinfo->goal.period goal 1707 drivers/scsi/aic7xxx/aic79xx_osm.c || tinfo->curr.width != tinfo->goal.width goal 1708 drivers/scsi/aic7xxx/aic79xx_osm.c || tinfo->curr.offset != tinfo->goal.offset goal 1709 drivers/scsi/aic7xxx/aic79xx_osm.c || tinfo->curr.ppr_options != tinfo->goal.ppr_options) goal 2410 drivers/scsi/aic7xxx/aic79xx_osm.c unsigned int ppr_options = tinfo->goal.ppr_options; goal 2413 drivers/scsi/aic7xxx/aic79xx_osm.c unsigned long offset = tinfo->goal.offset; goal 2476 drivers/scsi/aic7xxx/aic79xx_osm.c period = tinfo->goal.period; goal 2477 drivers/scsi/aic7xxx/aic79xx_osm.c ppr_options = tinfo->goal.ppr_options; goal 2498 drivers/scsi/aic7xxx/aic79xx_osm.c unsigned int ppr_options = tinfo->goal.ppr_options goal 2500 drivers/scsi/aic7xxx/aic79xx_osm.c unsigned int period = tinfo->goal.period; goal 2501 drivers/scsi/aic7xxx/aic79xx_osm.c unsigned int width = tinfo->goal.width; goal 2525 drivers/scsi/aic7xxx/aic79xx_osm.c ahd_set_syncrate(ahd, &devinfo, period, tinfo->goal.offset, goal 2540 drivers/scsi/aic7xxx/aic79xx_osm.c unsigned int ppr_options = tinfo->goal.ppr_options goal 2542 drivers/scsi/aic7xxx/aic79xx_osm.c unsigned int period = tinfo->goal.period; goal 2564 drivers/scsi/aic7xxx/aic79xx_osm.c ahd_set_syncrate(ahd, &devinfo, period, tinfo->goal.offset, goal 2579 drivers/scsi/aic7xxx/aic79xx_osm.c unsigned int ppr_options = tinfo->goal.ppr_options goal 2581 drivers/scsi/aic7xxx/aic79xx_osm.c unsigned int period = tinfo->goal.period; goal 2604 drivers/scsi/aic7xxx/aic79xx_osm.c ahd_set_syncrate(ahd, &devinfo, period, tinfo->goal.offset, goal 2619 drivers/scsi/aic7xxx/aic79xx_osm.c unsigned int ppr_options = tinfo->goal.ppr_options goal 2621 drivers/scsi/aic7xxx/aic79xx_osm.c unsigned int period = tinfo->goal.period; goal 2640 drivers/scsi/aic7xxx/aic79xx_osm.c ahd_set_syncrate(ahd, &devinfo, period, tinfo->goal.offset, goal 2655 drivers/scsi/aic7xxx/aic79xx_osm.c unsigned int ppr_options = tinfo->goal.ppr_options goal 2657 drivers/scsi/aic7xxx/aic79xx_osm.c unsigned int period = tinfo->goal.period; goal 2676 drivers/scsi/aic7xxx/aic79xx_osm.c ahd_set_syncrate(ahd, &devinfo, period, tinfo->goal.offset, goal 2691 drivers/scsi/aic7xxx/aic79xx_osm.c unsigned int ppr_options = tinfo->goal.ppr_options goal 2693 drivers/scsi/aic7xxx/aic79xx_osm.c unsigned int period = tinfo->goal.period; goal 2720 drivers/scsi/aic7xxx/aic79xx_osm.c ahd_set_syncrate(ahd, &devinfo, period, tinfo->goal.offset, goal 2735 drivers/scsi/aic7xxx/aic79xx_osm.c unsigned int ppr_options = tinfo->goal.ppr_options goal 2737 drivers/scsi/aic7xxx/aic79xx_osm.c unsigned int period = tinfo->goal.period; goal 2770 drivers/scsi/aic7xxx/aic79xx_osm.c ahd_set_syncrate(ahd, &devinfo, period, tinfo->goal.offset, goal 2785 drivers/scsi/aic7xxx/aic79xx_osm.c unsigned int ppr_options = tinfo->goal.ppr_options goal 2787 drivers/scsi/aic7xxx/aic79xx_osm.c unsigned int period = tinfo->goal.period; goal 2800 drivers/scsi/aic7xxx/aic79xx_osm.c ahd_set_syncrate(ahd, &devinfo, period, tinfo->goal.offset, goal 175 drivers/scsi/aic7xxx/aic79xx_proc.c ahd_format_transinfo(m, &tinfo->goal); goal 702 drivers/scsi/aic7xxx/aic7xxx.h struct ahc_transinfo goal; goal 1878 drivers/scsi/aic7xxx/aic7xxx_core.c tinfo->goal.transport_version = 2; goal 1879 drivers/scsi/aic7xxx/aic7xxx_core.c tinfo->goal.ppr_options = 0; goal 2165 drivers/scsi/aic7xxx/aic7xxx_core.c memset(&tstate->transinfo[i].goal, 0, goal 2166 drivers/scsi/aic7xxx/aic7xxx_core.c sizeof(tstate->transinfo[i].goal)); goal 2243 drivers/scsi/aic7xxx/aic7xxx_core.c transinfo = &tinfo->goal; goal 2404 drivers/scsi/aic7xxx/aic7xxx_core.c *offset = min(*offset, (u_int)tinfo->goal.offset); goal 2432 drivers/scsi/aic7xxx/aic7xxx_core.c *bus_width = min((u_int)tinfo->goal.width, *bus_width); goal 2462 drivers/scsi/aic7xxx/aic7xxx_core.c if (tinfo->curr.period != tinfo->goal.period goal 2463 drivers/scsi/aic7xxx/aic7xxx_core.c || tinfo->curr.width != tinfo->goal.width goal 2464 drivers/scsi/aic7xxx/aic7xxx_core.c || tinfo->curr.offset != tinfo->goal.offset goal 2465 drivers/scsi/aic7xxx/aic7xxx_core.c || tinfo->curr.ppr_options != tinfo->goal.ppr_options goal 2467 drivers/scsi/aic7xxx/aic7xxx_core.c && (tinfo->goal.offset != 0 goal 2468 drivers/scsi/aic7xxx/aic7xxx_core.c || tinfo->goal.width != MSG_EXT_WDTR_BUS_8_BIT goal 2469 drivers/scsi/aic7xxx/aic7xxx_core.c || tinfo->goal.ppr_options != 0))) goal 2516 drivers/scsi/aic7xxx/aic7xxx_core.c tinfo->goal.period = period; goal 2517 drivers/scsi/aic7xxx/aic7xxx_core.c tinfo->goal.offset = offset; goal 2518 drivers/scsi/aic7xxx/aic7xxx_core.c tinfo->goal.ppr_options = ppr_options; goal 2631 drivers/scsi/aic7xxx/aic7xxx_core.c tinfo->goal.width = width; goal 2980 drivers/scsi/aic7xxx/aic7xxx_core.c period = tinfo->goal.period; goal 2981 drivers/scsi/aic7xxx/aic7xxx_core.c offset = tinfo->goal.offset; goal 2982 drivers/scsi/aic7xxx/aic7xxx_core.c ppr_options = tinfo->goal.ppr_options; goal 2988 drivers/scsi/aic7xxx/aic7xxx_core.c dowide = tinfo->curr.width != tinfo->goal.width; goal 2998 drivers/scsi/aic7xxx/aic7xxx_core.c dowide = tinfo->goal.width != MSG_EXT_WDTR_BUS_8_BIT; goal 2999 drivers/scsi/aic7xxx/aic7xxx_core.c dosync = tinfo->goal.offset != 0; goal 3032 drivers/scsi/aic7xxx/aic7xxx_core.c offset = tinfo->goal.offset; goal 3034 drivers/scsi/aic7xxx/aic7xxx_core.c doppr ? tinfo->goal.width goal 3039 drivers/scsi/aic7xxx/aic7xxx_core.c tinfo->goal.width, ppr_options); goal 3044 drivers/scsi/aic7xxx/aic7xxx_core.c ahc_construct_wdtr(ahc, devinfo, tinfo->goal.width); goal 4033 drivers/scsi/aic7xxx/aic7xxx_core.c tinfo->goal.ppr_options = 0; goal 4035 drivers/scsi/aic7xxx/aic7xxx_core.c tinfo->goal.transport_version = 2; goal 4057 drivers/scsi/aic7xxx/aic7xxx_core.c if (tinfo->goal.offset != tinfo->curr.offset) { goal 5544 drivers/scsi/aic7xxx/aic7xxx_core.c tinfo->goal.protocol_version = 2; goal 5545 drivers/scsi/aic7xxx/aic7xxx_core.c tinfo->goal.transport_version = 2; goal 1628 drivers/scsi/aic7xxx/aic7xxx_osm.c if (tinfo->curr.period != tinfo->goal.period goal 1629 drivers/scsi/aic7xxx/aic7xxx_osm.c || tinfo->curr.width != tinfo->goal.width goal 1630 drivers/scsi/aic7xxx/aic7xxx_osm.c || tinfo->curr.offset != tinfo->goal.offset goal 1631 drivers/scsi/aic7xxx/aic7xxx_osm.c || tinfo->curr.ppr_options != tinfo->goal.ppr_options) goal 2353 drivers/scsi/aic7xxx/aic7xxx_osm.c unsigned int ppr_options = tinfo->goal.ppr_options; goal 2355 drivers/scsi/aic7xxx/aic7xxx_osm.c unsigned long offset = tinfo->goal.offset; goal 2406 drivers/scsi/aic7xxx/aic7xxx_osm.c period = tinfo->goal.period; goal 2407 drivers/scsi/aic7xxx/aic7xxx_osm.c ppr_options = tinfo->goal.ppr_options; goal 2425 drivers/scsi/aic7xxx/aic7xxx_osm.c unsigned int ppr_options = tinfo->goal.ppr_options goal 2427 drivers/scsi/aic7xxx/aic7xxx_osm.c unsigned int period = tinfo->goal.period; goal 2428 drivers/scsi/aic7xxx/aic7xxx_osm.c unsigned int width = tinfo->goal.width; goal 2443 drivers/scsi/aic7xxx/aic7xxx_osm.c ahc_set_syncrate(ahc, &devinfo, syncrate, period, tinfo->goal.offset, goal 2463 drivers/scsi/aic7xxx/aic7xxx_osm.c unsigned int ppr_options = tinfo->goal.ppr_options goal 2465 drivers/scsi/aic7xxx/aic7xxx_osm.c unsigned int period = tinfo->goal.period; goal 2476 drivers/scsi/aic7xxx/aic7xxx_osm.c ahc_set_syncrate(ahc, &devinfo, syncrate, period, tinfo->goal.offset, goal 2491 drivers/scsi/aic7xxx/aic7xxx_osm.c unsigned int ppr_options = tinfo->goal.ppr_options goal 2493 drivers/scsi/aic7xxx/aic7xxx_osm.c unsigned int period = tinfo->goal.period; goal 2504 drivers/scsi/aic7xxx/aic7xxx_osm.c ahc_set_syncrate(ahc, &devinfo, syncrate, period, tinfo->goal.offset, goal 155 drivers/scsi/aic7xxx/aic7xxx_proc.c ahc_format_transinfo(m, &tinfo->goal); goal 1352 drivers/scsi/sym53c8xx_2/sym_hipd.c struct sym_trans *goal) goal 1355 drivers/scsi/sym53c8xx_2/sym_hipd.c goal->width = 0; goal 1358 drivers/scsi/sym53c8xx_2/sym_hipd.c goal->iu = 0; goal 1359 drivers/scsi/sym53c8xx_2/sym_hipd.c goal->dt = 0; goal 1360 drivers/scsi/sym53c8xx_2/sym_hipd.c goal->qas = 0; goal 1361 drivers/scsi/sym53c8xx_2/sym_hipd.c goal->offset = 0; goal 1367 drivers/scsi/sym53c8xx_2/sym_hipd.c goal->dt = 1; goal 1369 drivers/scsi/sym53c8xx_2/sym_hipd.c if (goal->offset == 0) goal 1370 drivers/scsi/sym53c8xx_2/sym_hipd.c goal->dt = 0; goal 1372 drivers/scsi/sym53c8xx_2/sym_hipd.c goal->dt = 0; goal 1377 drivers/scsi/sym53c8xx_2/sym_hipd.c goal->dt = 0; goal 1379 drivers/scsi/sym53c8xx_2/sym_hipd.c if (goal->dt) { goal 1381 drivers/scsi/sym53c8xx_2/sym_hipd.c goal->width = 1; goal 1382 drivers/scsi/sym53c8xx_2/sym_hipd.c if (goal->offset > np->maxoffs_dt) goal 1383 drivers/scsi/sym53c8xx_2/sym_hipd.c goal->offset = np->maxoffs_dt; goal 1384 drivers/scsi/sym53c8xx_2/sym_hipd.c if (goal->period < np->minsync_dt) goal 1385 drivers/scsi/sym53c8xx_2/sym_hipd.c goal->period = np->minsync_dt; goal 1386 drivers/scsi/sym53c8xx_2/sym_hipd.c if (goal->period > np->maxsync_dt) goal 1387 drivers/scsi/sym53c8xx_2/sym_hipd.c goal->period = np->maxsync_dt; goal 1389 drivers/scsi/sym53c8xx_2/sym_hipd.c goal->iu = goal->qas = 0; goal 1390 drivers/scsi/sym53c8xx_2/sym_hipd.c if (goal->offset > np->maxoffs) goal 1391 drivers/scsi/sym53c8xx_2/sym_hipd.c goal->offset = np->maxoffs; goal 1392 drivers/scsi/sym53c8xx_2/sym_hipd.c if (goal->period < np->minsync) goal 1393 drivers/scsi/sym53c8xx_2/sym_hipd.c goal->period = np->minsync; goal 1394 drivers/scsi/sym53c8xx_2/sym_hipd.c if (goal->period > np->maxsync) goal 1395 drivers/scsi/sym53c8xx_2/sym_hipd.c goal->period = np->maxsync; goal 1410 drivers/scsi/sym53c8xx_2/sym_hipd.c struct sym_trans *goal = &tp->tgoal; goal 1414 drivers/scsi/sym53c8xx_2/sym_hipd.c sym_check_goals(np, starget, goal); goal 1420 drivers/scsi/sym53c8xx_2/sym_hipd.c if (goal->renego == NS_PPR || (goal->offset && goal 1421 drivers/scsi/sym53c8xx_2/sym_hipd.c (goal->iu || goal->dt || goal->qas || (goal->period < 0xa)))) { goal 1423 drivers/scsi/sym53c8xx_2/sym_hipd.c } else if (goal->renego == NS_WIDE || goal->width) { goal 1425 drivers/scsi/sym53c8xx_2/sym_hipd.c } else if (goal->renego == NS_SYNC || goal->offset) { goal 1428 drivers/scsi/sym53c8xx_2/sym_hipd.c goal->check_nego = 0; goal 1434 drivers/scsi/sym53c8xx_2/sym_hipd.c msglen += spi_populate_sync_msg(msgptr + msglen, goal->period, goal 1435 drivers/scsi/sym53c8xx_2/sym_hipd.c goal->offset); goal 1438 drivers/scsi/sym53c8xx_2/sym_hipd.c msglen += spi_populate_width_msg(msgptr + msglen, goal->width); goal 1441 drivers/scsi/sym53c8xx_2/sym_hipd.c msglen += spi_populate_ppr_msg(msgptr + msglen, goal->period, goal 1442 drivers/scsi/sym53c8xx_2/sym_hipd.c goal->offset, goal->width, goal 1443 drivers/scsi/sym53c8xx_2/sym_hipd.c (goal->iu ? PPR_OPT_IU : 0) | goal 1444 drivers/scsi/sym53c8xx_2/sym_hipd.c (goal->dt ? PPR_OPT_DT : 0) | goal 1445 drivers/scsi/sym53c8xx_2/sym_hipd.c (goal->qas ? PPR_OPT_QAS : 0)); goal 316 drivers/tty/tty_buffer.c int goal = min_t(size_t, size - copied, TTY_BUFFER_PAGE); goal 318 drivers/tty/tty_buffer.c int space = __tty_buffer_request_room(port, goal, flags); goal 352 drivers/tty/tty_buffer.c int goal = min_t(size_t, size - copied, TTY_BUFFER_PAGE); goal 353 drivers/tty/tty_buffer.c int space = tty_buffer_request_room(port, goal); goal 160 fs/affs/affs.h extern u32 affs_alloc_block(struct inode *inode, u32 goal); goal 115 fs/affs/bitmap.c affs_alloc_block(struct inode *inode, u32 goal) goal 128 fs/affs/bitmap.c pr_debug("balloc(inode=%lu,goal=%u): ", inode->i_ino, goal); goal 136 fs/affs/bitmap.c if (!goal || goal > sbi->s_partition_size) { goal 137 fs/affs/bitmap.c if (goal) goal 138 fs/affs/bitmap.c affs_warning(sb, "affs_balloc", "invalid goal %d", goal); goal 141 fs/affs/bitmap.c goal = sbi->s_reserved; goal 144 fs/affs/bitmap.c blk = goal - sbi->s_reserved; goal 293 fs/ext2/balloc.c search_reserve_window(struct rb_root *root, ext2_fsblk_t goal) goal 304 fs/ext2/balloc.c if (goal < rsv->rsv_start) goal 306 fs/ext2/balloc.c else if (goal > rsv->rsv_end) goal 317 fs/ext2/balloc.c if (rsv->rsv_start > goal) { goal 1230 fs/ext2/balloc.c ext2_fsblk_t ext2_new_blocks(struct inode *inode, ext2_fsblk_t goal, goal 1268 fs/ext2/balloc.c ext2_debug("goal=%lu.\n", goal); goal 1292 fs/ext2/balloc.c if (goal < le32_to_cpu(es->s_first_data_block) || goal 1293 fs/ext2/balloc.c goal >= le32_to_cpu(es->s_blocks_count)) goal 1294 fs/ext2/balloc.c goal = le32_to_cpu(es->s_first_data_block); goal 1295 fs/ext2/balloc.c group_no = (goal - le32_to_cpu(es->s_first_data_block)) / goal 1314 fs/ext2/balloc.c grp_target_blk = ((goal - le32_to_cpu(es->s_first_data_block)) % goal 1450 fs/ext2/balloc.c ext2_fsblk_t ext2_new_block(struct inode *inode, unsigned long goal, int *errp) goal 1454 fs/ext2/balloc.c return ext2_new_blocks(inode, goal, &count, errp); goal 399 fs/ext2/inode.c ext2_fsblk_t goal, int indirect_blks, int blks, goal 421 fs/ext2/inode.c current_block = ext2_new_blocks(inode,goal,&count,err); goal 479 fs/ext2/inode.c int indirect_blks, int *blks, ext2_fsblk_t goal, goal 490 fs/ext2/inode.c num = ext2_alloc_blocks(inode, goal, indirect_blks, goal 632 fs/ext2/inode.c ext2_fsblk_t goal; goal 720 fs/ext2/inode.c goal = ext2_find_goal(inode, iblock, partial); goal 733 fs/ext2/inode.c err = ext2_alloc_branch(inode, indirect_blks, &count, goal, goal 691 fs/ext2/xattr.c ext2_fsblk_t goal = ext2_group_first_block_no(sb, goal 693 fs/ext2/xattr.c int block = ext2_new_block(inode, goal, &error); goal 652 fs/ext4/balloc.c ext4_fsblk_t goal, unsigned int flags, goal 661 fs/ext4/balloc.c ar.goal = goal; goal 158 fs/ext4/ext4.h ext4_fsblk_t goal; goal 2342 fs/ext4/ext4.h ext4_fsblk_t goal, goal 2528 fs/ext4/ext4.h const struct qstr *qstr, __u32 goal, goal 2533 fs/ext4/ext4.h #define ext4_new_inode(handle, dir, mode, qstr, goal, owner, i_flags) \ goal 2534 fs/ext4/ext4.h __ext4_new_inode((handle), (dir), (mode), (qstr), (goal), (owner), \ goal 2536 fs/ext4/ext4.h #define ext4_new_inode_start_handle(dir, mode, qstr, goal, owner, \ goal 2538 fs/ext4/ext4.h __ext4_new_inode(NULL, (dir), (mode), (qstr), (goal), (owner), \ goal 224 fs/ext4/extents.c ext4_fsblk_t goal, newblock; goal 226 fs/ext4/extents.c goal = ext4_ext_find_goal(inode, path, le32_to_cpu(ex->ee_block)); goal 227 fs/ext4/extents.c newblock = ext4_new_meta_blocks(handle, inode, goal, flags, goal 1291 fs/ext4/extents.c ext4_fsblk_t newblock, goal = 0; goal 1298 fs/ext4/extents.c goal = ext4_idx_pblock(EXT_FIRST_INDEX(ext_inode_hdr(inode))); goal 1299 fs/ext4/extents.c if (goal > le32_to_cpu(es->s_first_data_block)) { goal 1301 fs/ext4/extents.c goal--; goal 1303 fs/ext4/extents.c goal = ext4_inode_to_goal_block(inode); goal 1304 fs/ext4/extents.c newblock = ext4_new_meta_blocks(handle, inode, goal, flags, goal 4442 fs/ext4/extents.c ar.goal = ext4_ext_find_goal(inode, path, map->m_lblk); goal 4454 fs/ext4/extents.c ar.goal -= offset; goal 4471 fs/ext4/extents.c ar.goal, newblock, allocated); goal 742 fs/ext4/ialloc.c __u32 goal, uid_t *owner, __u32 i_flags, goal 858 fs/ext4/ialloc.c if (!goal) goal 859 fs/ext4/ialloc.c goal = sbi->s_inode_goal; goal 861 fs/ext4/ialloc.c if (goal && goal <= le32_to_cpu(sbi->s_es->s_inodes_count)) { goal 862 fs/ext4/ialloc.c group = (goal - 1) / EXT4_INODES_PER_GROUP(sb); goal 863 fs/ext4/ialloc.c ino = (goal - 1) % EXT4_INODES_PER_GROUP(sb); goal 247 fs/ext4/indirect.c ext4_fsblk_t goal; goal 253 fs/ext4/indirect.c goal = ext4_find_near(inode, partial); goal 254 fs/ext4/indirect.c goal = goal & EXT4_MAX_BLOCK_FILE_PHYS; goal 255 fs/ext4/indirect.c return goal; goal 335 fs/ext4/indirect.c ar->goal = new_blocks[i] = ext4_new_meta_blocks(handle, goal 336 fs/ext4/indirect.c ar->inode, ar->goal, goal 598 fs/ext4/indirect.c ar.goal = ext4_find_goal(inode, map->m_lblk, partial); goal 4244 fs/ext4/mballoc.c ext4_fsblk_t goal; goal 4255 fs/ext4/mballoc.c goal = ar->goal; goal 4256 fs/ext4/mballoc.c if (goal < le32_to_cpu(es->s_first_data_block) || goal 4257 fs/ext4/mballoc.c goal >= ext4_blocks_count(es)) goal 4258 fs/ext4/mballoc.c goal = le32_to_cpu(es->s_first_data_block); goal 4259 fs/ext4/mballoc.c ext4_get_group_no_and_offset(sb, goal, &group, &block); goal 4280 fs/ext4/mballoc.c (unsigned) ar->goal, ac->ac_flags, ac->ac_2order, goal 438 fs/ext4/migrate.c __u32 goal; goal 469 fs/ext4/migrate.c goal = (((inode->i_ino - 1) / EXT4_INODES_PER_GROUP(inode->i_sb)) * goal 474 fs/ext4/migrate.c S_IFREG, NULL, goal, owner, 0); goal 2057 fs/ext4/xattr.c ext4_fsblk_t goal, block; goal 2061 fs/ext4/xattr.c goal = ext4_group_first_block_no(sb, goal 2066 fs/ext4/xattr.c goal = goal & EXT4_MAX_BLOCK_FILE_PHYS; goal 2068 fs/ext4/xattr.c block = ext4_new_meta_blocks(handle, inode, goal, 0, goal 229 fs/gfs2/rgrp.c u32 goal, u8 state) goal 231 fs/gfs2/rgrp.c u32 spoint = (goal << 1) & ((8*sizeof(u64)) - 1); goal 232 fs/gfs2/rgrp.c const __le64 *ptr = ((__le64 *)buf) + (goal >> 5); goal 1152 fs/gfs2/rgrp.c u32 i, goal, count = 0; goal 1155 fs/gfs2/rgrp.c goal = 0; goal 1158 fs/gfs2/rgrp.c while (goal < bi->bi_blocks) { goal 1159 fs/gfs2/rgrp.c goal = gfs2_bitfit(buffer, bi->bi_bytes, goal, goal 1161 fs/gfs2/rgrp.c if (goal == BFITNOENT) goal 1164 fs/gfs2/rgrp.c goal++; goal 1567 fs/gfs2/rgrp.c u64 goal; goal 1585 fs/gfs2/rgrp.c goal = ip->i_goal; goal 1587 fs/gfs2/rgrp.c goal = rgd->rd_last_alloc + rgd->rd_data0; goal 1589 fs/gfs2/rgrp.c if (WARN_ON(gfs2_rbm_from_block(&rbm, goal))) goal 1598 fs/gfs2/rgrp.c if (goal == rgd->rd_last_alloc + rgd->rd_data0) goal 2353 fs/gfs2/rgrp.c u64 goal; goal 2361 fs/gfs2/rgrp.c goal = ip->i_goal; goal 2363 fs/gfs2/rgrp.c goal = rbm->rgd->rd_last_alloc + rbm->rgd->rd_data0; goal 2365 fs/gfs2/rgrp.c if (WARN_ON_ONCE(gfs2_rbm_from_block(rbm, goal))) { goal 139 fs/hfs/bitmap.c u32 hfs_vbm_search_free(struct super_block *sb, u32 goal, u32 *num_bits) goal 151 fs/hfs/bitmap.c pos = hfs_find_set_zero_bits(bitmap, HFS_SB(sb)->fs_ablocks, goal, num_bits); goal 153 fs/hfs/bitmap.c if (goal) goal 154 fs/hfs/bitmap.c pos = hfs_find_set_zero_bits(bitmap, goal, 0, num_bits); goal 394 fs/hfs/extent.c u32 start, len, goal; goal 399 fs/hfs/extent.c goal = hfs_ext_lastblock(HFS_I(inode)->first_extents); goal 404 fs/hfs/extent.c goal = hfs_ext_lastblock(HFS_I(inode)->cached_extents); goal 408 fs/hfs/extent.c start = hfs_vbm_search_free(sb, goal, &len); goal 445 fs/hfsplus/extents.c u32 start, len, goal; goal 459 fs/hfsplus/extents.c goal = hfsplus_ext_lastblock(hip->first_extents); goal 464 fs/hfsplus/extents.c goal = hfsplus_ext_lastblock(hip->cached_extents); goal 468 fs/hfsplus/extents.c start = hfsplus_block_allocate(sb, sbi->total_blocks, goal, &len); goal 470 fs/hfsplus/extents.c start = hfsplus_block_allocate(sb, goal, 0, &len); goal 471 fs/hfsplus/extents.c if (start >= goal) { goal 1402 fs/ocfs2/dlmglue.c unsigned long goal) goal 1410 fs/ocfs2/dlmglue.c mw->mw_goal = goal; goal 1863 fs/ocfs2/ocfs2_trace.h TP_PROTO(unsigned int r_start, unsigned int r_end, unsigned int goal, goal 1865 fs/ocfs2/ocfs2_trace.h TP_ARGS(r_start, r_end, goal, wanted, empty_root), goal 1869 fs/ocfs2/ocfs2_trace.h __field(unsigned int, goal) goal 1876 fs/ocfs2/ocfs2_trace.h __entry->goal = goal; goal 1881 fs/ocfs2/ocfs2_trace.h __entry->goal, __entry->wanted, __entry->empty_root) goal 359 fs/ocfs2/reservations.c ocfs2_find_resv_lhs(struct ocfs2_reservation_map *resmap, unsigned int goal) goal 374 fs/ocfs2/reservations.c if (resv->r_start <= goal && ocfs2_resv_end(resv) >= goal) goal 378 fs/ocfs2/reservations.c if (resv->r_start > goal) { goal 464 fs/ocfs2/reservations.c unsigned int goal, unsigned int wanted) goal 482 fs/ocfs2/reservations.c goal, wanted, RB_EMPTY_ROOT(root)); goal 491 fs/ocfs2/reservations.c clen = ocfs2_resmap_find_free_bits(resmap, wanted, goal, goal 492 fs/ocfs2/reservations.c resmap->m_bitmap_len - goal, goal 499 fs/ocfs2/reservations.c BUG_ON(goal == 0 && clen == 0); goal 511 fs/ocfs2/reservations.c prev_resv = ocfs2_find_resv_lhs(resmap, goal); goal 537 fs/ocfs2/reservations.c if (next_resv->r_start <= goal) { goal 539 fs/ocfs2/reservations.c goal, next_resv->r_start, next_resv->r_len); goal 544 fs/ocfs2/reservations.c clen = ocfs2_resmap_find_free_bits(resmap, wanted, goal, goal 545 fs/ocfs2/reservations.c next_resv->r_start - goal, goal 687 fs/ocfs2/reservations.c unsigned int goal = 0; goal 697 fs/ocfs2/reservations.c goal = resv->r_last_start + resv->r_last_len; goal 698 fs/ocfs2/reservations.c if (goal >= resmap->m_bitmap_len) goal 699 fs/ocfs2/reservations.c goal = 0; goal 702 fs/ocfs2/reservations.c __ocfs2_resv_find_window(resmap, resv, goal, wanted); goal 705 fs/ocfs2/reservations.c if (ocfs2_resv_empty(resv) && goal != 0) goal 221 fs/udf/balloc.c uint32_t goal, int *err) goal 236 fs/udf/balloc.c if (goal >= sbi->s_partmaps[partition].s_partition_len) goal 237 fs/udf/balloc.c goal = 0; goal 240 fs/udf/balloc.c block = goal + (sizeof(struct spaceBitmapDesc) << 3); goal 560 fs/udf/balloc.c uint32_t goal, int *err) goal 582 fs/udf/balloc.c if (goal >= sbi->s_partmaps[partition].s_partition_len) goal 583 fs/udf/balloc.c goal = 0; goal 596 fs/udf/balloc.c if (goal >= eloc.logicalBlockNum) { goal 597 fs/udf/balloc.c if (goal < eloc.logicalBlockNum + goal 601 fs/udf/balloc.c nspread = goal - eloc.logicalBlockNum - goal 604 fs/udf/balloc.c nspread = eloc.logicalBlockNum - goal; goal 700 fs/udf/balloc.c uint16_t partition, uint32_t goal, int *err) goal 708 fs/udf/balloc.c partition, goal, err); goal 712 fs/udf/balloc.c partition, goal, err); goal 702 fs/udf/inode.c udf_pblk_t goal = 0, pgoal = iinfo->i_location.logicalBlockNum; goal 853 fs/udf/inode.c goal = iinfo->i_next_alloc_goal; goal 855 fs/udf/inode.c if (!goal) { goal 856 fs/udf/inode.c if (!(goal = pgoal)) /* XXX: what was intended here? */ goal 857 fs/udf/inode.c goal = iinfo->i_location.logicalBlockNum + 1; goal 862 fs/udf/inode.c goal, err); goal 239 fs/udf/udfdecl.h uint16_t partition, uint32_t goal, int *err); goal 345 fs/ufs/balloc.c u64 goal, unsigned count, int *err, goal 356 fs/ufs/balloc.c (unsigned long long)goal, count); goal 412 fs/ufs/balloc.c if (goal >= uspi->s_size) goal 413 fs/ufs/balloc.c goal = 0; goal 414 fs/ufs/balloc.c if (goal == 0) goal 417 fs/ufs/balloc.c cgno = ufs_dtog(uspi, goal); goal 423 fs/ufs/balloc.c result = ufs_alloc_fragments (inode, cgno, goal, count, err); goal 468 fs/ufs/balloc.c result = ufs_alloc_fragments (inode, cgno, goal, request, err); goal 588 fs/ufs/balloc.c u64 goal, unsigned count, int *err) goal 598 fs/ufs/balloc.c inode->i_ino, cgno, (unsigned long long)goal, count); goal 645 fs/ufs/balloc.c result = ufs_alloccg_block (inode, ucpi, goal, err); goal 656 fs/ufs/balloc.c result = ufs_alloccg_block (inode, ucpi, goal, err); goal 659 fs/ufs/balloc.c goal = ufs_dtogd(uspi, result); goal 661 fs/ufs/balloc.c ubh_setbit (UCPI_UBH(ucpi), ucpi->c_freeoff, goal + i); goal 672 fs/ufs/balloc.c result = ufs_bitmap_search (sb, ucpi, goal, allocsize); goal 702 fs/ufs/balloc.c u64 goal, int *err) goal 709 fs/ufs/balloc.c UFSD("ENTER, goal %llu\n", (unsigned long long)goal); goal 715 fs/ufs/balloc.c if (goal == 0) { goal 716 fs/ufs/balloc.c goal = ucpi->c_rotor; goal 719 fs/ufs/balloc.c goal = ufs_blknum (goal); goal 720 fs/ufs/balloc.c goal = ufs_dtogd(uspi, goal); goal 725 fs/ufs/balloc.c if (ubh_isblockset(UCPI_UBH(ucpi), ucpi->c_freeoff, ufs_fragstoblks(goal))) { goal 726 fs/ufs/balloc.c result = goal; goal 731 fs/ufs/balloc.c result = ufs_bitmap_search (sb, ucpi, goal, uspi->s_fpb); goal 797 fs/ufs/balloc.c u64 goal, unsigned count) goal 815 fs/ufs/balloc.c (unsigned long long)goal, count); goal 817 fs/ufs/balloc.c if (goal) goal 818 fs/ufs/balloc.c start = ufs_dtogd(uspi, goal) >> 3; goal 262 fs/ufs/inode.c u64 tmp, goal, lastfrag; goal 282 fs/ufs/inode.c goal = 0; goal 284 fs/ufs/inode.c goal = ufs_data_ptr_to_cpu(sb, goal 286 fs/ufs/inode.c if (goal) goal 287 fs/ufs/inode.c goal += uspi->s_fpb; goal 290 fs/ufs/inode.c goal, nfrags, err, locked_page); goal 341 fs/ufs/inode.c u64 tmp = 0, goal; goal 367 fs/ufs/inode.c goal = tmp + uspi->s_fpb; goal 369 fs/ufs/inode.c goal = bh->b_blocknr + uspi->s_fpb; goal 370 fs/ufs/inode.c tmp = ufs_new_fragments(inode, p, ufs_blknum(new_fragment), goal, goal 782 include/trace/events/ext4.h __field( __u64, goal ) goal 793 include/trace/events/ext4.h __entry->goal = ar->goal; goal 805 include/trace/events/ext4.h __entry->len, __entry->logical, __entry->goal, goal 823 include/trace/events/ext4.h __field( __u64, goal ) goal 835 include/trace/events/ext4.h __entry->goal = ar->goal; goal 848 include/trace/events/ext4.h __entry->goal, __entry->lleft, __entry->lright, goal 43 mm/sparse-vmemmap.c unsigned long goal) goal 45 mm/sparse-vmemmap.c return memblock_alloc_try_nid_raw(size, align, goal, goal 359 mm/sparse.c unsigned long goal, limit; goal 371 mm/sparse.c goal = __pa(pgdat) & (PAGE_SECTION_MASK << PAGE_SHIFT); goal 372 mm/sparse.c limit = goal + (1UL << PA_SECTION_SHIFT); goal 373 mm/sparse.c nid = early_pfn_to_nid(goal >> PAGE_SHIFT); goal 375 mm/sparse.c usage = memblock_alloc_try_nid(size, SMP_CACHE_BYTES, goal, limit, nid); goal 1129 net/dccp/proto.c unsigned long goal; goal 1158 net/dccp/proto.c goal = nr_pages >> (21 - PAGE_SHIFT); goal 1160 net/dccp/proto.c goal = nr_pages >> (23 - PAGE_SHIFT); goal 1163 net/dccp/proto.c goal = (thash_entries * goal 1165 net/dccp/proto.c for (ehash_order = 0; (1UL << ehash_order) < goal; ehash_order++) goal 1853 net/decnet/dn_route.c int i, goal, order; goal 1863 net/decnet/dn_route.c goal = totalram_pages() >> (26 - PAGE_SHIFT); goal 1865 net/decnet/dn_route.c for(order = 0; (1UL << order) < goal; order++) goal 5078 net/ipv4/tcp_input.c int goal; goal 5084 net/ipv4/tcp_input.c goal = sk->sk_rcvbuf >> 3; goal 5089 net/ipv4/tcp_input.c goal -= rb_to_skb(node)->truesize; goal 5091 net/ipv4/tcp_input.c if (!prev || goal <= 0) { goal 5096 net/ipv4/tcp_input.c goal = sk->sk_rcvbuf >> 3; goal 299 net/netfilter/ipvs/ip_vs_lblc.c int goal; goal 316 net/netfilter/ipvs/ip_vs_lblc.c goal = (atomic_read(&tbl->entries) - tbl->max_size)*4/3; goal 317 net/netfilter/ipvs/ip_vs_lblc.c if (goal > tbl->max_size/2) goal 318 net/netfilter/ipvs/ip_vs_lblc.c goal = tbl->max_size/2; goal 330 net/netfilter/ipvs/ip_vs_lblc.c goal--; goal 333 net/netfilter/ipvs/ip_vs_lblc.c if (goal <= 0) goal 463 net/netfilter/ipvs/ip_vs_lblcr.c int goal; goal 480 net/netfilter/ipvs/ip_vs_lblcr.c goal = (atomic_read(&tbl->entries) - tbl->max_size)*4/3; goal 481 net/netfilter/ipvs/ip_vs_lblcr.c if (goal > tbl->max_size/2) goal 482 net/netfilter/ipvs/ip_vs_lblcr.c goal = tbl->max_size/2; goal 494 net/netfilter/ipvs/ip_vs_lblcr.c goal--; goal 497 net/netfilter/ipvs/ip_vs_lblcr.c if (goal <= 0) goal 1224 net/netfilter/nf_conntrack_core.c unsigned int i, goal, buckets = 0, expired_count = 0; goal 1232 net/netfilter/nf_conntrack_core.c goal = nf_conntrack_htable_size / GC_MAX_BUCKETS_DIV; goal 1296 net/netfilter/nf_conntrack_core.c } while (++buckets < goal); goal 223 net/rds/ib_fmr.c unsigned long *unpinned, unsigned int goal) goal 246 net/rds/ib_fmr.c if (freed < goal || goal 358 net/rds/ib_frmr.c unsigned long *unpinned, unsigned int goal) goal 382 net/rds/ib_frmr.c if (freed < goal || frmr->fr_state == FRMR_IS_STALE) { goal 148 net/rds/ib_mr.h unsigned long *unpinned, unsigned int goal); goal 1373 net/sctp/protocol.c unsigned long goal; goal 1435 net/sctp/protocol.c goal = nr_pages >> (22 - PAGE_SHIFT); goal 1437 net/sctp/protocol.c goal = nr_pages >> (24 - PAGE_SHIFT); goal 1440 net/sctp/protocol.c order = get_order(goal);