Searched refs:num_to_alloc (Results 1 – 6 of 6) sorted by relevance
| /linux/scripts/dtc/ |
| A D | dtc-lexer.lex.c | 1841 yy_size_t num_to_alloc; in yyensure_buffer_stack() local 1849 num_to_alloc = 1; /* After all that talk, this was set to 1 anyways... */ in yyensure_buffer_stack() 1851 (num_to_alloc * sizeof(struct yy_buffer_state*) in yyensure_buffer_stack() 1856 memset((yy_buffer_stack), 0, num_to_alloc * sizeof(struct yy_buffer_state*)); in yyensure_buffer_stack() 1858 (yy_buffer_stack_max) = num_to_alloc; in yyensure_buffer_stack() 1868 num_to_alloc = (yy_buffer_stack_max) + grow_size; in yyensure_buffer_stack() 1871 num_to_alloc * sizeof(struct yy_buffer_state*) in yyensure_buffer_stack() 1878 (yy_buffer_stack_max) = num_to_alloc; in yyensure_buffer_stack()
|
| /linux/scripts/kconfig/ |
| A D | lexer.lex.c | 3567 yy_size_t num_to_alloc; in yyensure_buffer_stack() local 3575 num_to_alloc = 1; /* After all that talk, this was set to 1 anyways... */ in yyensure_buffer_stack() 3577 (num_to_alloc * sizeof(struct yy_buffer_state*) in yyensure_buffer_stack() 3582 memset((yy_buffer_stack), 0, num_to_alloc * sizeof(struct yy_buffer_state*)); in yyensure_buffer_stack() 3584 (yy_buffer_stack_max) = num_to_alloc; in yyensure_buffer_stack() 3594 num_to_alloc = (yy_buffer_stack_max) + grow_size; in yyensure_buffer_stack() 3597 num_to_alloc * sizeof(struct yy_buffer_state*) in yyensure_buffer_stack() 3604 (yy_buffer_stack_max) = num_to_alloc; in yyensure_buffer_stack()
|
| /linux/drivers/scsi/lpfc/ |
| A D | lpfc_scsi.c | 317 lpfc_new_scsi_buf_s3(struct lpfc_vport *vport, int num_to_alloc) in lpfc_new_scsi_buf_s3() argument 334 num_to_alloc, phba->cfg_sg_dma_buf_size, in lpfc_new_scsi_buf_s3() 338 for (bcnt = 0; bcnt < num_to_alloc; bcnt++) { in lpfc_new_scsi_buf_s3() 6692 uint32_t num_to_alloc = 0; in lpfc_slave_alloc() local 6752 num_to_alloc = vport->cfg_lun_queue_depth + 2; in lpfc_slave_alloc() 6765 } else if (total + num_to_alloc > in lpfc_slave_alloc() 6771 num_to_alloc, phba->cfg_hba_queue_depth, in lpfc_slave_alloc() 6773 num_to_alloc = phba->cfg_hba_queue_depth - total; in lpfc_slave_alloc() 6775 num_allocated = lpfc_new_scsi_buf_s3(vport, num_to_alloc); in lpfc_slave_alloc() 6776 if (num_to_alloc != num_allocated) { in lpfc_slave_alloc() [all …]
|
| A D | lpfc_crtn.h | 552 int lpfc_new_io_buf(struct lpfc_hba *phba, int num_to_alloc);
|
| A D | lpfc_init.c | 4373 lpfc_new_io_buf(struct lpfc_hba *phba, int num_to_alloc) in lpfc_new_io_buf() argument 4384 for (bcnt = 0; bcnt < num_to_alloc; bcnt++) { in lpfc_new_io_buf() 4463 "buffers\n", bcnt, num_to_alloc); in lpfc_new_io_buf()
|
| /linux/drivers/net/vmxnet3/ |
| A D | vmxnet3_drv.c | 561 int num_to_alloc, struct vmxnet3_adapter *adapter) in vmxnet3_rq_alloc_rx_buf() argument 568 while (num_allocated <= num_to_alloc) { in vmxnet3_rq_alloc_rx_buf() 631 if (num_allocated == num_to_alloc) in vmxnet3_rq_alloc_rx_buf() 1365 int num_to_alloc; in vmxnet3_rq_rx_complete() local 1627 num_to_alloc = vmxnet3_cmd_ring_desc_avail(ring); in vmxnet3_rq_rx_complete() 1635 while (num_to_alloc) { in vmxnet3_rq_rx_complete() 1643 num_to_alloc--; in vmxnet3_rq_rx_complete()
|
Completed in 49 milliseconds