Searched refs:size_needed (Results 1 – 5 of 5) sorted by relevance
120 int size_needed; in ccw_alloc_request() local134 size_needed = (sizeof (ccw_req_t) + 7) & -8; in ccw_alloc_request()136 if (size_needed + datasize <= PAGE_SIZE) { in ccw_alloc_request()138 data_offset = size_needed; in ccw_alloc_request()139 size_needed += (datasize + 7) & -8; in ccw_alloc_request()141 if (size_needed + cplength*sizeof(ccw1_t) <= PAGE_SIZE) { in ccw_alloc_request()143 ccw_offset = size_needed; in ccw_alloc_request()144 size_needed += cplength*sizeof(ccw1_t); in ccw_alloc_request()149 if ( size_needed <= (SMALLEST_SLAB << cachind) ) in ccw_alloc_request()213 int size_needed; in ccw_free_request() local[all …]
85 u32 size_needed; in acpi_ex_allocate_name_string() local98 size_needed = 1 + (ACPI_NAME_SIZE * num_name_segs) + 2 + 1; in acpi_ex_allocate_name_string()101 size_needed = prefix_count + (ACPI_NAME_SIZE * num_name_segs) + 2 + 1; in acpi_ex_allocate_name_string()108 name_string = ACPI_MEM_ALLOCATE (size_needed); in acpi_ex_allocate_name_string()110 ACPI_REPORT_ERROR (("ex_allocate_name_string: Could not allocate size %d\n", size_needed)); in acpi_ex_allocate_name_string()
73 acpi_size *size_needed) in acpi_rs_get_byte_stream_length() argument282 *size_needed = byte_stream_size_needed; in acpi_rs_get_byte_stream_length()309 acpi_size *size_needed) in acpi_rs_get_list_length() argument719 *size_needed = buffer_size; in acpi_rs_get_list_length()
168 acpi_size *size_needed);173 acpi_size *size_needed);
1244 unsigned long size_needed; in dasd_alloc_request() local1266 size_needed = (sizeof (ccw_req_t) + 7) & (~7L); in dasd_alloc_request()1268 if (size_needed + datasize <= PAGE_SIZE) { in dasd_alloc_request()1270 data_offset = size_needed; in dasd_alloc_request()1271 size_needed += (datasize + 7) & (~7L); in dasd_alloc_request()1273 if (size_needed + cplength*sizeof(ccw1_t) <= PAGE_SIZE) { in dasd_alloc_request()1275 ccw_offset = size_needed; in dasd_alloc_request()1276 size_needed += (cplength*sizeof(ccw1_t)) & (~7L); in dasd_alloc_request()1339 cqr->lowmem_idal_ptr = (void *) ((addr_t) cqr + size_needed); in dasd_alloc_request()1357 unsigned long size_needed; in dasd_free_request() local[all …]