/linux/tools/mm/ |
H A D | page_owner_sort.c | 100 static int list_size; variable 434 static bool match_num_list(int num, int *list, int list_size) in match_num_list() argument 436 for (int i = 0; i < list_size; ++i) in match_num_list() 442 static bool match_str_list(const char *str, char **list, int list_size) in match_str_list() argument 444 for (int i = 0; i < list_size; ++i) in match_str_list() 471 if (list_size == max_size) { in add_list() 477 list[list_size].pid = get_pid(buf); in add_list() 478 list[list_size].tgid = get_tgid(buf); in add_list() 479 list[list_size].comm = get_comm(buf); in add_list() 480 list[list_size].txt = malloc(len+1); in add_list() [all …]
|
/linux/drivers/soc/ti/ |
H A 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 …]
|
H A D | knav_qmss.h | 108 int list_size; member
|
/linux/crypto/asymmetric_keys/ |
H A 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/fs/overlayfs/ |
H A 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/include/linux/mlx5/ |
H A D | vport.h | 99 int *list_size); 103 int list_size); 115 int list_size);
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
H A 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 …]
|
H A 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()
|
H A 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/drivers/acpi/acpica/ |
H A 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()
|
H A D | utids.c | 304 cid_list->list_size = cid_list_size; in acpi_ut_execute_CID()
|
/linux/include/keys/ |
H A D | asymmetric-type.h | 87 int x509_load_certificate_list(const u8 cert_list[], const unsigned long list_size,
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/ |
H A 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/drivers/scsi/esas2r/ |
H A D | esas2r_init.c | 853 a->list_size = num_requests + ESAS2R_LIST_EXTRA; in esas2r_init_adapter_struct() 856 a->inbound_list_md.size = a->list_size * in esas2r_init_adapter_struct() 866 a->outbound_list_md.size = a->list_size * in esas2r_init_adapter_struct() 904 for (i = 0; i < a->list_size; i++) { in esas2r_init_adapter_struct() 1064 a->last_read = a->list_size - 1; in esas2r_check_adapter() 1090 | (a->list_size << MU_ILC_NUMBER_SHIFT); in esas2r_check_adapter() 1094 dw |= MU_OLC_ENTRY_4_DW | (a->list_size << MU_OLC_NUMBER_SHIFT); in esas2r_check_adapter()
|
H A 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()
|
H A D | esas2r_io.c | 149 if (a->last_write >= a->list_size) { in esas2r_start_vda_request()
|
/linux/drivers/of/ |
H A D | base.c | 1408 u32 list_size, new_size; in of_parse_phandle_with_args_map() local 1423 ret = of_property_read_u32(cur, cells_name, &list_size); in of_parse_phandle_with_args_map() 1428 for (i = 0; i < list_size; i++) in of_parse_phandle_with_args_map() 1446 while (map_len > (list_size + 1) && !match) { in of_parse_phandle_with_args_map() 1449 for (i = 0; i < list_size; i++, map_len--) in of_parse_phandle_with_args_map() 1495 if (i < list_size) { in of_parse_phandle_with_args_map() 1502 out_args->args_count = list_size = new_size; in of_parse_phandle_with_args_map()
|
/linux/drivers/scsi/ |
H A 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/drivers/media/platform/ti/vpe/ |
H A 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()
|
H A D | vpdma_priv.h | 520 u32 list_size; member
|
/linux/drivers/media/usb/hdpvr/ |
H A 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/include/acpi/ |
H A D | actypes.h | 1172 u32 list_size; /* Size of list, including ID strings */ member
|
/linux/drivers/vhost/ |
H A D | vdpa.c | 1101 unsigned long list_size = PAGE_SIZE / sizeof(struct page *); in vhost_vdpa_pa_map() local 1136 sz2pin = min_t(unsigned long, npages, list_size); in vhost_vdpa_pa_map()
|
/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | gfx_v8_0.c | 3876 int list_size, in gfx_v8_0_parse_ind_reg_list() argument 3887 for (; ind_offset < list_size; ind_offset++) { in gfx_v8_0_parse_ind_reg_list() 3932 int list_size; in gfx_v8_0_init_save_restore_list() local 3961 list_size = adev->gfx.rlc.reg_list_size_bytes >> 2; in gfx_v8_0_init_save_restore_list() 3962 list_size = list_size >> 1; in gfx_v8_0_init_save_restore_list() 3964 WREG32(mmRLC_GPM_SCRATCH_DATA, list_size); in gfx_v8_0_init_save_restore_list()
|
/linux/drivers/staging/media/deprecated/atmel/ |
H A D | atmel-isc-base.c | 1780 u32 list_size = isc->formats_list_size; in isc_formats_init() local 1812 for (i = 0, j = 0; i < list_size; i++) { in isc_formats_init()
|