Searched refs:avail_size (Results 1 – 3 of 3) sorted by relevance
/linux-6.1.9/drivers/gpu/drm/amd/amdkfd/ |
D | kfd_crat.c | 1796 static int kfd_fill_cu_for_cpu(int numa_node_id, int *avail_size, in kfd_fill_cu_for_cpu() argument 1802 *avail_size -= sizeof(struct crat_subtype_computeunit); in kfd_fill_cu_for_cpu() 1803 if (*avail_size < 0) in kfd_fill_cu_for_cpu() 1835 static int kfd_fill_mem_info_for_cpu(int numa_node_id, int *avail_size, in kfd_fill_mem_info_for_cpu() argument 1843 *avail_size -= sizeof(struct crat_subtype_memory); in kfd_fill_mem_info_for_cpu() 1844 if (*avail_size < 0) in kfd_fill_mem_info_for_cpu() 1873 static int kfd_fill_iolink_info_for_cpu(int numa_node_id, int *avail_size, in kfd_fill_iolink_info_for_cpu() argument 1893 *avail_size -= sizeof(struct crat_subtype_iolink); in kfd_fill_iolink_info_for_cpu() 1894 if (*avail_size < 0) in kfd_fill_iolink_info_for_cpu() 1929 int avail_size = *size; in kfd_create_vcrat_image_cpu() local [all …]
|
/linux-6.1.9/tools/lib/bpf/ |
D | ringbuf.c | 484 __u32 avail_size, total_size, max_size; in user_ring_buffer__reserve() local 501 avail_size = max_size - (prod_pos - cons_pos); in user_ring_buffer__reserve() 508 if (avail_size < total_size) in user_ring_buffer__reserve()
|
/linux-6.1.9/net/mptcp/ |
D | protocol.c | 1127 u64 data_seq, int avail_size) in mptcp_check_allowed_size() argument 1133 return avail_size; in mptcp_check_allowed_size() 1136 avail_size = min_t(unsigned int, mptcp_snd_wnd, avail_size); in mptcp_check_allowed_size() 1143 return avail_size; in mptcp_check_allowed_size()
|