Home
last modified time | relevance | path

Searched refs:required_size (Results 1 – 4 of 4) sorted by relevance

/Linux-v4.19/drivers/acpi/acpica/
Dnsnames.c140 acpi_size required_size; in acpi_ns_handle_to_pathname() local
151 required_size = in acpi_ns_handle_to_pathname()
153 if (!required_size) { in acpi_ns_handle_to_pathname()
159 status = acpi_ut_initialize_buffer(buffer, required_size); in acpi_ns_handle_to_pathname()
167 required_size, no_trailing); in acpi_ns_handle_to_pathname()
170 (char *)buffer->pointer, (u32) required_size)); in acpi_ns_handle_to_pathname()
/Linux-v4.19/lib/
Dstackdepot.c111 int required_size = offsetof(struct stack_record, entries) + in depot_alloc_stack() local
115 required_size = ALIGN(required_size, 1 << STACK_ALLOC_ALIGN); in depot_alloc_stack()
117 if (unlikely(depot_offset + required_size > STACK_ALLOC_SIZE)) { in depot_alloc_stack()
144 depot_offset += required_size; in depot_alloc_stack()
/Linux-v4.19/net/tls/
Dtls_sw.c358 int required_size; in tls_sw_sendmsg() local
397 required_size = ctx->sg_plaintext_size + try_to_copy + in tls_sw_sendmsg()
403 ret = alloc_encrypted_sg(sk, required_size); in tls_sw_sendmsg()
412 try_to_copy -= required_size - ctx->sg_encrypted_size; in tls_sw_sendmsg()
438 required_size = ctx->sg_plaintext_size + try_to_copy; in tls_sw_sendmsg()
440 ret = alloc_plaintext_sg(sk, required_size); in tls_sw_sendmsg()
449 try_to_copy -= required_size - ctx->sg_plaintext_size; in tls_sw_sendmsg()
490 if (ctx->sg_encrypted_size < required_size) in tls_sw_sendmsg()
533 size_t copy, required_size; in tls_sw_sendpage() local
547 required_size = ctx->sg_plaintext_size + copy + in tls_sw_sendpage()
[all …]
/Linux-v4.19/drivers/hid/
Dhid-sensor-custom.c445 int required_size = sizeof(struct hid_sensor_sample) + in hid_sensor_capture_sample() local
450 if (kfifo_avail(&sensor_inst->data_fifo) >= required_size) { in hid_sensor_capture_sample()