[go: nahoru, domu]

Searched defs:target_bytes (Results 1 - 2 of 2) sorted by relevance

/drivers/xen/
H A Dxen-balloon.c150 unsigned long long target_bytes; local
155 target_bytes = simple_strtoull(buf, &endchar, 0) * 1024;
157 balloon_set_new_target(target_bytes >> PAGE_SHIFT);
180 unsigned long long target_bytes; local
185 target_bytes = memparse(buf, &endchar);
187 balloon_set_new_target(target_bytes >> PAGE_SHIFT);
/drivers/staging/lustre/lustre/osc/
H A Dosc_request.c936 __u64 target_bytes = (cli->cl_max_rpcs_in_flight + 1) * local
940 if (cli->cl_avail_grant <= target_bytes)
941 target_bytes = cli->cl_max_pages_per_rpc << PAGE_CACHE_SHIFT;
944 return osc_shrink_grant_to_target(cli, target_bytes);
947 int osc_shrink_grant_to_target(struct client_obd *cli, __u64 target_bytes) argument
956 if (target_bytes < cli->cl_max_pages_per_rpc << PAGE_CACHE_SHIFT)
957 target_bytes = cli->cl_max_pages_per_rpc << PAGE_CACHE_SHIFT;
959 if (target_bytes >= cli->cl_avail_grant) {
972 body->oa.o_grant = cli->cl_avail_grant - target_bytes;
973 cli->cl_avail_grant = target_bytes;
[all...]

Completed in 240 milliseconds