Home
last modified time | relevance | path

Searched refs:size_needed (Results 1 – 8 of 8) sorted by relevance

/linux-6.1.9/drivers/acpi/acpica/
Dexnames.c43 u32 size_needed; in acpi_ex_allocate_name_string() local
56 size_needed = 1 + (ACPI_NAMESEG_SIZE * num_name_segs) + 2 + 1; in acpi_ex_allocate_name_string()
58 size_needed = in acpi_ex_allocate_name_string()
66 name_string = ACPI_ALLOCATE(size_needed); in acpi_ex_allocate_name_string()
69 "Could not allocate size %u", size_needed)); in acpi_ex_allocate_name_string()
Drscalc.c155 acpi_size resource_list_size, acpi_size *size_needed) in acpi_rs_get_aml_length() argument
234 *size_needed = aml_size_needed + total_size; in acpi_rs_get_aml_length()
442 u32 aml_buffer_length, acpi_size *size_needed) in acpi_rs_get_list_length() argument
457 *size_needed = ACPI_RS_SIZE_MIN; /* Minimum size is one end_tag */ in acpi_rs_get_list_length()
677 *size_needed += buffer_size; in acpi_rs_get_list_length()
683 ACPI_FORMAT_UINT64(*size_needed))); in acpi_rs_get_list_length()
Dacresrc.h198 u32 aml_buffer_length, acpi_size *size_needed);
202 acpi_size resource_list_size, acpi_size *size_needed);
/linux-6.1.9/drivers/net/wwan/iosm/
Diosm_ipc_mux_codec.c915 struct mux_adb *adb, int *size_needed, in ipc_mux_ul_adb_allocate() argument
931 *size_needed = 0; in ipc_mux_ul_adb_allocate()
1094 if (ipc_mux_ul_adb_allocate(ipc_mux, adb, &ipc_mux->size_needed, in ipc_mux_ul_adgh_encode()
1112 ipc_mux->size_needed = sizeof(struct mux_adgh) + aligned_size; in ipc_mux_ul_adgh_encode()
1114 if (ipc_mux->size_needed > adb->size) { in ipc_mux_ul_adgh_encode()
1116 ipc_mux->size_needed, adb->size); in ipc_mux_ul_adgh_encode()
1213 if (ipc_mux_ul_adb_allocate(ipc_mux, adb, &ipc_mux->size_needed, in mux_ul_dg_update_tbl_index()
1217 ipc_mux->size_needed = le32_to_cpu(adb->adbh->block_length); in mux_ul_dg_update_tbl_index()
1219 ipc_mux->size_needed += offsetof(struct mux_adth, dg); in mux_ul_dg_update_tbl_index()
1220 ipc_mux->size_needed += qlth_n_ql_size; in mux_ul_dg_update_tbl_index()
[all …]
Diosm_ipc_mux.h366 int size_needed; member
Diosm_ipc_mux.c315 ipc_mux->size_needed = 0; in ipc_mux_init()
/linux-6.1.9/net/ipv4/
Dtcp_output.c2341 int size_needed; in tcp_mtu_probe() local
2365 size_needed = probe_size + (tp->reordering + 1) * tp->mss_cache; in tcp_mtu_probe()
2381 if (tp->write_seq - tp->snd_nxt < size_needed) in tcp_mtu_probe()
2384 if (tp->snd_wnd < size_needed) in tcp_mtu_probe()
2386 if (after(tp->snd_nxt + size_needed, tcp_wnd_end(tp))) in tcp_mtu_probe()
/linux-6.1.9/tools/testing/selftests/bpf/prog_tests/
Dbtf.c4133 unsigned int size_needed, offset; in btf_raw_create() local
4143 size_needed = sizeof(*hdr) + type_sec_size + str_sec_size; in btf_raw_create()
4144 raw_btf = malloc(size_needed); in btf_raw_create()
4204 *btf_size = size_needed; in btf_raw_create()