Home
last modified time | relevance | path

Searched refs:oldsize (Results 1 – 10 of 10) sorted by relevance

/drivers/staging/lustre/lustre/ptlrpc/
Dsec_null.c233 int oldsize, newmsg_size, alloc_size; in null_enlarge_reqbuf() local
241 oldsize = req->rq_reqbuf->lm_buflens[segment]; in null_enlarge_reqbuf()
244 req->rq_reqbuf->lm_buflens[segment] = oldsize; in null_enlarge_reqbuf()
Dsec_plain.c639 int oldsize; in plain_enlarge_reqbuf() local
648 oldsize = req->rq_reqmsg->lm_buflens[segment]; in plain_enlarge_reqbuf()
652 req->rq_reqmsg->lm_buflens[segment] = oldsize; in plain_enlarge_reqbuf()
655 oldsize = req->rq_reqbuf->lm_buflens[PLAIN_PACK_MSG_OFF]; in plain_enlarge_reqbuf()
659 req->rq_reqbuf->lm_buflens[PLAIN_PACK_MSG_OFF] = oldsize; in plain_enlarge_reqbuf()
Dsec.c1533 int oldsize, oldmsg_size, movesize; in _sptlrpc_enlarge_msg_inplace() local
1547 oldsize = msg->lm_buflens[segment]; in _sptlrpc_enlarge_msg_inplace()
1552 msg->lm_buflens[segment] = oldsize; in _sptlrpc_enlarge_msg_inplace()
/drivers/md/bcache/
Dbset.c131 size_t oldsize = bch_keylist_nkeys(l); in __bch_keylist_realloc() local
132 size_t newsize = oldsize + u64s; in __bch_keylist_realloc()
139 roundup_pow_of_two(oldsize) == newsize) in __bch_keylist_realloc()
148 memcpy(new_keys, l->inline_keys, sizeof(uint64_t) * oldsize); in __bch_keylist_realloc()
151 l->top_p = new_keys + oldsize; in __bch_keylist_realloc()
1246 int oldsize = bch_count_data(b); in bch_btree_sort_partial() local
1261 EBUG_ON(oldsize >= 0 && bch_count_data(b) != oldsize); in bch_btree_sort_partial()
Drequest.c103 size_t oldsize = bch_keylist_nkeys(l); in bch_keylist_realloc() local
104 size_t newsize = oldsize + u64s; in bch_keylist_realloc()
Dbtree.c1939 int oldsize = bch_count_data(&b->keys); in bch_btree_insert_keys() local
1972 BUG_ON(bch_count_data(&b->keys) < oldsize); in bch_btree_insert_keys()
/drivers/staging/lustre/lustre/lov/
Dlov_obd.c540 __u32 newsize, oldsize = 0; in lov_add_target() local
555 oldsize = lov->lov_tgt_size; in lov_add_target()
/drivers/md/
Draid10.c3816 sector_t oldsize, size; in raid10_resize() local
3824 oldsize = raid10_size(mddev, 0, 0); in raid10_resize()
3838 mddev->recovery_cp > oldsize) { in raid10_resize()
3839 mddev->recovery_cp = oldsize; in raid10_resize()
/drivers/scsi/
Dosst.c983 int oldsize = STp->buffer->buffer_size; in osst_recover_wait_frame() local
1011 STp->buffer->b_data = olddata; STp->buffer->buffer_size = oldsize; in osst_recover_wait_frame()
2894 int oldsize = STp->buffer->buffer_size; in osst_get_frame_position() local
2905 STp->buffer->b_data = olddata; STp->buffer->buffer_size = oldsize; in osst_get_frame_position()
2960 STp->buffer->b_data = olddata; STp->buffer->buffer_size = oldsize; in osst_get_frame_position()
/drivers/staging/lustre/lustre/lmv/
Dlmv_obd.c457 __u32 oldsize = 0; in lmv_add_target() local
471 oldsize = lmv->tgts_size; in lmv_add_target()