/linux-2.4.37.9/arch/mips/hp-lj/ |
D | utils.c | 38 static ulong buffer_size = 0; variable 42 ulong get_reserved_buffer_size(void) {return buffer_size;} in get_reserved_buffer_size() 51 buffer_size = simple_strtol(pos+strlen("reserved_buffer="), in reserve_buffer() 53 buffer_size <<= 20; in reserve_buffer() 54 if (buffer_size + MIN_GEN_MEM > base_mem) in reserve_buffer() 55 buffer_size = base_mem - MIN_GEN_MEM; in reserve_buffer() 56 if (buffer_size > 0) in reserve_buffer() 57 buffer_ptr = (ulong*)(base_mem - buffer_size); in reserve_buffer() 59 buffer_size = 0; in reserve_buffer()
|
/linux-2.4.37.9/scripts/ |
D | split-include.c | 54 int buffer_size; in main() local 77 buffer_size = 2 * stat_buf.st_size + 4096; in main() 80 if ( (line = malloc(buffer_size)) == NULL in main() 81 || (old_line = malloc(buffer_size)) == NULL in main() 82 || (list_target = malloc(buffer_size)) == NULL ) in main() 105 while (fgets(line, buffer_size, fp_config)) in main() 133 fgets(old_line, buffer_size, fp_target); in main() 196 while (fgets(line+1, buffer_size, fp_find)) in main()
|
/linux-2.4.37.9/drivers/isdn/sc/ |
D | packet.c | 151 unsigned int buffer_size; in setup_buffers() local 163 buffer_size = BUFFER_SIZE; in setup_buffers() 164 nBuffers = ((adapter[card]->ramsize - BUFFER_BASE) / buffer_size) / 2; in setup_buffers() 167 nBuffers, buffer_size); in setup_buffers() 172 cBase = (nBuffers * buffer_size) * (c - 1); in setup_buffers() 192 (nBuffers / 2) * buffer_size) + (buffer_size * i)); in setup_buffers() 193 RcvBuffOffset.msg_len = buffer_size; in setup_buffers() 197 RcvBuffOffset.msg_len,buffer_size); in setup_buffers()
|
/linux-2.4.37.9/drivers/acpi/utilities/ |
D | utobject.c | 149 acpi_size buffer_size) in acpi_ut_create_buffer_object() argument 155 ACPI_FUNCTION_TRACE_U32 ("ut_create_buffer_object", buffer_size); in acpi_ut_create_buffer_object() 168 if (buffer_size > 0) { in acpi_ut_create_buffer_object() 171 buffer = ACPI_MEM_CALLOCATE (buffer_size); in acpi_ut_create_buffer_object() 174 (u32) buffer_size)); in acpi_ut_create_buffer_object() 184 buffer_desc->buffer.length = (u32) buffer_size; in acpi_ut_create_buffer_object()
|
/linux-2.4.37.9/drivers/usb/serial/ |
D | ir-usb.c | 106 static int buffer_size = 0; variable 283 if (buffer_size) { in ir_open() 285 buffer = kmalloc (buffer_size, GFP_KERNEL); in ir_open() 292 port->read_urb->transfer_buffer_length = buffer_size; in ir_open() 294 buffer = kmalloc (buffer_size, GFP_KERNEL); in ir_open() 301 port->write_urb->transfer_buffer_length = buffer_size; in ir_open() 302 port->bulk_out_size = buffer_size; in ir_open() 640 MODULE_PARM(buffer_size, "i"); 641 MODULE_PARM_DESC(buffer_size, "Size of the transfer buffers");
|
D | usbserial.c | 1423 int buffer_size; in usb_serial_probe() local 1560 buffer_size = endpoint->wMaxPacketSize; in usb_serial_probe() 1562 port->bulk_in_buffer = kmalloc (buffer_size, GFP_KERNEL); in usb_serial_probe() 1570 port->bulk_in_buffer, buffer_size, in usb_serial_probe() 1585 buffer_size = endpoint->wMaxPacketSize; in usb_serial_probe() 1586 port->bulk_out_size = buffer_size; in usb_serial_probe() 1588 port->bulk_out_buffer = kmalloc (buffer_size, GFP_KERNEL); in usb_serial_probe() 1596 port->bulk_out_buffer, buffer_size, in usb_serial_probe() 1611 buffer_size = endpoint->wMaxPacketSize; in usb_serial_probe() 1613 port->interrupt_in_buffer = kmalloc (buffer_size, GFP_KERNEL); in usb_serial_probe() [all …]
|
D | io_ti.c | 810 int buffer_size; in BuildI2CFirmwareHeader() local 825 buffer_size = (((1024 * 16) - 512 )+ sizeof(struct ti_i2c_firmware_rec)); in BuildI2CFirmwareHeader() 827 buffer = kmalloc (buffer_size, GFP_KERNEL); in BuildI2CFirmwareHeader() 834 memset (buffer, 0xff, buffer_size); in BuildI2CFirmwareHeader() 849 for (i=0; i < buffer_size; i++) { in BuildI2CFirmwareHeader() 860 i2c_header->Size = (__u16)buffer_size; in BuildI2CFirmwareHeader() 1304 int buffer_size; in TIDownloadFirmware() local 1343 buffer_size = (((1024 * 16) - 512) + sizeof(struct ti_i2c_image_header)); in TIDownloadFirmware() 1344 buffer = kmalloc (buffer_size, GFP_KERNEL); in TIDownloadFirmware() 1351 memset (buffer, 0xff, buffer_size); in TIDownloadFirmware() [all …]
|
/linux-2.4.37.9/drivers/usb/ |
D | usb-skeleton.c | 518 int buffer_size; in skel_probe() local 565 buffer_size = endpoint->wMaxPacketSize; in skel_probe() 566 dev->bulk_in_size = buffer_size; in skel_probe() 568 dev->bulk_in_buffer = kmalloc (buffer_size, GFP_KERNEL); in skel_probe() 583 buffer_size = endpoint->wMaxPacketSize; in skel_probe() 584 dev->bulk_out_size = buffer_size; in skel_probe() 586 dev->bulk_out_buffer = kmalloc (buffer_size, GFP_KERNEL); in skel_probe() 594 dev->bulk_out_buffer, buffer_size, in skel_probe()
|
D | bluetooth.c | 451 int buffer_size; in bluetooth_write() local 534 buffer_size = min (count, bluetooth->bulk_out_buffer_size); in bluetooth_write() 535 memcpy (urb->transfer_buffer, current_position, buffer_size); in bluetooth_write() 539 urb->transfer_buffer, buffer_size, bluetooth_write_bulk_callback, bluetooth); in bluetooth_write() 555 current_position += buffer_size; in bluetooth_write() 556 bytes_sent += buffer_size; in bluetooth_write() 557 count -= buffer_size; in bluetooth_write() 1056 int buffer_size; in usb_bluetooth_probe() local 1149 bluetooth->bulk_in_buffer_size = buffer_size = endpoint->wMaxPacketSize; in usb_bluetooth_probe() 1151 bluetooth->bulk_in_buffer = kmalloc (buffer_size, GFP_KERNEL); in usb_bluetooth_probe() [all …]
|
/linux-2.4.37.9/drivers/scsi/ |
D | ide-scsi.c | 74 int buffer_size; /* Size of our data buffer */ member 213 if ((atapi_buf = kmalloc(pc->buffer_size + 4, GFP_ATOMIC)) == NULL) in idescsi_transform_pc1() 215 memset(atapi_buf, 0, pc->buffer_size + 4); in idescsi_transform_pc1() 233 memcpy(atapi_buf + 8, scsi_buf + 4, pc->buffer_size - 4); in idescsi_transform_pc1() 237 pc->buffer_size += 4; in idescsi_transform_pc1() 256 pc->buffer_size = 12; in idescsi_transform_pc1() 464 if (temp > pc->buffer_size) { in idescsi_pc_intr() 472 pc->request_transfer, temp, pc->buffer_size); in idescsi_pc_intr() 473 temp = pc->buffer_size - pc->actually_transferred; in idescsi_pc_intr() 1102 pc->request_transfer = pc->buffer_size = cmd->request_bufflen; in idescsi_queue()
|
D | st.h | 15 int buffer_size; member
|
/linux-2.4.37.9/drivers/acpi/resources/ |
D | rscalc.c | 311 u32 buffer_size = 0; in acpi_rs_get_list_length() local 707 buffer_size += (u32) ACPI_ALIGN_RESOURCE_SIZE (structure_size); in acpi_rs_get_list_length() 719 *size_needed = buffer_size; in acpi_rs_get_list_length()
|
/linux-2.4.37.9/drivers/md/ |
D | raid5.c | 39 #define stripe_hash(conf, sect) ((conf)->stripe_hashtbl[((sect) / ((conf)->buffer_size >> 9)) & HAS… 202 sh->size = conf->buffer_size; in init_stripe() 258 if (conf->buffer_size == 0 || in get_active_stripe() 259 (size && size != conf->buffer_size)) { in get_active_stripe() 268 int oldsize = conf->buffer_size; in get_active_stripe() 269 …PRINTK("get_stripe %ld/%d buffer_size is %d, %d active\n", sector, size, conf->buffer_size, atomic… in get_active_stripe() 272 conf->buffer_size, in get_active_stripe() 275 while (conf->buffer_size != size && atomic_read(&conf->active_stripes)) { in get_active_stripe() 276 conf->buffer_size = 0; in get_active_stripe() 278 atomic_read(&conf->active_stripes)==0 || conf->buffer_size, in get_active_stripe() [all …]
|
/linux-2.4.37.9/include/acpi/ |
D | acparser.h | 333 u32 buffer_size, 339 u32 buffer_size,
|
/linux-2.4.37.9/include/linux/ |
D | ncp_fs.h | 33 int buffer_size; /* The negotiated buffer size, to be member 44 unsigned int buffer_size; member
|
D | ncp_fs_sb.h | 37 int buffer_size; /* Negotiated bufsize */ member
|
/linux-2.4.37.9/fs/ncpfs/ |
D | ioctl.c | 117 info.buffer_size = server->buffer_size; in ncp_ioctl() 144 info2.buffer_size = server->buffer_size; in ncp_ioctl()
|
D | file.c | 144 bufsize = NCP_SERVER(inode)->buffer_size; in ncp_file_read() 226 bufsize = NCP_SERVER(inode)->buffer_size; in ncp_file_write()
|
D | inode.c | 394 NCP_DEFAULT_OPTIONS, &(server->buffer_size), &options) == 0) in ncp_read_super() 401 &(server->buffer_size), &options) != 0) in ncp_read_super() 413 &(server->buffer_size)) != 0) in ncp_read_super() 415 DPRINTK("ncpfs: bufsize = %d\n", server->buffer_size); in ncp_read_super()
|
D | mmap.c | 51 bufsize = NCP_SERVER(inode)->buffer_size; in ncp_file_mmap_nopage()
|
/linux-2.4.37.9/include/linux/raid/ |
D | raid5.h | 204 int buffer_size; member
|
/linux-2.4.37.9/drivers/hotplug/ |
D | pciehp.h | 332 static inline void make_slot_name(char *buffer, int buffer_size, struct slot *slot) in make_slot_name() argument 334 snprintf(buffer, buffer_size, "%d", slot->number); in make_slot_name()
|
/linux-2.4.37.9/drivers/atm/ |
D | ambassador.h | 513 u32 buffer_size; /* size of host buffer */ member 595 unsigned int buffer_size; member
|
/linux-2.4.37.9/drivers/sbus/audio/ |
D | audio.c | 219 (drv->input_size > drv->buffer_size)) { in sparcaudio_poll() 1127 ainfo.record.buffer_size = drv->buffer_size; in sparcaudio_ioctl() 1192 ainfo.play.buffer_size = 0; in sparcaudio_ioctl() 1632 if (Modify(ainfo.record.buffer_size)) { in sparcaudio_ioctl() 1634 newinfo.record.buffer_size = ainfo.record.buffer_size; in sparcaudio_ioctl() 1635 drv->buffer_size = ainfo.record.buffer_size; in sparcaudio_ioctl() 1637 newinfo.record.buffer_size = drv->buffer_size; in sparcaudio_ioctl()
|
/linux-2.4.37.9/arch/ppc64/kernel/ |
D | proc_pmc.c | 352 int buffer_size, n; in proc_ppc64_pmc_read() local 362 buffer_size = n = strlen(buffer); in proc_ppc64_pmc_read() 363 if (off >= buffer_size) { in proc_ppc64_pmc_read() 367 if (n > (buffer_size - off)) n = buffer_size - off; in proc_ppc64_pmc_read()
|