/openbmc/linux/tools/mm/ |
H A 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 …]
|
/openbmc/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
|
/openbmc/u-boot/drivers/fpga/ |
H A D | stratix10.c | 51 static u8 add_transfer(u32 *xfer_pending_list, size_t list_size, u8 id) in add_transfer() argument 55 for (i = 0; i < list_size; i++) { in add_transfer() 77 static int get_and_clr_transfer(u32 *xfer_pending_list, size_t list_size, in get_and_clr_transfer() argument 82 for (i = 0; i < list_size; i++) { in get_and_clr_transfer()
|
/openbmc/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 …]
|
/openbmc/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()
|
/openbmc/linux/include/linux/mlx5/ |
H A D | vport.h | 98 int *list_size); 102 int list_size); 114 int list_size);
|
/openbmc/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()
|
/openbmc/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()
|
/openbmc/linux/include/keys/ |
H A D | asymmetric-type.h | 87 int x509_load_certificate_list(const u8 cert_list[], const unsigned long list_size,
|
/openbmc/linux/drivers/of/ |
H A 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() 1460 if (i < list_size) { in of_parse_phandle_with_args_map() 1467 out_args->args_count = list_size = new_size; in of_parse_phandle_with_args_map()
|
/openbmc/linux/drivers/scsi/esas2r/ |
H 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()
|
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()
|
/openbmc/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()
|
/openbmc/u-boot/drivers/tee/optee/ |
H A D | core.c | 83 unsigned int list_size; in optee_alloc_and_init_page_list() local 103 list_size = DIV_ROUND_UP(num_pages, PAGELIST_ENTRIES_PER_PAGE) * in optee_alloc_and_init_page_list() 105 page_list = memalign(page_size, list_size); in optee_alloc_and_init_page_list()
|
/openbmc/openbmc-test-automation/lib/ |
H A D | list_utils.robot | 14 ${list_size}= Get Length ${lists}
|
/openbmc/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 …]
|
/openbmc/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
|
/openbmc/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
|
/openbmc/phosphor-logging/extensions/openpower-pels/tools/ |
H A D | peltool.cpp | 256 auto list_size = PyList_Size(pResult); in getPlugins() local 257 for (auto i = 0; i < list_size; i++) in getPlugins()
|
/openbmc/linux/include/acpi/ |
H A D | actypes.h | 1172 u32 list_size; /* Size of list, including ID strings */ member
|