[go: nahoru, domu]

Searched refs:newsize (Results 1 - 13 of 13) sorted by relevance

/drivers/staging/unisys/visorutil/
H A Dmemregion.h31 int visor_memregion_resize(MEMREGION *memregion, ulong newsize);
H A Dmemregion_direct.c160 visor_memregion_resize(MEMREGION *memregion, ulong newsize) argument
162 if (newsize == memregion->nbytes)
168 memregion->nbytes = newsize;
171 memregion->nbytes = newsize;
/drivers/staging/lustre/lustre/ptlrpc/
H A Dsec_null.c236 int segment, int newsize)
249 req->rq_reqbuf->lm_buflens[segment] = newsize;
281 _sptlrpc_enlarge_msg_inplace(req->rq_reqmsg, segment, newsize);
234 null_enlarge_reqbuf(struct ptlrpc_sec *sec, struct ptlrpc_request *req, int segment, int newsize) argument
H A Dsec.c1587 int segment, int newsize)
1593 LASSERT(msg->lm_buflens[segment] <= newsize);
1595 if (msg->lm_buflens[segment] == newsize)
1600 msg->lm_buflens[segment] = newsize;
1607 msg->lm_buflens[segment] = newsize;
1623 msg->lm_buflens[segment] = newsize;
1629 * by req->rq_reqmsg to size \a newsize, all previously filled-in data will be
1637 int segment, int newsize)
1646 LASSERT(msg->lm_buflens[segment] <= newsize);
1648 if (msg->lm_buflens[segment] == newsize)
1586 _sptlrpc_enlarge_msg_inplace(struct lustre_msg *msg, int segment, int newsize) argument
1636 sptlrpc_cli_enlarge_reqbuf(struct ptlrpc_request *req, int segment, int newsize) argument
[all...]
H A Dsec_plain.c637 int segment, int newsize)
650 req->rq_reqmsg->lm_buflens[segment] = newsize;
695 _sptlrpc_enlarge_msg_inplace(req->rq_reqmsg, segment, newsize);
635 plain_enlarge_reqbuf(struct ptlrpc_sec *sec, struct ptlrpc_request *req, int segment, int newsize) argument
/drivers/staging/lustre/lustre/include/
H A Dlustre_sec.h671 * at least \a newsize of data.
673 * \pre req->rq_reqmsg->lm_buflens[segment] < newsize.
681 int segment, int newsize);
922 int segment, int newsize);
1026 int segment, int newsize);
/drivers/md/bcache/
H A Dbset.c132 size_t newsize = oldsize + u64s; local
136 newsize = roundup_pow_of_two(newsize);
138 if (newsize <= KEYLIST_INLINE ||
139 roundup_pow_of_two(oldsize) == newsize)
142 new_keys = krealloc(old_keys, sizeof(uint64_t) * newsize, GFP_NOIO);
H A Drequest.c101 size_t newsize = oldsize + u64s; local
109 if (newsize * sizeof(uint64_t) > block_bytes(c) - sizeof(struct jset))
/drivers/staging/lustre/lustre/lov/
H A Dlov_obd.c553 __u32 newsize, oldsize = 0; local
555 newsize = max_t(__u32, lov->lov_tgt_size, 2);
556 while (newsize < index + 1)
557 newsize = newsize << 1;
558 OBD_ALLOC(newtgts, sizeof(*newtgts) * newsize);
572 lov->lov_tgt_size = newsize;
/drivers/staging/lustre/lustre/lmv/
H A Dlmv_obd.c487 __u32 newsize = 1; local
490 while (newsize < index + 1)
491 newsize = newsize << 1;
492 OBD_ALLOC(newtgts, sizeof(*newtgts) * newsize);
506 lmv->tgts_size = newsize;
/drivers/md/
H A Draid5.c1787 static int resize_stripes(struct r5conf *conf, int newsize) argument
1789 /* Make all the stripes able to hold 'newsize' devices.
1821 if (newsize <= conf->pool_size)
1830 sizeof(struct stripe_head)+(newsize-1)*sizeof(struct r5dev),
1874 for( ; i<newsize; i++)
1892 ndisks = kzalloc(newsize * sizeof(struct disk_info), GFP_NOIO);
1902 conf->scribble_len = scribble_len(newsize);
1925 for (i=conf->raid_disks; i < newsize; i++)
1939 conf->pool_size = newsize;
6479 sector_t newsize; local
[all...]
H A Draid1.c3013 sector_t newsize = raid1_size(mddev, sectors, 0); local
3015 mddev->array_sectors > newsize)
3018 int ret = bitmap_resize(mddev->bitmap, newsize, 0, 0);
3022 md_set_array_sectors(mddev, newsize);
/drivers/scsi/
H A Ddpt_i2o.c3312 int newsize = pHba->hrt->num_entries * pHba->hrt->entry_len << 2; local
3315 size = newsize;

Completed in 286 milliseconds