| /linux/tools/mm/ |
| H A D | page_owner_sort.c | 105 static int list_size; 468 static bool match_num_list(int num, int *list, int list_size) in is_need() 470 for (int i = 0; i < list_size; ++i) in is_need() 476 static bool match_str_list(const char *str, char **list, int list_size) in add_list() 478 for (int i = 0; i < list_size; ++i) in add_list() 512 if (list_size == max_size) { in parse_cull_args() 523 list[list_size].pid = get_pid(buf); in parse_cull_args() 524 list[list_size].tgid = get_tgid(buf); in parse_cull_args() 525 list[list_size].comm = get_comm(buf); in parse_cull_args() 526 if (!list[list_size] in parse_cull_args() 98 static int list_size; global() variable 437 match_num_list(int num,int * list,int list_size) match_num_list() argument 445 match_str_list(const char * str,char ** list,int list_size) match_str_list() argument 601 parse_nums_list(char * arg_str,int * list_size) parse_nums_list() argument [all...] |
| /linux/fs/overlayfs/ |
| H A D | copy_up.c | 78 ssize_t list_size, size, value_size = 0; in ovl_copy_xattr() local 86 list_size = vfs_listxattr(old, NULL, 0); in ovl_copy_xattr() 87 if (list_size <= 0) { in ovl_copy_xattr() 88 if (list_size == -EOPNOTSUPP) in ovl_copy_xattr() 90 return list_size; in ovl_copy_xattr() 93 buf = kvzalloc(list_size, GFP_KERNEL); in ovl_copy_xattr() 97 list_size = vfs_listxattr(old, buf, list_size); in ovl_copy_xattr() 98 if (list_size <= 0) { in ovl_copy_xattr() 99 error = list_size; in ovl_copy_xattr() 103 for (name = buf; list_size; name += slen) { in ovl_copy_xattr() [all …]
|
| /linux/include/linux/mlx5/ |
| H A D | vport.h | 111 int list_size); 123 int list_size);
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/ |
| H A D | vport.c | 429 int list_size) in mlx5_modify_nic_vport_mac_list() argument 443 if (list_size > max_list_size) in mlx5_modify_nic_vport_mac_list() 447 list_size * MLX5_ST_SZ_BYTES(mac_address_layout); in mlx5_modify_nic_vport_mac_list() 464 allowed_list_size, list_size); in mlx5_modify_nic_vport_mac_list() 466 for (i = 0; i < list_size; i++) { in mlx5_modify_nic_vport_mac_list() 481 int list_size) in mlx5_modify_nic_vport_vlans() argument 493 if (list_size > max_list_size) in mlx5_modify_nic_vport_vlans() 497 list_size * MLX5_ST_SZ_BYTES(vlan_layout); in mlx5_modify_nic_vport_vlans() 515 allowed_list_size, list_size); in mlx5_modify_nic_vport_vlans() 517 for (i = 0; i < list_size; i++) { in mlx5_modify_nic_vport_vlans()
|
| /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/scsi/esas2r/ |
| H A D | esas2r_init.c | 849 a->list_size = num_requests + ESAS2R_LIST_EXTRA; in esas2r_init_adapter_struct() 852 a->inbound_list_md.size = a->list_size * in esas2r_init_adapter_struct() 862 a->outbound_list_md.size = a->list_size * in esas2r_init_adapter_struct() 900 for (i = 0; i < a->list_size; i++) { in esas2r_init_adapter_struct() 1060 a->last_read = a->list_size - 1; in esas2r_check_adapter() 1086 | (a->list_size << MU_ILC_NUMBER_SHIFT); in esas2r_check_adapter() 1090 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 | 1563 u32 list_size, new_size; in of_parse_phandle_with_args_map() local 1578 ret = of_property_read_u32(cur, cells_name, &list_size); in of_parse_phandle_with_args_map() 1583 for (i = 0; i < list_size; i++) in of_parse_phandle_with_args_map() 1603 while (map_len > (list_size + 1) && !match) { in of_parse_phandle_with_args_map() 1606 for (i = 0; i < list_size; i++, map_len--) in of_parse_phandle_with_args_map() 1656 if (i < list_size) { in of_parse_phandle_with_args_map() 1664 out_args->args_count = list_size = new_size; in of_parse_phandle_with_args_map()
|
| /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)); } 60 static uint list_size(struct list_head *list) in list_size() function
|
| /linux/drivers/media/platform/ti/vpe/ |
| H A D | vpdma_priv.h | 520 u32 list_size; member
|
| /linux/drivers/vhost/ |
| H A D | vdpa.c | 1108 unsigned long list_size = PAGE_SIZE / sizeof(struct page *); in vhost_vdpa_pa_map() local 1150 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 | 3883 int list_size, in gfx_v8_0_parse_ind_reg_list() argument 3894 for (; ind_offset < list_size; ind_offset++) { in gfx_v8_0_parse_ind_reg_list() 3939 int list_size; in gfx_v8_0_init_save_restore_list() local 3968 list_size = adev->gfx.rlc.reg_list_size_bytes >> 2; in gfx_v8_0_init_save_restore_list() 3969 list_size = list_size >> 1; in gfx_v8_0_init_save_restore_list() 3971 WREG32(mmRLC_GPM_SCRATCH_DATA, list_size); in gfx_v8_0_init_save_restore_list()
|
| H A D | gfx_v9_0.c | 2787 int list_size, in gfx_v9_1_parse_ind_reg_list() argument 2796 for (; indirect_offset < list_size; indirect_offset++) { in gfx_v9_1_parse_ind_reg_list() 2830 int list_size = 0; in gfx_v9_1_init_rlc_save_restore_list() local 2895 list_size = adev->gfx.rlc.reg_list_size_bytes >> 2; in gfx_v9_1_init_rlc_save_restore_list() 2896 list_size = list_size >> 1; in gfx_v9_1_init_rlc_save_restore_list() 2899 WREG32(SOC15_REG_OFFSET(GC, 0, mmRLC_GPM_SCRATCH_DATA), list_size); in gfx_v9_1_init_rlc_save_restore_list()
|
| /linux/security/integrity/ima/ |
| H A D | ima_policy.c | 2109 int idx, list_size = 0; in ima_policy_show_appraise_algos() 2116 if (list_size++) in ima_policy_show() 2098 int idx, list_size = 0; ima_policy_show_appraise_algos() local
|
| /linux/drivers/net/ethernet/intel/i40e/ |
| H A D | i40e_main.c | 2570 int list_size; in i40e_sync_vsi_filters() local 2655 list_size = filter_list_len * in i40e_sync_vsi_filters() 2657 del_list = kzalloc(list_size, GFP_ATOMIC); in i40e_sync_vsi_filters() 2693 memset(del_list, 0, list_size); in i40e_sync_vsi_filters() 2716 list_size = filter_list_len * in i40e_sync_vsi_filters() 2718 add_list = kzalloc(list_size, GFP_ATOMIC); in i40e_sync_vsi_filters() 2760 memset(add_list, 0, list_size); in i40e_sync_vsi_filters()
|
| /linux/drivers/scsi/aic7xxx/ |
| H A D | aic79xx_core.c | 5976 bus_size_t list_size; in ahd_sglist_size() local 5978 list_size = sizeof(struct ahd_dma_seg) * AHD_NSEG; in ahd_sglist_size() 5980 list_size = sizeof(struct ahd_dma64_seg) * AHD_NSEG; in ahd_sglist_size() 5981 return (list_size); in ahd_sglist_size()
|