/linux-6.6.21/tools/mm/ |
D | page_owner_sort.c | 95 static int list_size; variable 456 static bool match_num_list(int num, int *list, int list_size) in match_num_list() argument 458 for (int i = 0; i < list_size; ++i) in match_num_list() 464 static bool match_str_list(const char *str, char **list, int list_size) in match_str_list() argument 466 for (int i = 0; i < list_size; ++i) in match_str_list() 500 if (list_size != 0 && in add_list() 501 len == list[list_size-1].len && in add_list() 502 memcmp(buf, list[list_size-1].txt, len) == 0) { in add_list() 503 list[list_size-1].num++; in add_list() 504 list[list_size-1].page_num += get_page_num(buf); in add_list() [all …]
|
/linux-6.6.21/drivers/soc/ti/ |
D | knav_qmss_acc.c | 123 dma_sync_single_for_cpu(kdev->dev, list_dma, info->list_size, in knav_acc_int_handler() 126 for (list = list_cpu; list < list_cpu + (info->list_size / sizeof(u32)); in knav_acc_int_handler() 178 memset(list_cpu, 0, info->list_size); in knav_acc_int_handler() 179 dma_sync_single_for_device(kdev->dev, list_dma, info->list_size, in knav_acc_int_handler() 479 int list_size, mem_size; in knav_init_acc_range() local 542 list_size = info->list_entries; in knav_init_acc_range() 543 list_size *= ACC_LIST_ENTRY_WORDS * sizeof(u32); in knav_init_acc_range() 544 info->list_size = list_size; in knav_init_acc_range() 545 mem_size = PAGE_ALIGN(list_size * 2); in knav_init_acc_range() 574 acc->list_cpu[1] = list_mem + list_size; in knav_init_acc_range() [all …]
|
D | knav_qmss.h | 108 int list_size; member
|
/linux-6.6.21/crypto/asymmetric_keys/ |
D | x509_loader.c | 8 const unsigned long list_size, in x509_load_certificate_list() argument 16 end = p + list_size; in x509_load_certificate_list()
|
/linux-6.6.21/fs/overlayfs/ |
D | copy_up.c | 79 ssize_t list_size, size, value_size = 0; in ovl_copy_xattr() local 87 list_size = vfs_listxattr(old, NULL, 0); in ovl_copy_xattr() 88 if (list_size <= 0) { in ovl_copy_xattr() 89 if (list_size == -EOPNOTSUPP) in ovl_copy_xattr() 91 return list_size; in ovl_copy_xattr() 94 buf = kvzalloc(list_size, GFP_KERNEL); in ovl_copy_xattr() 98 list_size = vfs_listxattr(old, buf, list_size); in ovl_copy_xattr() 99 if (list_size <= 0) { in ovl_copy_xattr() 100 error = list_size; in ovl_copy_xattr() 104 for (name = buf; list_size; name += slen) { in ovl_copy_xattr() [all …]
|
/linux-6.6.21/include/linux/mlx5/ |
D | vport.h | 98 int *list_size); 102 int list_size); 114 int list_size);
|
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/ |
D | vport.c | 257 int *list_size) in mlx5_query_nic_vport_mac_list() argument 268 req_list_size = *list_size; in mlx5_query_nic_vport_mac_list() 303 *list_size = req_list_size; in mlx5_query_nic_vport_mac_list() 319 int list_size) in mlx5_modify_nic_vport_mac_list() argument 333 if (list_size > max_list_size) in mlx5_modify_nic_vport_mac_list() 337 list_size * MLX5_ST_SZ_BYTES(mac_address_layout); in mlx5_modify_nic_vport_mac_list() 354 allowed_list_size, list_size); in mlx5_modify_nic_vport_mac_list() 356 for (i = 0; i < list_size; i++) { in mlx5_modify_nic_vport_mac_list() 371 int list_size) in mlx5_modify_nic_vport_vlans() argument 383 if (list_size > max_list_size) in mlx5_modify_nic_vport_vlans() [all …]
|
D | en_fs.c | 173 int list_size; in mlx5e_vport_context_update_vlans() local 179 list_size = 0; in mlx5e_vport_context_update_vlans() 181 list_size++; in mlx5e_vport_context_update_vlans() 185 if (list_size > max_list_size) { in mlx5e_vport_context_update_vlans() 187 list_size, max_list_size); in mlx5e_vport_context_update_vlans() 188 list_size = max_list_size; in mlx5e_vport_context_update_vlans() 191 vlans = kvcalloc(list_size, sizeof(*vlans), GFP_KERNEL); in mlx5e_vport_context_update_vlans() 197 if (i >= list_size) in mlx5e_vport_context_update_vlans() 202 err = mlx5_modify_nic_vport_vlans(fs->mdev, vlans, list_size); in mlx5e_vport_context_update_vlans()
|
D | fs_cmd.c | 634 int list_size = 0; in mlx5_cmd_set_fte() local 702 list_size++; in mlx5_cmd_set_fte() 706 list_size); in mlx5_cmd_set_fte() 713 int list_size = 0; in mlx5_cmd_set_fte() local 723 list_size++; in mlx5_cmd_set_fte() 725 if (list_size > max_list_size) { in mlx5_cmd_set_fte() 731 list_size); in mlx5_cmd_set_fte()
|
/linux-6.6.21/drivers/acpi/acpica/ |
D | nsxfname.c | 310 (cid_list->list_size - in acpi_get_object_info() 411 info->compatible_id_list.list_size = cid_list->list_size; in acpi_get_object_info()
|
D | utids.c | 304 cid_list->list_size = cid_list_size; in acpi_ut_execute_CID()
|
/linux-6.6.21/include/keys/ |
D | asymmetric-type.h | 87 int x509_load_certificate_list(const u8 cert_list[], const unsigned long list_size,
|
/linux-6.6.21/drivers/scsi/esas2r/ |
D | esas2r_init.c | 854 a->list_size = num_requests + ESAS2R_LIST_EXTRA; in esas2r_init_adapter_struct() 857 a->inbound_list_md.size = a->list_size * in esas2r_init_adapter_struct() 867 a->outbound_list_md.size = a->list_size * in esas2r_init_adapter_struct() 905 for (i = 0; i < a->list_size; i++) { in esas2r_init_adapter_struct() 1065 a->last_read = a->list_size - 1; in esas2r_check_adapter() 1091 | (a->list_size << MU_ILC_NUMBER_SHIFT); in esas2r_check_adapter() 1095 dw |= MU_OLC_ENTRY_4_DW | (a->list_size << MU_OLC_NUMBER_SHIFT); in esas2r_check_adapter()
|
D | esas2r_int.c | 234 if (unlikely(rspput_ptr >= a->list_size)) { in esas2r_get_outbound_responses() 245 if (rspget_ptr >= a->list_size) in esas2r_get_outbound_responses() 427 a->last_read = a->list_size - 1; in esas2r_process_adapter_reset()
|
D | esas2r_io.c | 149 if (a->last_write >= a->list_size) { in esas2r_start_vda_request()
|
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/steering/ |
D | dr_cmd.c | 870 int list_size = 0; in mlx5dr_cmd_set_fte() local 934 list_size++; in mlx5dr_cmd_set_fte() 938 list_size); in mlx5dr_cmd_set_fte() 945 int list_size = 0; in mlx5dr_cmd_set_fte() local 955 list_size++; in mlx5dr_cmd_set_fte() 957 if (list_size > max_list_size) { in mlx5dr_cmd_set_fte() 963 list_size); in mlx5dr_cmd_set_fte()
|
/linux-6.6.21/drivers/of/ |
D | base.c | 1353 u32 list_size, new_size; in of_parse_phandle_with_args_map() local 1382 ret = of_property_read_u32(cur, cells_name, &list_size); in of_parse_phandle_with_args_map() 1387 for (i = 0; i < list_size; i++) in of_parse_phandle_with_args_map() 1406 while (map_len > (list_size + 1) && !match) { in of_parse_phandle_with_args_map() 1409 for (i = 0; i < list_size; i++, map_len--) in of_parse_phandle_with_args_map() 1455 if (i < list_size) { in of_parse_phandle_with_args_map() 1462 out_args->args_count = list_size = new_size; in of_parse_phandle_with_args_map()
|
/linux-6.6.21/drivers/scsi/ |
D | dc395x.c | 681 static unsigned int list_size(struct list_head *head) in list_size() function 802 pos->max_command <= list_size(&pos->srb_going_list)) { in waiting_process_next() 845 if (dcb->max_command <= list_size(&dcb->srb_going_list) || in send_srb() 3241 tempcnt = (u8)list_size(&dcb->srb_going_list); in srb_done() 3397 list_size(&dcb->srb_waiting_list), dcb->target_id, in doing_srb_done() 3687 if (list_size(&dcb->srb_going_list) > 1) { in adapter_remove_and_free_device() 3691 list_size(&dcb->srb_going_list)); in adapter_remove_and_free_device() 3710 list_size(&acb->dcb_list)); in adapter_remove_and_free_all_devices() 4470 seq_printf(m, "Nr of DCBs: %i\n", list_size(&acb->dcb_list)); in dc395x_show_info() 4518 list_size(&dcb->srb_waiting_list)); in dc395x_show_info() [all …]
|
/linux-6.6.21/drivers/media/platform/ti/vpe/ |
D | vpdma.c | 531 int list_size; in vpdma_submit_descs() local 538 list_size = (list->next - list->buf.addr) >> 4; in vpdma_submit_descs() 546 list_size); in vpdma_submit_descs()
|
D | vpdma_priv.h | 520 u32 list_size; member
|
/linux-6.6.21/drivers/media/usb/hdpvr/ |
D | hdpvr-video.c | 33 list_size(&dev->free_buff_list), \ 34 list_size(&dev->rec_buff_list)); } 55 static uint list_size(struct list_head *list) in list_size() function
|
/linux-6.6.21/include/acpi/ |
D | actypes.h | 1172 u32 list_size; /* Size of list, including ID strings */ member
|
/linux-6.6.21/drivers/vhost/ |
D | vdpa.c | 988 unsigned long list_size = PAGE_SIZE / sizeof(struct page *); in vhost_vdpa_pa_map() local 1023 sz2pin = min_t(unsigned long, npages, list_size); in vhost_vdpa_pa_map()
|
/linux-6.6.21/drivers/staging/media/deprecated/atmel/ |
D | atmel-isc-base.c | 1782 u32 list_size = isc->formats_list_size; in isc_formats_init() local 1814 for (i = 0, j = 0; i < list_size; i++) { in isc_formats_init()
|
/linux-6.6.21/drivers/gpu/drm/amd/amdgpu/ |
D | gfx_v8_0.c | 3880 int list_size, in gfx_v8_0_parse_ind_reg_list() argument 3891 for (; ind_offset < list_size; ind_offset++) { in gfx_v8_0_parse_ind_reg_list() 3936 int list_size; in gfx_v8_0_init_save_restore_list() local 3965 list_size = adev->gfx.rlc.reg_list_size_bytes >> 2; in gfx_v8_0_init_save_restore_list() 3966 list_size = list_size >> 1; in gfx_v8_0_init_save_restore_list() 3968 WREG32(mmRLC_GPM_SCRATCH_DATA, list_size); in gfx_v8_0_init_save_restore_list()
|