Searched refs:alloc_len (Results 1 - 25 of 31) sorted by relevance

12

/freebsd-10.2-release/contrib/apr-util/buckets/
H A Dapr_buckets_heap.c52 h->alloc_len = length;
53 h->base = apr_bucket_alloc(h->alloc_len, b->list);
66 h->alloc_len = length;
H A Dapr_buckets_pool.c37 p->heap.base = apr_bucket_alloc(p->heap.alloc_len, p->list);
38 memcpy(p->heap.base, p->base, p->heap.alloc_len);
113 p->heap.alloc_len = length;
H A Dapr_buckets_pipe.c63 h->alloc_len = APR_BUCKET_BUFF_SIZE; /* note the real buffer size */
H A Dapr_buckets_socket.c66 h->alloc_len = APR_BUCKET_BUFF_SIZE; /* note the real buffer size */
H A Dapr_brigade.c447 remaining = h->alloc_len - (e->length + (apr_size_t)e->start);
539 apr_size_t remaining = h->alloc_len -
/freebsd-10.2-release/sys/cam/ctl/
H A Dctl_tpc.c246 ctl_inquiry_evpd_tpc(struct ctl_scsiio *ctsio, int alloc_len) argument
283 if (data_len < alloc_len) {
284 ctsio->residual = alloc_len - data_len;
289 ctsio->kern_data_len = alloc_len;
290 ctsio->kern_total_len = alloc_len;
446 int alloc_len, total_len; local
455 alloc_len = scsi_4btoul(cdb->length);
461 if (total_len < alloc_len) {
462 ctsio->residual = alloc_len - total_len;
467 ctsio->kern_data_len = alloc_len;
525 int alloc_len, total_len; local
607 int alloc_len, total_len; local
679 int alloc_len, total_len; local
2154 int alloc_len, total_len, token_len; local
2251 int alloc_len, total_len, tokens, i; local
[all...]
H A Dctl_ioctl.h199 int alloc_len; /* passed to kernel */ member in struct:ctl_stats
336 uint32_t alloc_len; /* passed to kernel */ member in struct:ctl_ooa
354 uint32_t alloc_len; /* passed to kernel */ member in struct:ctl_port_list
572 * alloc_len: The length of the data buffer allocated for entries.
574 * with alloc_len set to 0, and then use the returned
590 uint32_t alloc_len; /* passed to kernel */ member in struct:ctl_lun_list
710 uint32_t alloc_len; /* passed to kernel */ member in struct:ctl_iscsi_list_params
H A Dctl.c423 static int ctl_inquiry_evpd_supported(struct ctl_scsiio *ctsio, int alloc_len);
424 static int ctl_inquiry_evpd_serial(struct ctl_scsiio *ctsio, int alloc_len);
425 static int ctl_inquiry_evpd_devid(struct ctl_scsiio *ctsio, int alloc_len);
426 static int ctl_inquiry_evpd_eid(struct ctl_scsiio *ctsio, int alloc_len);
427 static int ctl_inquiry_evpd_mpp(struct ctl_scsiio *ctsio, int alloc_len);
429 int alloc_len);
431 int alloc_len);
432 static int ctl_inquiry_evpd_bdc(struct ctl_scsiio *ctsio, int alloc_len);
433 static int ctl_inquiry_evpd_lbp(struct ctl_scsiio *ctsio, int alloc_len);
2503 if (list->alloc_len !
6592 int alloc_len, page_len, header_len, total_len; local
7058 int alloc_len, total_len; local
7202 uint32_t alloc_len; local
7264 uint32_t alloc_len, total_len; local
7323 uint32_t alloc_len, data_len; local
7384 int alloc_len, ext, total_len = 0, g, p, pc, pg, gs, os; local
7531 int alloc_len, total_len; local
7693 int alloc_len, total_len; local
7739 int alloc_len, total_len; local
7785 int alloc_len, total_len = 0; local
9345 uint32_t alloc_len, lun_datalen; local
9697 ctl_inquiry_evpd_supported(struct ctl_scsiio *ctsio, int alloc_len) argument
9772 ctl_inquiry_evpd_serial(struct ctl_scsiio *ctsio, int alloc_len) argument
9831 ctl_inquiry_evpd_eid(struct ctl_scsiio *ctsio, int alloc_len) argument
9902 ctl_inquiry_evpd_mpp(struct ctl_scsiio *ctsio, int alloc_len) argument
9956 ctl_inquiry_evpd_devid(struct ctl_scsiio *ctsio, int alloc_len) argument
10077 ctl_inquiry_evpd_scsi_ports(struct ctl_scsiio *ctsio, int alloc_len) argument
10189 ctl_inquiry_evpd_block_limits(struct ctl_scsiio *ctsio, int alloc_len) argument
10257 ctl_inquiry_evpd_bdc(struct ctl_scsiio *ctsio, int alloc_len) argument
10317 ctl_inquiry_evpd_lbp(struct ctl_scsiio *ctsio, int alloc_len) argument
10376 int alloc_len, retval; local
10446 uint32_t alloc_len, data_len; local
[all...]
H A Dctl_private.h549 int ctl_inquiry_evpd_tpc(struct ctl_scsiio *ctsio, int alloc_len);
H A Dctl_frontend_iscsi.c1596 sb = sbuf_new(NULL, NULL, cilp->alloc_len, SBUF_FIXEDLEN);
1601 cilp->alloc_len);
1643 "Out of space, %d bytes is too small", cilp->alloc_len);
/freebsd-10.2-release/sys/dev/ixl/
H A Di40e_hmc.c63 u64 alloc_len; local
81 alloc_len = I40E_HMC_PAGED_BP_SIZE;
84 alloc_len = direct_mode_sz;
88 ret_code = i40e_allocate_dma_mem(hw, &mem, mem_type, alloc_len,
/freebsd-10.2-release/sbin/camcontrol/
H A Dpersist.c68 unsigned int alloc_len; member in struct:persist_transport_id
484 &id->alloc_len, error_str, error_str_len);
496 id_len += id->alloc_len;
778 bcopy(id->hdr, bufptr, id->alloc_len);
779 bufptr += id->alloc_len;
831 bcopy(id->hdr, bufptr, id->alloc_len);
832 scsi_ulto4b(id->alloc_len,
/freebsd-10.2-release/lib/libmt/
H A Dmtlib.c714 size_t alloc_len = 32768; local
722 *xml_str = malloc(alloc_len);
726 extget.alloc_len = alloc_len;
739 alloc_len *= 2;
/freebsd-10.2-release/sys/cam/scsi/
H A Dscsi_cd.c1338 params.alloc_len = sizeof(union cd_mode_data_6_10);
1339 params.mode_buf = malloc(params.alloc_len, M_SCSICD,
1434 params.alloc_len = sizeof(union cd_mode_data_6_10);
1435 params.mode_buf = malloc(params.alloc_len, M_SCSICD,
1475 params.alloc_len = sizeof(union cd_mode_data_6_10);
1476 params.mode_buf = malloc(params.alloc_len, M_SCSICD,
1804 params.alloc_len = sizeof(union cd_mode_data_6_10);
1805 params.mode_buf = malloc(params.alloc_len, M_SCSICD,
1837 params.alloc_len = sizeof(union cd_mode_data_6_10);
1838 params.mode_buf = malloc(params.alloc_len, M_SCSIC
[all...]
H A Dscsi_cd.h188 u_int8_t alloc_len[2]; member in struct:scsi_report_key
242 u_int8_t alloc_len[2]; member in struct:scsi_read_dvd_structure
718 int alloc_len; member in struct:cd_mode_params
H A Dscsi_all.c5729 unsigned int *alloc_len,
5786 *alloc_len = alloc_size;
5830 unsigned int *alloc_len,
5896 *alloc_len = sizeof(*spi);
5914 unsigned int *alloc_len,
6041 *alloc_len = sizeof(*rdma);
6042 bzero(rdma, *alloc_len);
6065 unsigned int *alloc_len,
6153 *alloc_len = id_size;
6177 unsigned int *alloc_len,
5727 scsi_parse_transportid_64bit(int proto_id, char *id_str, struct scsi_transportid_header **hdr, unsigned int *alloc_len, struct malloc_type *type, int flags, char *error_str, int error_str_len) argument
5829 scsi_parse_transportid_spi(char *id_str, struct scsi_transportid_header **hdr, unsigned int *alloc_len, struct malloc_type *type, int flags, char *error_str, int error_str_len) argument
5913 scsi_parse_transportid_rdma(char *id_str, struct scsi_transportid_header **hdr, unsigned int *alloc_len, struct malloc_type *type, int flags, char *error_str, int error_str_len) argument
6064 scsi_parse_transportid_iscsi(char *id_str, struct scsi_transportid_header **hdr, unsigned int *alloc_len, struct malloc_type *type, int flags, char *error_str, int error_str_len) argument
6176 scsi_parse_transportid_sop(char *id_str, struct scsi_transportid_header **hdr, unsigned int *alloc_len, struct malloc_type *type, int flags, char *error_str, int error_str_len) argument
6345 scsi_parse_transportid(char *transportid_str, struct scsi_transportid_header **hdr, unsigned int *alloc_len, struct malloc_type *type, int flags, char *error_str, int error_str_len) argument
7651 scsi_report_luns(struct ccb_scsiio *csio, u_int32_t retries, void (*cbfcnp)(struct cam_periph *, union ccb *), u_int8_t tag_action, u_int8_t select_report, struct scsi_report_luns_data *rpl_buf, u_int32_t alloc_len, u_int8_t sense_len, u_int32_t timeout) argument
7677 scsi_report_target_group(struct ccb_scsiio *csio, u_int32_t retries, void (*cbfcnp)(struct cam_periph *, union ccb *), u_int8_t tag_action, u_int8_t pdf, void *buf, u_int32_t alloc_len, u_int8_t sense_len, u_int32_t timeout) argument
7703 scsi_set_target_group(struct ccb_scsiio *csio, u_int32_t retries, void (*cbfcnp)(struct cam_periph *, union ccb *), u_int8_t tag_action, void *buf, u_int32_t alloc_len, u_int8_t sense_len, u_int32_t timeout) argument
[all...]
H A Dscsi_all.h1205 uint32_t alloc_len, uint32_t flags, char *error_str,
2748 uint8_t alloc_len[4]; member in struct:scsi_read_capacity_16
2795 uint8_t alloc_len[4]; member in struct:scsi_get_lba_status
3632 unsigned int *alloc_len,
3640 unsigned int *alloc_len,
3648 unsigned int *alloc_len,
3656 unsigned int *alloc_len,
3664 unsigned int *alloc_len,
3672 unsigned int *alloc_len,
3825 u_int32_t alloc_len, u_int8_
[all...]
/freebsd-10.2-release/sys/sys/
H A Dmtio.h221 uint32_t alloc_len; member in struct:mtextget
/freebsd-10.2-release/contrib/libarchive/libarchive/
H A Darchive_write_set_format_shar.c416 size_t alloc_len; local
419 alloc_len = shar->work.length + 62;
420 if (archive_string_ensure(&shar->work, alloc_len) == NULL) {
/freebsd-10.2-release/usr.bin/ctlstat/
H A Dctlstat.c174 stats.alloc_len = *num_luns * sizeof(*lun_stats);
175 memset(lun_stats, 0, stats.alloc_len);
/freebsd-10.2-release/contrib/wpa/src/wps/
H A Dwps_upnp.c305 int alloc_len; local
377 alloc_len = host_len + 1 + 1 + path_len + 1;
389 a = os_zalloc(sizeof(*a) + alloc_len);
/freebsd-10.2-release/crypto/heimdal/lib/roken/
H A Dsocket_wrapper.c784 size_t alloc_len; local
820 alloc_len = packet_len;
821 if (alloc_len < sizeof(struct swrap_packet)) {
822 alloc_len = sizeof(struct swrap_packet);
824 ret = (struct swrap_packet *)malloc(alloc_len);
/freebsd-10.2-release/contrib/apr-util/include/
H A Dapr_buckets.h551 apr_size_t alloc_len; member in struct:apr_bucket_heap
/freebsd-10.2-release/usr.sbin/ctld/
H A Dkernel.c417 list.alloc_len = len;
466 list.alloc_len = len;
/freebsd-10.2-release/usr.sbin/ctladm/
H A Dctladm.c362 ooa.alloc_len = len;
458 port_list.alloc_len = num_entries * sizeof(*entries);
3618 req.data.list.alloc_len = conn_len;
4036 list.alloc_len = lun_len;
4332 list.alloc_len = port_len;

Completed in 240 milliseconds

12