Searched refs:goal (Results 26 - 50 of 58) sorted by relevance

123

/linux-master/fs/ext2/
H A Dinode.c327 * Returns preferred place for a block (the goal).
390 * @goal: Preferred place for allocation.
400 ext2_fsblk_t goal, int indirect_blks, int blks,
422 current_block = ext2_new_blocks(inode, goal, &count, err, 0);
457 * @goal: preferred place for allocation
480 int indirect_blks, int *blks, ext2_fsblk_t goal,
491 num = ext2_alloc_blocks(inode, goal, indirect_blks,
587 * in i_block_alloc_info, to assist find the proper goal block for next
633 ext2_fsblk_t goal; local
721 goal
399 ext2_alloc_blocks(struct inode *inode, ext2_fsblk_t goal, int indirect_blks, int blks, ext2_fsblk_t new_blocks[4], int *err) argument
479 ext2_alloc_branch(struct inode *inode, int indirect_blks, int *blks, ext2_fsblk_t goal, int *offsets, Indirect *branch) argument
[all...]
H A Dxattr.c743 ext2_fsblk_t goal = ext2_group_first_block_no(sb, local
746 ext2_fsblk_t block = ext2_new_blocks(inode, goal,
/linux-master/tools/testing/selftests/cgroup/
H A Dtest_memcontrol.c251 static bool reclaim_until(const char *memcg, long goal);
672 * Reclaim from @memcg until usage reaches @goal by writing to
676 * goal.
684 * the usage goal was satisfied.
686 static bool reclaim_until(const char *memcg, long goal) argument
696 if (current < goal || values_close(current, goal, 3))
702 to_reclaim = current - goal;
/linux-master/net/dccp/
H A Dproto.c1124 unsigned long goal; local
1155 goal = nr_pages >> (21 - PAGE_SHIFT);
1157 goal = nr_pages >> (23 - PAGE_SHIFT);
1160 goal = (thash_entries *
1162 for (ehash_order = 0; (1UL << ehash_order) < goal; ehash_order++)
/linux-master/fs/ext4/
H A Dmigrate.c418 __u32 goal, tmp_csum_seed; local
451 goal = (((inode->i_ino - 1) / EXT4_INODES_PER_GROUP(inode->i_sb)) *
456 S_IFREG, NULL, goal, owner, 0);
H A Dballoc.c729 * @goal: given target block(filesystem wide)
737 ext4_fsblk_t goal, unsigned int flags,
746 ar.goal = goal;
736 ext4_new_meta_blocks(handle_t *handle, struct inode *inode, ext4_fsblk_t goal, unsigned int flags, unsigned long *count, int *errp) argument
H A Dextents.c264 ext4_fsblk_t goal, newblock; local
266 goal = ext4_ext_find_goal(inode, path, le32_to_cpu(ex->ee_block));
267 newblock = ext4_new_meta_blocks(handle, inode, goal, flags,
1316 ext4_fsblk_t newblock, goal = 0; local
1323 goal = ext4_idx_pblock(EXT_FIRST_INDEX(ext_inode_hdr(inode)));
1324 if (goal > le32_to_cpu(es->s_first_data_block)) {
1326 goal--;
1328 goal = ext4_inode_to_goal_block(inode);
1329 newblock = ext4_new_meta_blocks(handle, inode, goal, flags,
4292 ar.goal
[all...]
H A Dmballoc.c45 * near to the goal(block) value specified.
174 * fragment size > goal length. So before falling to the slower
175 * CR_GOAL_LEN_SLOW, in CR_BEST_AVAIL_LEN we proactively trim goal length and
203 * the group specified as the goal value in allocation context via
970 * a larger normalized goal len request which can be trimmed to
971 * a smaller goal len such that it can still satisfy original
984 * order we have and proactively trim the goal request length to that order to
1008 * goal length.
1024 * up the goal len to num_stripe_clusters
1035 * Scale down goal le
5787 ext4_fsblk_t goal; local
6067 ext4_fsblk_t goal, block; local
[all...]
H A Dext4.h147 * suitable group that satisfies goal request. No disk IO
153 * Same as CR_GOAL_LEN_FAST but is allowed to reduce the goal
161 * allocate goal length but might trim the request if nothing
186 /* prefer goal again. length */
202 /* allocate goal blocks or none */
204 /* goal is meaningful */
235 ext4_fsblk_t goal; member in struct:ext4_allocation_request
1614 atomic_t s_bal_goals; /* goal hits */
1615 atomic_t s_bal_len_goals; /* len goal hits */
2716 ext4_fsblk_t goal,
[all...]
/linux-master/drivers/scsi/aic7xxx/
H A Daic7xxx_core.c1862 tinfo->goal.transport_version = 2;
1863 tinfo->goal.ppr_options = 0;
2138 * channel, but reset our current and goal settings to async/narrow
2148 memset(&tstate->transinfo[i].goal, 0,
2149 sizeof(tstate->transinfo[i].goal));
2213 * Never allow a value higher than our current goal
2225 transinfo = &tinfo->goal;
2386 *offset = min(*offset, (u_int)tinfo->goal.offset);
2414 *bus_width = min((u_int)tinfo->goal.width, *bus_width);
2444 if (tinfo->curr.period != tinfo->goal
[all...]
H A Daic7xxx_proc.c155 ahc_format_transinfo(m, &tinfo->goal);
H A Daic79xx_proc.c175 ahd_format_transinfo(m, &tinfo->goal);
H A Daic79xx_core.c3140 tinfo->goal.transport_version = 2;
3141 tinfo->goal.ppr_options = 0;
3614 * channel, but reset our current and goal settings to async/narrow
3623 memset(&tstate->transinfo[i].goal, 0,
3624 sizeof(tstate->transinfo[i].goal));
3679 * Never allow a value higher than our current goal
3691 transinfo = &tinfo->goal;
3773 *offset = min(*offset, (u_int)tinfo->goal.offset);
3801 *bus_width = min((u_int)tinfo->goal.width, *bus_width);
3831 if (tinfo->curr.period != tinfo->goal
[all...]
H A Daic7xxx.h536 SCB_AUTO_NEGOTIATE = 0x0040,/* Negotiate to achieve goal. */
677 #define AHC_TRANS_GOAL 0x04 /* Modify negotiation goal */
698 * Per-initiator current, goal and user transfer negotiation information. */
702 struct ahc_transinfo goal; member in struct:ahc_initiator_tinfo
1200 * even if our goal and current transport parameters are identical.
1203 AHC_NEG_TO_GOAL, /* Renegotiate only if goal and curr differ. */
1204 AHC_NEG_IF_NON_ASYNC, /* Renegotiate so long as goal is non-async. */
1205 AHC_NEG_ALWAYS /* Renegotiat even if goal is async. */
/linux-master/net/rds/
H A Dib_frmr.c358 unsigned long *unpinned, unsigned int goal)
382 if (freed < goal || frmr->fr_state == FRMR_IS_STALE) {
357 rds_ib_unreg_frmr(struct list_head *list, unsigned int *nfreed, unsigned long *unpinned, unsigned int goal) argument
/linux-master/mm/
H A Dsparse-vmemmap.c43 unsigned long goal)
45 return memblock_alloc_try_nid_raw(size, align, goal,
40 __earlyonly_bootmem_alloc(int node, unsigned long size, unsigned long align, unsigned long goal) argument
/linux-master/drivers/tty/
H A Dtty_buffer.c308 size_t goal = min_t(size_t, size - copied, TTY_BUFFER_PAGE); local
309 size_t space = __tty_buffer_request_room(port, goal, need_flags);
/linux-master/fs/udf/
H A Dudfdecl.h239 uint16_t partition, uint32_t goal, int *err);
H A Dinode.c718 udf_pblk_t goal = 0, pgoal = iinfo->i_location.logicalBlockNum; local
867 goal = iinfo->i_next_alloc_goal;
869 if (!goal) {
870 if (!(goal = pgoal)) /* XXX: what was intended here? */
871 goal = iinfo->i_location.logicalBlockNum + 1;
876 goal, &ret);
/linux-master/drivers/net/ethernet/ibm/
H A Dibmveth.c1005 goal = channels->tx_count; local
1012 return netif_set_real_num_tx_queues(netdev, goal);
1020 for (i = old; i < goal; i++) {
1031 goal = old;
1035 rc = netif_set_real_num_tx_queues(netdev, goal);
1039 goal = old;
1043 for (i = old; i > goal; i--) {
/linux-master/fs/affs/
H A Daffs.h161 extern u32 affs_alloc_block(struct inode *inode, u32 goal);
/linux-master/fs/ocfs2/
H A Docfs2_trace.h1862 TP_PROTO(unsigned int r_start, unsigned int r_end, unsigned int goal,
1864 TP_ARGS(r_start, r_end, goal, wanted, empty_root),
1868 __field(unsigned int, goal)
1875 __entry->goal = goal;
1880 __entry->goal, __entry->wanted, __entry->empty_root)
/linux-master/net/sctp/
H A Dprotocol.c1486 unsigned long goal; local
1539 * Though not identical. Start by getting a goal size
1542 goal = nr_pages >> (22 - PAGE_SHIFT);
1544 goal = nr_pages >> (24 - PAGE_SHIFT);
1546 /* Then compute the page order for said goal */
1547 order = get_order(goal);
/linux-master/tools/scripts/
H A Dutilities.mak162 # The goal is to get an absolute path for an executable;
/linux-master/include/trace/events/
H A Dext4.h830 __field( __u64, goal )
841 __entry->goal = ar->goal;
849 TP_printk("dev %d,%d ino %lu flags %s len %u lblk %u goal %llu "
853 __entry->len, __entry->logical, __entry->goal,
871 __field( __u64, goal )
883 __entry->goal = ar->goal;
892 "goal %llu lleft %u lright %u pleft %llu pright %llu",
896 __entry->goal, __entr
[all...]

Completed in 352 milliseconds

123