Home
last modified time | relevance | path

Searched refs:max_tasks (Results 1 – 3 of 3) sorted by relevance

/linux/tools/sched_ext/
H A Dscx_qmap.c263 skel->rodata->max_tasks = 16384; in main()
287 skel->rodata->max_tasks = strtoul(optarg, NULL, 0); in main()
H A Dscx_qmap.bpf.c70 const volatile u32 max_tasks; variable
934 scx_bpf_error("task_ctx slab exhausted (max_tasks=%u)", max_tasks); in BPF_STRUCT_OPS_SLEEPABLE()
1805 if (!max_tasks) { in BPF_STRUCT_OPS_SLEEPABLE()
1810 nr_pages = (max_tasks * TASK_CTX_STRIDE + PAGE_SIZE - 1) / PAGE_SIZE; in BPF_STRUCT_OPS_SLEEPABLE()
1821 bpf_for(i, 0, max_tasks) { in BPF_STRUCT_OPS_SLEEPABLE()
1823 task_ctx_t *next = (i + 1 < max_tasks) ? in BPF_STRUCT_OPS_SLEEPABLE()
/linux/drivers/scsi/bnx2fc/
H A Dbnx2fc_hwi.c82 fcoe_init1.num_tasks = hba->max_tasks; in bnx2fc_send_fw_fcoe_init_msg()
1009 if (xid >= hba->max_tasks) { in bnx2fc_pending_work()
1895 task_ctx_arr_sz = (hba->max_tasks / BNX2FC_TASKS_PER_PAGE); in bnx2fc_setup_task_ctx()
1969 task_ctx_arr_sz = (hba->max_tasks / BNX2FC_TASKS_PER_PAGE); in bnx2fc_free_task_ctx()