Home
last modified time | relevance | path

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

/drivers/acpi/x86/
Dapple.c32 void *free_space; in acpi_extract_apple_properties() local
100 free_space = &newprops[1 + 3 * numvalid]; in acpi_extract_apple_properties()
114 newprops[k].string.pointer = free_space; in acpi_extract_apple_properties()
115 memcpy(free_space, key->string.pointer, key->string.length); in acpi_extract_apple_properties()
116 free_space += key->string.length + 1; in acpi_extract_apple_properties()
123 newprops[v].buffer.pointer = free_space; in acpi_extract_apple_properties()
124 memcpy(free_space, val->buffer.pointer, in acpi_extract_apple_properties()
126 free_space += val->buffer.length; in acpi_extract_apple_properties()
130 WARN_ON(free_space != (void *)newprops + newsize); in acpi_extract_apple_properties()
/drivers/gpu/drm/etnaviv/
Detnaviv_cmdbuf.c29 int free_space; member
99 suballoc->free_space = 0; in etnaviv_cmdbuf_init()
102 suballoc->free_space, in etnaviv_cmdbuf_init()
128 suballoc->free_space = 1; in etnaviv_cmdbuf_free()
/drivers/acpi/acpica/
Dutcopy.c237 info->free_space, in acpi_ut_copy_ielement_to_eelement()
251 ACPI_CAST_PTR(union acpi_object, info->free_space); in acpi_ut_copy_ielement_to_eelement()
274 info->free_space += object_space; in acpi_ut_copy_ielement_to_eelement()
317 info.free_space = buffer + in acpi_ut_copy_ipackage_to_epackage()
325 ACPI_CAST_PTR(union acpi_object, info.free_space); in acpi_ut_copy_ipackage_to_epackage()
333 info.free_space += external_object->package.count * in acpi_ut_copy_ipackage_to_epackage()
Dacutils.h132 u8 *free_space; member
/drivers/net/ethernet/microchip/
Denc28j60.c1016 int free_space; in enc28j60_get_free_rxfifo() local
1021 free_space = -1; in enc28j60_get_free_rxfifo()
1029 free_space = (erxnd - erxst) - (erxwr - erxrd); in enc28j60_get_free_rxfifo()
1031 free_space = (erxnd - erxst); in enc28j60_get_free_rxfifo()
1033 free_space = erxrd - erxwr - 1; in enc28j60_get_free_rxfifo()
1038 __func__, free_space); in enc28j60_get_free_rxfifo()
1039 return free_space; in enc28j60_get_free_rxfifo()
/drivers/misc/vmw_vmci/
Dvmci_queue_pair.c2540 s64 free_space; in qp_enqueue_locked() local
2550 free_space = vmci_q_header_free_space(produce_q->q_header, in qp_enqueue_locked()
2553 if (free_space == 0) in qp_enqueue_locked()
2556 if (free_space < VMCI_SUCCESS) in qp_enqueue_locked()
2557 return (ssize_t) free_space; in qp_enqueue_locked()
2559 written = (size_t) (free_space > buf_size ? buf_size : free_space); in qp_enqueue_locked()
/drivers/target/
Dtarget_core_user.c1398 bool free_space = false; in tcmu_handle_completions() local
1421 free_space = true; in tcmu_handle_completions()
1446 if (free_space) in tcmu_handle_completions()
1447 free_space = tcmu_run_tmr_queue(udev); in tcmu_handle_completions()
1460 return free_space; in tcmu_handle_completions()
/drivers/md/
Draid5-cache.c419 sector_t free_space; in r5c_update_log_state() local
426 free_space = r5l_ring_distance(log, log->log_start, in r5c_update_log_state()
429 if (free_space < 2 * reclaim_space) in r5c_update_log_state()
436 if (free_space < 3 * reclaim_space) in r5c_update_log_state()