/linux/tools/vm/ |
A D | page_owner_sort.c | 34 static int list_size; variable 107 if (list_size != 0 && in add_list() 110 list[list_size-1].num++; in add_list() 114 if (list_size == max_size) { in add_list() 119 list[list_size].len = len; in add_list() 120 list[list_size].num = 1; in add_list() 123 list[list_size].txt[len] = 0; in add_list() 124 list_size++; in add_list() 125 if (list_size % 1000 == 0) { in add_list() 126 printf("loaded %d\r", list_size); in add_list() [all …]
|
/linux/drivers/soc/ti/ |
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 …]
|
A D | knav_qmss.h | 108 int list_size; member
|
/linux/fs/overlayfs/ |
A D | copy_up.c | 50 ssize_t list_size, size, value_size = 0; in ovl_copy_xattr() local 60 if (list_size <= 0) { in ovl_copy_xattr() 61 if (list_size == -EOPNOTSUPP) in ovl_copy_xattr() 63 return list_size; in ovl_copy_xattr() 66 buf = kvzalloc(list_size, GFP_KERNEL); in ovl_copy_xattr() 70 list_size = vfs_listxattr(old, buf, list_size); in ovl_copy_xattr() 71 if (list_size <= 0) { in ovl_copy_xattr() 72 error = list_size; in ovl_copy_xattr() 77 slen = strnlen(name, list_size) + 1; in ovl_copy_xattr() 80 if (WARN_ON(slen > list_size)) { in ovl_copy_xattr() [all …]
|
/linux/certs/ |
A D | common.c | 8 const unsigned long list_size, in load_certificate_list() argument 16 end = p + list_size; in load_certificate_list()
|
A D | common.h | 6 int load_certificate_list(const u8 cert_list[], const unsigned long list_size,
|
/linux/include/linux/mlx5/ |
A D | vport.h | 98 int *list_size); 102 int list_size); 114 int list_size);
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
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() 302 *list_size = req_list_size; in mlx5_query_nic_vport_mac_list() 318 int list_size) in mlx5_modify_nic_vport_mac_list() argument 332 if (list_size > max_list_size) in mlx5_modify_nic_vport_mac_list() 353 allowed_list_size, list_size); in mlx5_modify_nic_vport_mac_list() 355 for (i = 0; i < list_size; i++) { in mlx5_modify_nic_vport_mac_list() 370 int list_size) in mlx5_modify_nic_vport_vlans() argument 382 if (list_size > max_list_size) in mlx5_modify_nic_vport_vlans() 404 allowed_list_size, list_size); in mlx5_modify_nic_vport_vlans() [all …]
|
A D | fs_cmd.c | 564 int list_size = 0; in mlx5_cmd_set_fte() local 617 list_size++; in mlx5_cmd_set_fte() 621 list_size); in mlx5_cmd_set_fte() 628 int list_size = 0; in mlx5_cmd_set_fte() local 638 list_size++; in mlx5_cmd_set_fte() 640 if (list_size > max_list_size) { in mlx5_cmd_set_fte() 646 list_size); in mlx5_cmd_set_fte()
|
A D | en_fs.c | 139 int list_size; in mlx5e_vport_context_update_vlans() local 145 list_size = 0; in mlx5e_vport_context_update_vlans() 147 list_size++; in mlx5e_vport_context_update_vlans() 151 if (list_size > max_list_size) { in mlx5e_vport_context_update_vlans() 154 list_size, max_list_size); in mlx5e_vport_context_update_vlans() 155 list_size = max_list_size; in mlx5e_vport_context_update_vlans() 158 vlans = kcalloc(list_size, sizeof(*vlans), GFP_KERNEL); in mlx5e_vport_context_update_vlans() 164 if (i >= list_size) in mlx5e_vport_context_update_vlans() 169 err = mlx5_modify_nic_vport_vlans(priv->mdev, vlans, list_size); in mlx5e_vport_context_update_vlans()
|
/linux/drivers/acpi/acpica/ |
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()
|
A D | utids.c | 304 cid_list->list_size = cid_list_size; in acpi_ut_execute_CID()
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/ |
A D | dr_cmd.c | 711 int list_size = 0; in mlx5dr_cmd_set_fte() local 758 list_size++; in mlx5dr_cmd_set_fte() 762 list_size); in mlx5dr_cmd_set_fte() 769 int list_size = 0; in mlx5dr_cmd_set_fte() local 779 list_size++; in mlx5dr_cmd_set_fte() 781 if (list_size > max_list_size) { in mlx5dr_cmd_set_fte() 787 list_size); in mlx5dr_cmd_set_fte()
|
/linux/drivers/scsi/esas2r/ |
A 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()
|
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()
|
A D | esas2r_io.c | 149 if (a->last_write >= a->list_size) { in esas2r_start_vda_request()
|
/linux/drivers/of/ |
A D | base.c | 1575 u32 list_size, new_size; in of_parse_phandle_with_args_map() local 1604 ret = of_property_read_u32(cur, cells_name, &list_size); in of_parse_phandle_with_args_map() 1609 for (i = 0; i < list_size; i++) in of_parse_phandle_with_args_map() 1628 while (map_len > (list_size + 1) && !match) { in of_parse_phandle_with_args_map() 1631 for (i = 0; i < list_size; i++, map_len--) in of_parse_phandle_with_args_map() 1677 if (i < list_size) { in of_parse_phandle_with_args_map() 1684 out_args->args_count = list_size = new_size; in of_parse_phandle_with_args_map()
|
/linux/drivers/scsi/ |
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() 3242 tempcnt = (u8)list_size(&dcb->srb_going_list); in srb_done() 3401 list_size(&dcb->srb_waiting_list), dcb->target_id, in doing_srb_done() 3682 if (list_size(&dcb->srb_going_list) > 1) { in adapter_remove_and_free_device() 3686 list_size(&dcb->srb_going_list)); in adapter_remove_and_free_device() 3705 list_size(&acb->dcb_list)); in adapter_remove_and_free_all_devices() 4465 seq_printf(m, "Nr of DCBs: %i\n", list_size(&acb->dcb_list)); in dc395x_show_info() 4513 list_size(&dcb->srb_waiting_list)); in dc395x_show_info() [all …]
|
/linux/drivers/media/platform/ti-vpe/ |
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()
|
A D | vpdma_priv.h | 520 u32 list_size; member
|
/linux/drivers/net/wireless/intel/iwlwifi/mvm/ |
A D | fw.c | 1114 int list_size; in iwl_mvm_tas_init() local 1124 ret = iwl_acpi_get_tas(&mvm->fwrt, cmd.block_list_array, &list_size); in iwl_mvm_tas_init() 1132 if (list_size < 0) in iwl_mvm_tas_init() 1136 cmd.block_list_size = cpu_to_le32((u32)list_size); in iwl_mvm_tas_init()
|
/linux/drivers/media/usb/hdpvr/ |
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/drivers/vhost/ |
A D | vdpa.c | 690 unsigned long list_size = PAGE_SIZE / sizeof(struct page *); in vhost_vdpa_pa_map() local 725 sz2pin = min_t(unsigned long, npages, list_size); in vhost_vdpa_pa_map()
|
/linux/include/acpi/ |
A D | actypes.h | 1148 u32 list_size; /* Size of list, including ID strings */ member
|
/linux/drivers/gpu/drm/amd/amdgpu/ |
A D | gfx_v8_0.c | 3921 int list_size, in gfx_v8_0_parse_ind_reg_list() argument 3932 for (; ind_offset < list_size; ind_offset++) { in gfx_v8_0_parse_ind_reg_list() 3977 int list_size; in gfx_v8_0_init_save_restore_list() local 4006 list_size = adev->gfx.rlc.reg_list_size_bytes >> 2; in gfx_v8_0_init_save_restore_list() 4007 list_size = list_size >> 1; in gfx_v8_0_init_save_restore_list() 4009 WREG32(mmRLC_GPM_SCRATCH_DATA, list_size); in gfx_v8_0_init_save_restore_list()
|