/linux-master/fs/bcachefs/ |
H A D | io_read.c | 156 bch2_data_update_read_done(&op->write, rbio->pick.crc); 163 struct extent_ptr_decoded *pick, 255 struct extent_ptr_decoded *pick, 266 ? max(pick->crc.compressed_size, pick->crc.live_size) 282 k, pos, pick, opts, sectors, rbio); 394 rbio->pick.ptr, 396 rbio->pick.crc.offset)) { 437 bch2_mark_io_failure(&failed, &rbio->pick); 479 u64 data_offset = rbio->data_pos.offset - rbio->pick 159 __promote_alloc(struct btree_trans *trans, enum btree_id btree_id, struct bkey_s_c k, struct bpos pos, struct extent_ptr_decoded *pick, struct bch_io_opts opts, unsigned sectors, struct bch_read_bio **rbio) argument 252 promote_alloc(struct btree_trans *trans, struct bvec_iter iter, struct bkey_s_c k, struct extent_ptr_decoded *pick, struct bch_io_opts opts, unsigned flags, struct bch_read_bio **rbio, bool *bounce, bool *read_full) argument 802 struct extent_ptr_decoded pick; local [all...] |
H A D | io_read.h | 51 struct extent_ptr_decoded pick; member in struct:bch_read_bio
|
H A D | btree_io.c | 1283 struct bch_dev *ca = bch_dev_bkey_exists(c, rb->pick.ptr.dev); 1295 ca = bch_dev_bkey_exists(c, rb->pick.ptr.dev); 1298 bio->bi_iter.bi_sector = rb->pick.ptr.offset; 1317 bch2_mark_io_failure(&failed, &rb->pick); 1321 &failed, &rb->pick) > 0; 1366 struct bch_dev *ca = bch_dev_bkey_exists(c, rb->pick.ptr.dev); 1563 struct bch_dev *ca = bch_dev_bkey_exists(c, rb->pick.ptr.dev); 1581 struct extent_ptr_decoded pick; local 1604 bkey_for_each_ptr_decode(k.k, ptrs, pick, entry) { 1605 struct bch_dev *ca = bch_dev_bkey_exists(c, pick 1648 struct extent_ptr_decoded pick; local [all...] |
H A D | debug.c | 34 struct extent_ptr_decoded pick) 40 struct bch_dev *ca = bch_dev_bkey_exists(c, pick.ptr.dev); 52 bio->bi_iter.bi_sector = pick.ptr.offset; 186 struct extent_ptr_decoded pick; local 192 if (bch2_bkey_pick_read_device(c, bkey_i_to_s_c(&b->key), NULL, &pick) <= 0) { 197 ca = bch_dev_bkey_exists(c, pick.ptr.dev); 214 bio->bi_iter.bi_sector = pick.ptr.offset; 33 bch2_btree_verify_replica(struct bch_fs *c, struct btree *b, struct extent_ptr_decoded pick) argument
|
H A D | btree_io.h | 44 struct extent_ptr_decoded pick; member in struct:btree_read_bio
|
H A D | ec.c | 798 BUG_ON(!rbio->pick.has_ec); 804 ret = lockrestart_do(trans, get_stripe_key_trans(trans, rbio->pick.ec.idx, buf)); 814 if (!bch2_ptr_matches_stripe(v, rbio->pick)) { 821 offset = rbio->bio.bi_iter.bi_sector - v->ptrs[rbio->pick.ec.block].offset; 852 buf->data[rbio->pick.ec.block] + ((offset - buf->offset) << 9)); 1544 /* pick most common bucket size: */
|
H A D | extents.c | 101 * Avoid can be NULL, meaning pick any. If there are no non-stale pointers to 102 * other devices, it will still pick a pointer from avoid. 106 struct extent_ptr_decoded *pick) 155 if (ret > 0 && !ptr_better(c, p, *pick)) 158 *pick = p; 104 bch2_bkey_pick_read_device(struct bch_fs *c, struct bkey_s_c k, struct bch_io_failures *failed, struct extent_ptr_decoded *pick) argument
|
H A D | move.c | 163 bch2_data_update_read_done(&io->write, io->rbio.pick.crc);
|
/linux-master/tools/perf/arch/x86/util/ |
H A D | intel-pt.c | 166 int pos, pick = -1; local 170 if (pos <= target || pick < 0) 171 pick = pos; 177 return pick;
|
/linux-master/fs/xfs/libxfs/ |
H A D | xfs_dir2_sf.c | 374 int pick; /* which algorithm to use */ local 405 * or the pick routine says it won't (due to offset values). 408 (pick = 431 if (pick == 1) 438 ASSERT(pick == 2); 452 * This is already checked by the pick routine. 586 * If it will fit, pick between adding the new entry to the end (easy) 591 static int /* pick result */
|
/linux-master/lib/ |
H A D | fortify_kunit.c | 79 static volatile int pick; variable 82 static noinline size_t want_minus_one(int pick) argument 86 switch (pick) { 102 KUNIT_EXPECT_EQ(test, want_minus_one(pick), SIZE_MAX);
|
/linux-master/fs/xfs/ |
H A D | xfs_rtalloc.c | 1261 xfs_rtxnum_t *pick) /* result rt extent */ 1292 *pick = b; 1398 * If it's an allocation to an empty file at offset 0, pick an 1257 xfs_rtpick_extent( xfs_mount_t *mp, xfs_trans_t *tp, xfs_rtxlen_t len, xfs_rtxnum_t *pick) argument
|
/linux-master/arch/m68k/fpsp040/ |
H A D | decbin.S | 145 moveql #ESTRT,%d3 |counter to pick up digits 207 moveql #FSTRT,%d3 |counter to pick up digits
|
/linux-master/drivers/video/fbdev/ |
H A D | leo.c | 161 u32 pick[5]; /* SS1 only */ member in struct:leo_ld_ss0
|
H A D | ffb.c | 255 u32 pick; member in struct:ffb_fbc
|
/linux-master/net/mptcp/ |
H A D | protocol.c | 1415 /* pick the subflow with the lower wmem/wspace ratio */ 1446 /* pick the best backup if no other subflow is active */ 2305 struct sock *backup = NULL, *pick = NULL; local 2328 if (!pick) 2329 pick = ssk; 2332 if (pick) 2333 return pick;
|
/linux-master/kernel/sched/ |
H A D | deadline.c | 672 * If we cannot preempt any rq, fall back to pick any 1432 dl_server_pick_f pick) 1436 dl_se->server_pick = pick; 1430 dl_server_init(struct sched_dl_entity *dl_se, struct rq *rq, dl_server_has_tasks_f has_tasks, dl_server_pick_f pick) argument
|
H A D | sched.h | 343 dl_server_pick_f pick);
|