HelenOS sources
buffer_size 882 kernel/generic/src/sysinfo/sysinfo.c uspace_addr_t buffer_ptr, size_t buffer_size, uspace_ptr_size_t size_ptr)
buffer_size 892 kernel/generic/src/sysinfo/sysinfo.c size_t size = min(ret.data.size, buffer_size);
buffer_size 1039 kernel/generic/src/sysinfo/sysinfo.c uspace_addr_t buffer_ptr, size_t buffer_size, uspace_ptr_size_t size_ptr)
buffer_size 1050 kernel/generic/src/sysinfo/sysinfo.c size_t size = min(ret.data.size, buffer_size);
buffer_size 87 uspace/app/modplay/modplay.c size_t buffer_size;
buffer_size 135 uspace/app/modplay/modplay.c buffer_size = 64 * 1024;
buffer_size 137 uspace/app/modplay/modplay.c buffer = malloc(buffer_size);
buffer_size 143 uspace/app/modplay/modplay.c hound = hound_context_create_playback(argv[1], format, buffer_size);
buffer_size 185 uspace/app/modplay/modplay.c trackmod_modplay_get_samples(modplay, buffer, buffer_size / 4);
buffer_size 187 uspace/app/modplay/modplay.c rc = hound_write_main_stream(hound, buffer, buffer_size / 4);
buffer_size 106 uspace/app/vuhid/hids/bootkbd.c const void *buffer, size_t buffer_size)
buffer_size 108 uspace/app/vuhid/hids/bootkbd.c if (buffer_size == 0) {
buffer_size 56 uspace/app/vuhid/life.c void *buffer, size_t buffer_size, size_t *act_buffer_size)
buffer_size 68 uspace/app/vuhid/life.c if (buffer_size > iface->in_data_size) {
buffer_size 69 uspace/app/vuhid/life.c buffer_size = iface->in_data_size;
buffer_size 73 uspace/app/vuhid/life.c *act_buffer_size = buffer_size;
buffer_size 76 uspace/app/vuhid/life.c memcpy(buffer, life->data_in + pos * iface->in_data_size, buffer_size);
buffer_size 531 uspace/drv/bus/usb/ehci/ehci_rh.c void *buffer, size_t buffer_size, size_t *actual_size)
buffer_size 536 uspace/drv/bus/usb/ehci/ehci_rh.c if (buffer_size < STATUS_BYTES(hub->port_count))
buffer_size 451 uspace/drv/bus/usb/ohci/ohci_rh.c void *buffer, size_t buffer_size, size_t *actual_size)
buffer_size 456 uspace/drv/bus/usb/ohci/ohci_rh.c if (buffer_size < STATUS_BYTES(hub->port_count))
buffer_size 411 uspace/drv/bus/usb/uhci/uhci_rh.c void *buffer, size_t buffer_size, size_t *actual_size)
buffer_size 416 uspace/drv/bus/usb/uhci/uhci_rh.c if (buffer_size < 1)
buffer_size 67 uspace/drv/bus/usb/vhc/hub/virthubops.c void *buffer, size_t buffer_size, size_t *actual_size)
buffer_size 89 uspace/drv/bus/usb/vhc/hub/virthubops.c if (buffer_size > 0) {
buffer_size 92 uspace/drv/char/pl050/pl050.c uint8_t buffer[buffer_size];
buffer_size 156 uspace/drv/char/pl050/pl050.c nidx = (pl050->buf_wp + 1) % buffer_size;
buffer_size 268 uspace/drv/char/pl050/pl050.c pl050->buf_rp = (pl050->buf_rp + 1) % buffer_size;
buffer_size 329 uspace/drv/hid/usbhid/usbhid.c size_t buffer_size, void *arg)
buffer_size 339 uspace/drv/hid/usbhid/usbhid.c usb_log_debug("New data [%zu/%zu]: %s", buffer_size,
buffer_size 341 uspace/drv/hid/usbhid/usbhid.c usb_debug_str_buffer(buffer, buffer_size, 0));
buffer_size 343 uspace/drv/hid/usbhid/usbhid.c if (hid_dev->max_input_report_size >= buffer_size) {
buffer_size 345 uspace/drv/hid/usbhid/usbhid.c memcpy(hid_dev->input_report, buffer, buffer_size);
buffer_size 346 uspace/drv/hid/usbhid/usbhid.c hid_dev->input_report_size = buffer_size;
buffer_size 352 uspace/drv/hid/usbhid/usbhid.c &hid_dev->report, buffer, buffer_size, &hid_dev->report_id);
buffer_size 276 uspace/drv/nic/ar9271/ar9271.c size_t buffer_size = ar9271->ath_device->data_response_length;
buffer_size 277 uspace/drv/nic/ar9271/ar9271.c void *buffer = malloc(buffer_size);
buffer_size 282 uspace/drv/nic/ar9271/ar9271.c buffer, buffer_size, &transferred_size) == EOK) {
buffer_size 532 uspace/drv/nic/ar9271/ar9271.c void *buffer, size_t buffer_size)
buffer_size 547 uspace/drv/nic/ar9271/ar9271.c complete_size = buffer_size + offset;
buffer_size 590 uspace/drv/nic/ar9271/ar9271.c complete_size = buffer_size + offset;
buffer_size 610 uspace/drv/nic/ar9271/ar9271.c memcpy(complete_buffer + offset, buffer, buffer_size);
buffer_size 114 uspace/drv/nic/ar9271/ath_usb.c size_t buffer_size)
buffer_size 117 uspace/drv/nic/ar9271/ath_usb.c return usb_pipe_write(ath_usb->output_ctrl_pipe, buffer, buffer_size);
buffer_size 131 uspace/drv/nic/ar9271/ath_usb.c size_t buffer_size, size_t *transferred_size)
buffer_size 134 uspace/drv/nic/ar9271/ath_usb.c return usb_pipe_read(ath_usb->input_ctrl_pipe, buffer, buffer_size, transferred_size);
buffer_size 147 uspace/drv/nic/ar9271/ath_usb.c size_t buffer_size)
buffer_size 149 uspace/drv/nic/ar9271/ath_usb.c size_t complete_buffer_size = buffer_size +
buffer_size 153 uspace/drv/nic/ar9271/ath_usb.c buffer, buffer_size);
buffer_size 157 uspace/drv/nic/ar9271/ath_usb.c data_header->length = host2uint16_t_le(buffer_size);
buffer_size 180 uspace/drv/nic/ar9271/ath_usb.c size_t buffer_size, size_t *transferred_size)
buffer_size 183 uspace/drv/nic/ar9271/ath_usb.c return usb_pipe_read(ath_usb->input_data_pipe, buffer, buffer_size, transferred_size);
buffer_size 135 uspace/drv/nic/ar9271/htc.c size_t buffer_size, uint8_t endpoint_id)
buffer_size 141 uspace/drv/nic/ar9271/htc.c host2uint16_t_be(buffer_size - sizeof(htc_frame_header_t));
buffer_size 156 uspace/drv/nic/ar9271/htc.c size_t buffer_size, uint8_t endpoint_id)
buffer_size 158 uspace/drv/nic/ar9271/htc.c htc_config_frame_header((htc_frame_header_t *) buffer, buffer_size,
buffer_size 164 uspace/drv/nic/ar9271/htc.c buffer_size);
buffer_size 179 uspace/drv/nic/ar9271/htc.c size_t buffer_size, uint8_t endpoint_id)
buffer_size 181 uspace/drv/nic/ar9271/htc.c htc_config_frame_header((htc_frame_header_t *) buffer, buffer_size,
buffer_size 187 uspace/drv/nic/ar9271/htc.c buffer_size);
buffer_size 202 uspace/drv/nic/ar9271/htc.c size_t buffer_size, size_t *transferred_size)
buffer_size 207 uspace/drv/nic/ar9271/htc.c buffer_size, transferred_size);
buffer_size 222 uspace/drv/nic/ar9271/htc.c size_t buffer_size, size_t *transferred_size)
buffer_size 227 uspace/drv/nic/ar9271/htc.c buffer_size, transferred_size);
buffer_size 244 uspace/drv/nic/ar9271/htc.c size_t buffer_size = sizeof(htc_frame_header_t) +
buffer_size 246 uspace/drv/nic/ar9271/htc.c void *buffer = malloc(buffer_size);
buffer_size 247 uspace/drv/nic/ar9271/htc.c memset(buffer, 0, buffer_size);
buffer_size 263 uspace/drv/nic/ar9271/htc.c errno_t rc = htc_send_control_message(htc_device, buffer, buffer_size,
buffer_size 273 uspace/drv/nic/ar9271/htc.c buffer_size = htc_device->ath_device->ctrl_response_length;
buffer_size 274 uspace/drv/nic/ar9271/htc.c buffer = malloc(buffer_size);
buffer_size 277 uspace/drv/nic/ar9271/htc.c rc = htc_read_control_message(htc_device, buffer, buffer_size, NULL);
buffer_size 316 uspace/drv/nic/ar9271/htc.c size_t buffer_size = sizeof(htc_frame_header_t) +
buffer_size 318 uspace/drv/nic/ar9271/htc.c void *buffer = malloc(buffer_size);
buffer_size 329 uspace/drv/nic/ar9271/htc.c errno_t rc = htc_send_control_message(htc_device, buffer, buffer_size,
buffer_size 340 uspace/drv/nic/ar9271/htc.c buffer_size = htc_device->ath_device->ctrl_response_length;
buffer_size 341 uspace/drv/nic/ar9271/htc.c buffer = malloc(buffer_size);
buffer_size 344 uspace/drv/nic/ar9271/htc.c rc = htc_read_control_message(htc_device, buffer, buffer_size, NULL);
buffer_size 364 uspace/drv/nic/ar9271/htc.c size_t buffer_size = sizeof(htc_frame_header_t) +
buffer_size 366 uspace/drv/nic/ar9271/htc.c void *buffer = malloc(buffer_size);
buffer_size 375 uspace/drv/nic/ar9271/htc.c errno_t rc = htc_send_control_message(htc_device, buffer, buffer_size,
buffer_size 398 uspace/drv/nic/ar9271/htc.c size_t buffer_size = htc_device->ath_device->ctrl_response_length;
buffer_size 399 uspace/drv/nic/ar9271/htc.c void *buffer = malloc(buffer_size);
buffer_size 402 uspace/drv/nic/ar9271/htc.c errno_t rc = htc_read_control_message(htc_device, buffer, buffer_size,
buffer_size 184 uspace/drv/nic/ar9271/wmi.c size_t buffer_size = sizeof(wmi_reg_t) * elements;
buffer_size 185 uspace/drv/nic/ar9271/wmi.c void *buffer = malloc(buffer_size);
buffer_size 201 uspace/drv/nic/ar9271/wmi.c (uint8_t *) buffer, buffer_size, resp_buffer);
buffer_size 230 uspace/drv/nic/ar9271/wmi.c size_t buffer_size = header_size + command_length;
buffer_size 231 uspace/drv/nic/ar9271/wmi.c void *buffer = malloc(buffer_size);
buffer_size 248 uspace/drv/nic/ar9271/wmi.c errno_t rc = htc_send_control_message(htc_device, buffer, buffer_size,
buffer_size 82 uspace/lib/bithenge/include/bithenge/blob.h aoff64_t buffer_size;
buffer_size 72 uspace/lib/bithenge/src/blob.c while (end > blob->buffer_size) {
buffer_size 73 uspace/lib/bithenge/src/blob.c blob->buffer_size = max(4096, 2 * blob->buffer_size);
buffer_size 77 uspace/lib/bithenge/src/blob.c char *buffer = realloc(blob->buffer, blob->buffer_size);
buffer_size 111 uspace/lib/bithenge/src/blob.c rc = sequential_buffer(blob, blob->buffer_size);
buffer_size 114 uspace/lib/bithenge/src/blob.c while (blob->data_size == blob->buffer_size) {
buffer_size 115 uspace/lib/bithenge/src/blob.c rc = sequential_buffer(blob, 2 * blob->buffer_size);
buffer_size 175 uspace/lib/bithenge/src/blob.c blob->buffer_size = 0;
buffer_size 53 uspace/lib/bithenge/src/print.c size_t buffer_size;
buffer_size 61 uspace/lib/bithenge/src/print.c int rc = vsnprintf(state->buffer, state->buffer_size, format,
buffer_size 63 uspace/lib/bithenge/src/print.c if (rc > 0 && (size_t)rc >= state->buffer_size)
buffer_size 64 uspace/lib/bithenge/src/print.c rc = state->buffer_size - 1;
buffer_size 67 uspace/lib/bithenge/src/print.c state->buffer_size -= rc;
buffer_size 247 uspace/lib/bithenge/src/print.c *size = state.buffer_size;
buffer_size 235 uspace/lib/c/generic/loader.c size_t buffer_size = 0;
buffer_size 237 uspace/lib/c/generic/loader.c buffer_size += str_size(*ap) + 1;
buffer_size 241 uspace/lib/c/generic/loader.c char *arg_buf = malloc(buffer_size);
buffer_size 250 uspace/lib/c/generic/loader.c str_cpy(dp, buffer_size - (dp - arg_buf), *ap);
buffer_size 261 uspace/lib/c/generic/loader.c buffer_size);
buffer_size 40 uspace/lib/c/test/adt/circ_buf.c static int buffer[buffer_size];
buffer_size 54 uspace/lib/c/test/adt/circ_buf.c circ_buf_init(&cbuf, buffer, buffer_size, sizeof(int));
buffer_size 56 uspace/lib/c/test/adt/circ_buf.c for (i = 0; i < buffer_size; i++) {
buffer_size 57 uspace/lib/c/test/adt/circ_buf.c PCUT_ASSERT_INT_EQUALS(buffer_size - i, circ_buf_nfree(&cbuf));
buffer_size 66 uspace/lib/c/test/adt/circ_buf.c for (i = 0; i < buffer_size; i++) {
buffer_size 68 uspace/lib/c/test/adt/circ_buf.c PCUT_ASSERT_INT_EQUALS(buffer_size - i, circ_buf_nused(&cbuf));
buffer_size 74 uspace/lib/c/test/adt/circ_buf.c PCUT_ASSERT_INT_EQUALS(buffer_size, circ_buf_nfree(&cbuf));
buffer_size 369 uspace/lib/drv/generic/remote_audio_pcm.c sysarg_t buffer_size = *size;
buffer_size 371 uspace/lib/drv/generic/remote_audio_pcm.c IPC_M_AUDIO_PCM_GET_BUFFER, (sysarg_t)buffer_size, &buffer_size);
buffer_size 374 uspace/lib/drv/generic/remote_audio_pcm.c ret = async_share_in_start_0_0(exch, buffer_size, &dst);
buffer_size 380 uspace/lib/drv/generic/remote_audio_pcm.c *size = buffer_size;
buffer_size 146 uspace/lib/drv/generic/remote_usbhid.c size_t buffer_size = size;
buffer_size 147 uspace/lib/drv/generic/remote_usbhid.c uint8_t *buffer = malloc(buffer_size);
buffer_size 165 uspace/lib/drv/generic/remote_usbhid.c aid_t data_request = async_data_read(exch, buffer, buffer_size,
buffer_size 53 uspace/lib/http/include/http/http.h size_t buffer_size;
buffer_size 70 uspace/lib/http/src/http.c http->buffer_size = 4096;
buffer_size 71 uspace/lib/http/src/http.c errno_t rc = recv_buffer_init(&http->recv_buffer, http->buffer_size,
buffer_size 45 uspace/lib/http/src/receive-buffer.c errno_t recv_buffer_init(receive_buffer_t *rb, size_t buffer_size,
buffer_size 53 uspace/lib/http/src/receive-buffer.c rb->size = buffer_size;
buffer_size 57 uspace/lib/http/src/receive-buffer.c rb->buffer = malloc(buffer_size);
buffer_size 876 uspace/lib/ieee80211/src/ieee80211.c size_t buffer_size = sizeof(ieee80211_mgmt_header_t) + payload_size;
buffer_size 877 uspace/lib/ieee80211/src/ieee80211.c void *buffer = malloc(buffer_size);
buffer_size 881 uspace/lib/ieee80211/src/ieee80211.c memset(buffer, 0, buffer_size);
buffer_size 907 uspace/lib/ieee80211/src/ieee80211.c ieee80211_dev->ops->tx_handler(ieee80211_dev, buffer, buffer_size);
buffer_size 930 uspace/lib/ieee80211/src/ieee80211.c size_t buffer_size = sizeof(ieee80211_mgmt_header_t) +
buffer_size 933 uspace/lib/ieee80211/src/ieee80211.c void *buffer = malloc(buffer_size);
buffer_size 937 uspace/lib/ieee80211/src/ieee80211.c memset(buffer, 0, buffer_size);
buffer_size 955 uspace/lib/ieee80211/src/ieee80211.c ieee80211_dev->ops->tx_handler(ieee80211_dev, buffer, buffer_size);
buffer_size 990 uspace/lib/ieee80211/src/ieee80211.c size_t buffer_size =
buffer_size 997 uspace/lib/ieee80211/src/ieee80211.c buffer_size += auth_link->auth_ie_len;
buffer_size 999 uspace/lib/ieee80211/src/ieee80211.c void *buffer = malloc(buffer_size);
buffer_size 1003 uspace/lib/ieee80211/src/ieee80211.c memset(buffer, 0, buffer_size);
buffer_size 1038 uspace/lib/ieee80211/src/ieee80211.c ieee80211_dev->ops->tx_handler(ieee80211_dev, buffer, buffer_size);
buffer_size 1070 uspace/lib/ieee80211/src/ieee80211.c size_t buffer_size = sizeof(ieee80211_mgmt_header_t) +
buffer_size 1073 uspace/lib/ieee80211/src/ieee80211.c void *buffer = malloc(buffer_size);
buffer_size 1077 uspace/lib/ieee80211/src/ieee80211.c memset(buffer, 0, buffer_size);
buffer_size 1089 uspace/lib/ieee80211/src/ieee80211.c ieee80211_dev->ops->tx_handler(ieee80211_dev, buffer, buffer_size);
buffer_size 1176 uspace/lib/ieee80211/src/ieee80211.c ieee80211_scan_result_link_t *ap_data, void *buffer, size_t buffer_size)
buffer_size 1179 uspace/lib/ieee80211/src/ieee80211.c while ((it + sizeof(ieee80211_ie_header_t)) < buffer + buffer_size) {
buffer_size 1246 uspace/lib/ieee80211/src/ieee80211.c ieee80211_mgmt_header_t *mgmt_header, size_t buffer_size)
buffer_size 1304 uspace/lib/ieee80211/src/ieee80211.c buffer_size -
buffer_size 1386 uspace/lib/ieee80211/src/ieee80211.c void *buffer, size_t buffer_size)
buffer_size 1615 uspace/lib/ieee80211/src/ieee80211.c void *buffer, size_t buffer_size)
buffer_size 1622 uspace/lib/ieee80211/src/ieee80211.c buffer_size);
buffer_size 1637 uspace/lib/ieee80211/src/ieee80211.c void *buffer, size_t buffer_size)
buffer_size 1658 uspace/lib/ieee80211/src/ieee80211.c buffer_size - strip_length - sizeof(uint16_t));
buffer_size 1665 uspace/lib/ieee80211/src/ieee80211.c buffer_size - strip_length + sizeof(eth_header_t) - 2;
buffer_size 1683 uspace/lib/ieee80211/src/ieee80211.c buffer + strip_length, buffer_size - strip_length);
buffer_size 1701 uspace/lib/ieee80211/src/ieee80211.c size_t buffer_size)
buffer_size 1712 uspace/lib/ieee80211/src/ieee80211.c mgmt_header, buffer_size);
buffer_size 1723 uspace/lib/ieee80211/src/ieee80211.c buffer_size);
buffer_size 66 uspace/lib/ieee80211/src/ieee80211_impl.c size_t buffer_size)
buffer_size 58 uspace/lib/pcut/src/os/generic.c #define FORMAT_COMMAND(buffer, buffer_size, self_path, test_id, temp_file) \
buffer_size 59 uspace/lib/pcut/src/os/generic.c pcut_snprintf(buffer, buffer_size, "\"\"%s\" -t%d >%s\"", self_path, test_id, temp_file)
buffer_size 60 uspace/lib/pcut/src/os/generic.c #define FORMAT_TEMP_FILENAME(buffer, buffer_size) \
buffer_size 61 uspace/lib/pcut/src/os/generic.c pcut_snprintf(buffer, buffer_size, "pcut_%d.tmp", _getpid())
buffer_size 66 uspace/lib/pcut/src/os/generic.c #define FORMAT_COMMAND(buffer, buffer_size, self_path, test_id, temp_file) \
buffer_size 67 uspace/lib/pcut/src/os/generic.c pcut_snprintf(buffer, buffer_size, "%s -t%d &>%s", self_path, test_id, temp_file)
buffer_size 68 uspace/lib/pcut/src/os/generic.c #define FORMAT_TEMP_FILENAME(buffer, buffer_size) \
buffer_size 69 uspace/lib/pcut/src/os/generic.c pcut_snprintf(buffer, buffer_size, "pcut_%d.tmp", getpid())
buffer_size 96 uspace/lib/pcut/src/os/unix.c static size_t read_all(int fd, char *buffer, size_t buffer_size) {
buffer_size 100 uspace/lib/pcut/src/os/unix.c actually_read = read(fd, buffer, buffer_size);
buffer_size 103 uspace/lib/pcut/src/os/unix.c buffer_size -= actually_read;
buffer_size 104 uspace/lib/pcut/src/os/unix.c if (buffer_size == 0) {
buffer_size 96 uspace/lib/pcut/src/os/windows.c static size_t read_all(HANDLE fd, char *buffer, size_t buffer_size) {
buffer_size 102 uspace/lib/pcut/src/os/windows.c okay = ReadFile(fd, buffer, buffer_size, &actually_read, NULL);
buffer_size 108 uspace/lib/pcut/src/os/windows.c buffer_size -= actually_read;
buffer_size 109 uspace/lib/pcut/src/os/windows.c if (buffer_size == 0) {
buffer_size 182 uspace/lib/usbdev/src/pipes.c void *buffer, size_t buffer_size, size_t *transferred_size)
buffer_size 194 uspace/lib/usbdev/src/pipes.c if ((err = transfer_wrap_dma(&transfer, buffer, buffer_size)))
buffer_size 216 uspace/lib/usbdev/src/pipes.c const void *buffer, size_t buffer_size)
buffer_size 229 uspace/lib/usbdev/src/pipes.c return transfer_wrap_dma(&transfer, (void *) buffer, buffer_size);
buffer_size 305 uspace/lib/usbdev/src/request.c void **buffer_ptr, size_t *buffer_size)
buffer_size 354 uspace/lib/usbdev/src/request.c if (buffer_size != NULL) {
buffer_size 355 uspace/lib/usbdev/src/request.c *buffer_size = size;
buffer_size 60 uspace/lib/usbvirt/include/usbvirt/device.h const void *buffer, size_t buffer_size);
buffer_size 74 uspace/lib/usbvirt/include/usbvirt/device.h void *buffer, size_t buffer_size, size_t *act_buffer_size);
buffer_size 67 uspace/lib/usbvirt/include/usbvirt/virthub_base.h void *buffer, size_t buffer_size, size_t *real_size);
buffer_size 113 uspace/lib/usbvirt/src/virthub_base.c void *buffer, size_t buffer_size, size_t *real_size)
buffer_size 126 uspace/lib/usbvirt/src/virthub_base.c setup, sizeof(*setup), buffer, buffer_size,
buffer_size 131 uspace/lib/usbvirt/src/virthub_base.c buffer, buffer_size, real_size);
buffer_size 136 uspace/lib/usbvirt/src/virthub_base.c setup, sizeof(*setup), buffer, buffer_size);
buffer_size 247 uspace/srv/audio/hound/hound_ctx.c pcm_format_t format, size_t buffer_size)
buffer_size 259 uspace/srv/audio/hound/hound_ctx.c stream->allowed_size = buffer_size;
buffer_size 70 uspace/srv/audio/hound/hound_ctx.h pcm_format_t format, size_t buffer_size);
HelenOS homepage, sources at GitHub