Searched refs:num_to_alloc (Results 1 – 12 of 12) sorted by relevance
| /OK3568_Linux_fs/external/xserver/hw/xwin/ |
| H A D | winprefslex.c | 1788 yy_size_t num_to_alloc; in yyensure_buffer_stack() local 1796 num_to_alloc = 1; /* After all that talk, this was set to 1 anyways... */ in yyensure_buffer_stack() 1798 (num_to_alloc * sizeof(struct yy_buffer_state*) in yyensure_buffer_stack() 1803 memset((yy_buffer_stack), 0, num_to_alloc * sizeof(struct yy_buffer_state*)); in yyensure_buffer_stack() 1805 (yy_buffer_stack_max) = num_to_alloc; in yyensure_buffer_stack() 1815 num_to_alloc = (yy_buffer_stack_max) + grow_size; in yyensure_buffer_stack() 1818 num_to_alloc * sizeof(struct yy_buffer_state*) in yyensure_buffer_stack() 1825 (yy_buffer_stack_max) = num_to_alloc; in yyensure_buffer_stack()
|
| /OK3568_Linux_fs/output/kconf/ |
| H A D | zconf.lex.c | |
| /OK3568_Linux_fs/u-boot/scripts/kconfig/ |
| H A D | zconf.lex.c | |
| H A D | zconf.lex.c_shipped | 2022 int num_to_alloc; 2030 num_to_alloc = 1; 2032 (num_to_alloc * sizeof(struct yy_buffer_state*) 2037 memset((yy_buffer_stack), 0, num_to_alloc * sizeof(struct yy_buffer_state*)); 2039 (yy_buffer_stack_max) = num_to_alloc; 2049 num_to_alloc = (yy_buffer_stack_max) + grow_size; 2052 num_to_alloc * sizeof(struct yy_buffer_state*) 2059 (yy_buffer_stack_max) = num_to_alloc;
|
| /OK3568_Linux_fs/external/xserver/hw/dmx/config/ |
| H A D | scanner.c | 1600 yy_size_t num_to_alloc; in yyensure_buffer_stack() local 1608 num_to_alloc = 1; /* After all that talk, this was set to 1 anyways... */ in yyensure_buffer_stack() 1610 (num_to_alloc * sizeof(struct yy_buffer_state*) in yyensure_buffer_stack() 1615 memset((yy_buffer_stack), 0, num_to_alloc * sizeof(struct yy_buffer_state*)); in yyensure_buffer_stack() 1617 (yy_buffer_stack_max) = num_to_alloc; in yyensure_buffer_stack() 1627 num_to_alloc = (yy_buffer_stack_max) + grow_size; in yyensure_buffer_stack() 1630 num_to_alloc * sizeof(struct yy_buffer_state*) in yyensure_buffer_stack() 1637 (yy_buffer_stack_max) = num_to_alloc; in yyensure_buffer_stack()
|
| /OK3568_Linux_fs/u-boot/scripts/dtc/ |
| H A D | dtc-lexer.lex.c | |
| H A D | dtc-lexer.lex.c_shipped | 1887 int num_to_alloc; 1895 num_to_alloc = 1; /* After all that talk, this was set to 1 anyways... */ 1897 (num_to_alloc * sizeof(struct yy_buffer_state*) 1902 memset((yy_buffer_stack), 0, num_to_alloc * sizeof(struct yy_buffer_state*)); 1904 (yy_buffer_stack_max) = num_to_alloc; 1914 num_to_alloc = (yy_buffer_stack_max) + grow_size; 1917 num_to_alloc * sizeof(struct yy_buffer_state*) 1924 (yy_buffer_stack_max) = num_to_alloc;
|
| /OK3568_Linux_fs/buildroot/support/kconfig/ |
| H A D | zconf.lex.c_shipped | 2043 yy_size_t num_to_alloc; 2051 num_to_alloc = 1; /* After all that talk, this was set to 1 anyways... */ 2053 (num_to_alloc * sizeof(struct yy_buffer_state*) 2058 memset((yy_buffer_stack), 0, num_to_alloc * sizeof(struct yy_buffer_state*)); 2060 (yy_buffer_stack_max) = num_to_alloc; 2070 num_to_alloc = (yy_buffer_stack_max) + grow_size; 2073 num_to_alloc * sizeof(struct yy_buffer_state*) 2080 (yy_buffer_stack_max) = num_to_alloc;
|
| /OK3568_Linux_fs/kernel/drivers/scsi/lpfc/ |
| H A D | lpfc_scsi.c | 330 lpfc_new_scsi_buf_s3(struct lpfc_vport *vport, int num_to_alloc) in lpfc_new_scsi_buf_s3() argument 347 num_to_alloc, phba->cfg_sg_dma_buf_size, in lpfc_new_scsi_buf_s3() 351 for (bcnt = 0; bcnt < num_to_alloc; bcnt++) { in lpfc_new_scsi_buf_s3() 5515 uint32_t num_to_alloc = 0; in lpfc_slave_alloc() local 5575 num_to_alloc = vport->cfg_lun_queue_depth + 2; in lpfc_slave_alloc() 5588 } else if (total + num_to_alloc > in lpfc_slave_alloc() 5594 num_to_alloc, phba->cfg_hba_queue_depth, in lpfc_slave_alloc() 5596 num_to_alloc = phba->cfg_hba_queue_depth - total; in lpfc_slave_alloc() 5598 num_allocated = lpfc_new_scsi_buf_s3(vport, num_to_alloc); in lpfc_slave_alloc() 5599 if (num_to_alloc != num_allocated) { in lpfc_slave_alloc() [all …]
|
| H A D | lpfc_crtn.h | 515 int lpfc_new_io_buf(struct lpfc_hba *phba, int num_to_alloc);
|
| H A D | lpfc_init.c | 4150 lpfc_new_io_buf(struct lpfc_hba *phba, int num_to_alloc) in lpfc_new_io_buf() argument 4161 for (bcnt = 0; bcnt < num_to_alloc; bcnt++) { in lpfc_new_io_buf() 4240 "buffers\n", bcnt, num_to_alloc); in lpfc_new_io_buf()
|
| /OK3568_Linux_fs/kernel/drivers/net/vmxnet3/ |
| H A D | vmxnet3_drv.c | 567 int num_to_alloc, struct vmxnet3_adapter *adapter) in vmxnet3_rq_alloc_rx_buf() argument 574 while (num_allocated <= num_to_alloc) { in vmxnet3_rq_alloc_rx_buf() 639 if (num_allocated == num_to_alloc) in vmxnet3_rq_alloc_rx_buf() 1374 int num_to_alloc; in vmxnet3_rq_rx_complete() local 1624 num_to_alloc = vmxnet3_cmd_ring_desc_avail(ring); in vmxnet3_rq_rx_complete() 1632 while (num_to_alloc) { in vmxnet3_rq_rx_complete() 1640 num_to_alloc--; in vmxnet3_rq_rx_complete()
|