Searched refs:list_size (Results 1 - 17 of 17) sorted by relevance

/freebsd-10-stable/sys/cddl/contrib/opensolaris/uts/common/sys/
H A Dlist_impl.h44 size_t list_size; member in struct:list
/freebsd-10-stable/contrib/libarchive/libarchive/
H A Darchive_read_disk_entry_from_file.c537 ssize_t list_size; local
549 list_size = flistxattr(*fd, NULL, 0);
551 list_size = flistxattr(*fd, NULL, 0, 0);
553 list_size = flistea(*fd, NULL, 0);
557 list_size = llistxattr(path, NULL, 0);
559 list_size = listxattr(path, NULL, 0, XATTR_NOFOLLOW);
561 list_size = llistea(path, NULL, 0);
565 list_size = listxattr(path, NULL, 0);
567 list_size = listxattr(path, NULL, 0, 0);
569 list_size
713 ssize_t list_size; local
[all...]
/freebsd-10-stable/contrib/ofed/libibverbs/src/
H A Dinit.c485 int *list_size)
489 if (*list_size <= *num_devices) {
490 *list_size = *list_size ? *list_size * 2 : 1;
491 new_list = realloc(*dev_list, *list_size * sizeof (struct ibv_device *));
506 int list_size = 0; local
537 add_device(device, list, &num_devices, &list_size);
574 add_device(device, list, &num_devices, &list_size);
482 add_device(struct ibv_device *dev, struct ibv_device ***dev_list, int *num_devices, int *list_size) argument
/freebsd-10-stable/sys/dev/vxge/vxgehal/
H A Dvxgehal-fifo.h205 u32 list_size,
H A Dvxgehal-fifo.c1720 * @list_size: List size
1729 u32 list_size,
1734 u32 invalid_frags = frags % list_size;
1747 "list_size = %d, frags = %d", (ptr_t) fifo, (ptr_t) txdp,
1748 list_size, frags);
1754 (ptr_t) txdp, frags, list_size);
1760 (ptr_t) txdp, frags, list_size);
1769 frags -= list_size;
1776 frags, list_size);
1726 __hal_fifo_txdl_free_many( __hal_fifo_t *fifo, vxge_hal_fifo_txd_t * txdp, u32 list_size, u32 frags) argument
/freebsd-10-stable/sys/cddl/contrib/opensolaris/uts/common/os/
H A Dlist.c70 list->list_size = size;
200 ASSERT(dst->list_size == src->list_size);
/freebsd-10-stable/sys/dev/mlx5/
H A Dvport.h99 int *list_size);
106 int list_size);
111 int list_size);
/freebsd-10-stable/usr.sbin/mfiutil/
H A Dmfi_drive.c254 uint32_t list_size; local
261 list_size = 1024;
263 list = reallocf(list, list_size);
266 if (mfi_dcmd_command(fd, MFI_DCMD_PD_GET_LIST, list, list_size, NULL,
272 if (list->size > list_size) {
273 list_size = list->size;
/freebsd-10-stable/sys/dev/mlx5/mlx5_en/
H A Dmlx5_en_flow_table.c397 int list_size; local
403 list_size = 0;
405 list_size++;
409 if (list_size > max_list_size) {
412 list_size, max_list_size);
413 list_size = max_list_size;
416 vlans = kcalloc(list_size, sizeof(*vlans), GFP_KERNEL);
422 if (i >= list_size)
427 err = mlx5_modify_nic_vport_vlans(priv->mdev, vlans, list_size);
/freebsd-10-stable/contrib/ee/
H A Dee.c318 void paint_menu P_((struct menu_entries menu_list[], int max_width, int max_height, int list_size, int top_offset, WINDOW *menu_win, int off_start, int vert_size));
3350 int list_size; local
3361 list_size = 1;
3362 while (menu_list[list_size + 1].item_string != NULL)
3363 list_size++;
3365 for (counter = 0; counter <= list_size; counter++)
3392 if (list_size > LINES)
3402 vert_size = list_size;
3403 max_height = list_size;
3419 paint_menu(menu_list, max_width, max_height, list_size, top_offse
[all...]
/freebsd-10-stable/sys/dev/mlx5/mlx5_core/
H A Dmlx5_vport.c727 int *list_size)
738 req_list_size = *list_size;
775 *list_size = req_list_size;
791 int list_size)
805 if (list_size > max_list_size)
809 list_size * MLX5_ST_SZ_BYTES(mac_address_layout);
827 allowed_list_size, list_size);
829 for (i = 0; i < list_size; i++) {
905 int list_size)
917 if (list_size > max_list_siz
723 mlx5_query_nic_vport_mac_list(struct mlx5_core_dev *dev, u16 vport, enum mlx5_list_type list_type, u8 addr_list[][ETH_ALEN], int *list_size) argument
788 mlx5_modify_nic_vport_mac_list(struct mlx5_core_dev *dev, enum mlx5_list_type list_type, u8 addr_list[][ETH_ALEN], int list_size) argument
903 mlx5_modify_nic_vport_vlans(struct mlx5_core_dev *dev, u16 vlans[], int list_size) argument
[all...]
/freebsd-10-stable/sys/dev/nxge/xgehal/
H A Dxgehal-fifo-fp.c135 xge_hal_fifo_txd_t *txdp, int list_size, int frags)
139 int invalid_frags = frags % list_size;
143 txdp, frags, list_size);
149 txdp, frags, list_size);
157 frags -= list_size;
165 frags, list_size);
134 __hal_fifo_txdl_free_many(xge_hal_channel_h channelh, xge_hal_fifo_txd_t *txdp, int list_size, int frags) argument
/freebsd-10-stable/usr.sbin/uhsoctl/
H A Duhsoctl.c1025 int error, i, usbport, usbport0, list_size = 0; local
1121 list = realloc(list, (list_size + 1) * sizeof(char *));
1122 list[list_size] = malloc(strlen(data) + strlen(TTY_NAME));
1123 sprintf(list[list_size], TTY_NAME, data);
1124 list_size++;
1128 list = realloc(list, (list_size + 1) * sizeof(char *));
1129 list[list_size] = NULL;
/freebsd-10-stable/sys/dev/sfxge/common/
H A Def10_filter.c918 size_t list_size; local
961 list_size = matches_count *
966 list_size);
/freebsd-10-stable/sys/dev/ciss/
H A Dcissreg.h174 u_int32_t list_size; /* big-endian */ member in struct:ciss_lun_report
H A Dciss.c1349 cll->list_size = htonl(report_size - sizeof(*cll)); /* big-endian field */
1411 ndrives = (ntohl(cll->list_size) / sizeof(union ciss_device_address));
1498 nphys = (ntohl(cll->list_size) / sizeof(union ciss_device_address));
1602 nphys = (ntohl(cll->list_size) / sizeof(union ciss_device_address));
3961 ndrives = (ntohl(cll->list_size) / sizeof(union ciss_device_address));
/freebsd-10-stable/sys/dev/aic7xxx/
H A Daic79xx.c5209 bus_size_t list_size; local
5211 list_size = sizeof(struct ahd_dma_seg) * AHD_NSEG;
5213 list_size = sizeof(struct ahd_dma64_seg) * AHD_NSEG;
5214 return (list_size);

Completed in 308 milliseconds