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

12

/freebsd-11-stable/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-11-stable/sbin/camcontrol/
H A Dzone.c333 uint32_t alloc_len = 65536, valid_len = 0; local
446 data_ptr = malloc(alloc_len);
448 err(1, "unable to allocate %u bytes", alloc_len);
451 bzero(data_ptr, alloc_len);
464 /*dxfer_len*/ alloc_len,
483 sector_count = ZAC_ATA_SECTOR_COUNT(alloc_len);
492 features = ZAC_ATA_SECTOR_COUNT(alloc_len);
514 /*dxfer_len*/ ZAC_ATA_SECTOR_COUNT(alloc_len)*512,
H A Dpersist.c68 unsigned int alloc_len; member in struct:persist_transport_id
486 &id->alloc_len, error_str, error_str_len);
498 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,
H A Dcamcontrol.c7017 int alloc_len; local
7074 alloc_len = sizeof(*lundata) + 8;
7078 lundata = malloc(alloc_len);
7081 warn("%s: error mallocing %d bytes", __func__, alloc_len);
7092 /*alloc_len*/ alloc_len,
7122 && (list_len > (alloc_len - sizeof(*lundata)))) {
7123 alloc_len = list_len + sizeof(*lundata);
8894 uint32_t alloc_len = 0, num_opcodes; local
8921 alloc_len
[all...]
/freebsd-11-stable/sys/dev/ixl/
H A Di40e_hmc.c61 u64 alloc_len; local
79 alloc_len = I40E_HMC_PAGED_BP_SIZE;
82 alloc_len = direct_mode_sz;
86 ret_code = i40e_allocate_dma_mem(hw, &mem, mem_type, alloc_len,
/freebsd-11-stable/sys/cam/ctl/
H A Dctl_ioctl.h142 int alloc_len; /* passed to kernel */ member in struct:ctl_stats
163 size_t alloc_len; /* passed to kernel */ member in struct:ctl_get_io_stats
298 uint32_t alloc_len; /* passed to kernel */ member in struct:ctl_ooa
560 * alloc_len: The length of the data buffer allocated for entries.
562 * with alloc_len set to 0, and then use the returned
578 uint32_t alloc_len; /* passed to kernel */ member in struct:ctl_lun_list
701 uint32_t alloc_len; /* passed to kernel */ member in struct:ctl_iscsi_list_params
H A Dctl.c478 static int ctl_inquiry_evpd_supported(struct ctl_scsiio *ctsio, int alloc_len);
479 static int ctl_inquiry_evpd_serial(struct ctl_scsiio *ctsio, int alloc_len);
480 static int ctl_inquiry_evpd_devid(struct ctl_scsiio *ctsio, int alloc_len);
481 static int ctl_inquiry_evpd_eid(struct ctl_scsiio *ctsio, int alloc_len);
482 static int ctl_inquiry_evpd_mpp(struct ctl_scsiio *ctsio, int alloc_len);
484 int alloc_len);
486 int alloc_len);
487 static int ctl_inquiry_evpd_bdc(struct ctl_scsiio *ctsio, int alloc_len);
488 static int ctl_inquiry_evpd_lbp(struct ctl_scsiio *ctsio, int alloc_len);
2718 if ((ooa_hdr->alloc_len
6334 int alloc_len, page_len, header_len, total_len; local
6793 int alloc_len, total_len; local
6926 uint32_t alloc_len; local
6977 uint32_t alloc_len, total_len; local
7026 uint32_t alloc_len, data_len; local
7081 int alloc_len, ext, total_len = 0, g, pc, pg, ts, os; local
7253 int alloc_len, total_len; local
7417 int alloc_len, total_len; local
7458 int alloc_len, total_len; local
7496 int alloc_len, total_len = 0; local
8968 uint32_t alloc_len, lun_datalen; local
9251 ctl_inquiry_evpd_supported(struct ctl_scsiio *ctsio, int alloc_len) argument
9314 ctl_inquiry_evpd_serial(struct ctl_scsiio *ctsio, int alloc_len) argument
9363 ctl_inquiry_evpd_eid(struct ctl_scsiio *ctsio, int alloc_len) argument
9427 ctl_inquiry_evpd_mpp(struct ctl_scsiio *ctsio, int alloc_len) argument
9469 ctl_inquiry_evpd_devid(struct ctl_scsiio *ctsio, int alloc_len) argument
9582 ctl_inquiry_evpd_scsi_ports(struct ctl_scsiio *ctsio, int alloc_len) argument
9674 ctl_inquiry_evpd_block_limits(struct ctl_scsiio *ctsio, int alloc_len) argument
9740 ctl_inquiry_evpd_bdc(struct ctl_scsiio *ctsio, int alloc_len) argument
9788 ctl_inquiry_evpd_lbp(struct ctl_scsiio *ctsio, int alloc_len) argument
9843 int alloc_len, retval; local
9913 uint32_t alloc_len, data_len; local
10131 uint32_t alloc_len, data_len; local
10336 uint32_t alloc_len, data_len; local
10373 uint32_t alloc_len, data_len; local
10417 uint32_t alloc_len, data_len; local
[all...]
H A Dctl_tpc.c267 ctl_inquiry_evpd_tpc(struct ctl_scsiio *ctsio, int alloc_len) argument
302 ctsio->kern_data_len = min(data_len, alloc_len);
454 int alloc_len, total_len; local
463 alloc_len = scsi_4btoul(cdb->length);
468 ctsio->kern_data_len = min(total_len, alloc_len);
523 int alloc_len, total_len; local
551 alloc_len = scsi_4btoul(cdb->length);
556 ctsio->kern_data_len = min(total_len, alloc_len);
593 int alloc_len, total_len; local
619 alloc_len
653 int alloc_len, total_len; local
2342 int alloc_len, total_len, token_len; local
2426 int alloc_len, total_len, tokens, i; local
[all...]
H A Dctl_private.h529 int ctl_inquiry_evpd_tpc(struct ctl_scsiio *ctsio, int alloc_len);
/freebsd-11-stable/lib/libmt/
H A Dmtlib.c722 size_t alloc_len = 32768; local
730 *xml_str = malloc(alloc_len);
734 extget.alloc_len = alloc_len;
747 alloc_len *= 2;
/freebsd-11-stable/sys/cam/scsi/
H A Dscsi_cd.c1754 params.alloc_len = sizeof(union cd_mode_data_6_10);
1755 params.mode_buf = malloc(params.alloc_len, M_SCSICD,
1850 params.alloc_len = sizeof(union cd_mode_data_6_10);
1851 params.mode_buf = malloc(params.alloc_len, M_SCSICD,
1891 params.alloc_len = sizeof(union cd_mode_data_6_10);
1892 params.mode_buf = malloc(params.alloc_len, M_SCSICD,
2211 params.alloc_len = sizeof(union cd_mode_data_6_10);
2212 params.mode_buf = malloc(params.alloc_len, M_SCSICD,
2244 params.alloc_len = sizeof(union cd_mode_data_6_10);
2245 params.mode_buf = malloc(params.alloc_len, M_SCSIC
[all...]
H A Dscsi_cd.h288 u_int8_t alloc_len[2]; member in struct:scsi_report_key
342 u_int8_t alloc_len[2]; member in struct:scsi_read_dvd_structure
852 int alloc_len; member in struct:cd_mode_params
H A Dscsi_all.c5981 unsigned int *alloc_len,
6038 *alloc_len = alloc_size;
6082 unsigned int *alloc_len,
6148 *alloc_len = sizeof(*spi);
6166 unsigned int *alloc_len,
6293 *alloc_len = sizeof(*rdma);
6294 bzero(rdma, *alloc_len);
6317 unsigned int *alloc_len,
6404 *alloc_len = id_size;
6428 unsigned int *alloc_len,
5979 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
6081 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
6165 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
6316 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
6427 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
6596 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
7910 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
7936 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
7962 scsi_report_timestamp(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
7988 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
8027 scsi_set_timestamp(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.h1241 uint32_t alloc_len, uint32_t flags, char *error_str,
2911 uint8_t alloc_len[4]; member in struct:scsi_read_capacity_16
2958 uint8_t alloc_len[4]; member in struct:scsi_get_lba_status
3867 unsigned int *alloc_len,
3875 unsigned int *alloc_len,
3883 unsigned int *alloc_len,
3891 unsigned int *alloc_len,
3899 unsigned int *alloc_len,
3907 unsigned int *alloc_len,
4063 u_int32_t alloc_len, u_int8_
[all...]
/freebsd-11-stable/sys/sys/
H A Dmtio.h221 uint32_t alloc_len; member in struct:mtextget
/freebsd-11-stable/contrib/libarchive/libarchive/
H A Darchive_write_set_format_shar.c414 size_t alloc_len; local
417 alloc_len = shar->work.length + 62;
418 if (archive_string_ensure(&shar->work, alloc_len) == NULL) {
/freebsd-11-stable/sys/net/
H A Drtsock.c555 int alloc_len = 0, len, error = 0, fibnum; local
580 alloc_len = roundup2(len, 1024);
581 if ((rtm = malloc(alloc_len, M_TEMP, M_NOWAIT)) == NULL)
848 if (len > alloc_len) {
858 alloc_len = len;
862 w.w_tmemsize = alloc_len;
/freebsd-11-stable/contrib/wpa/src/wps/
H A Dwps_upnp.c318 int alloc_len; local
393 alloc_len = host_len + 1 + 1 + path_len + 1;
413 a = os_zalloc(sizeof(*a) + alloc_len);
/freebsd-11-stable/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-11-stable/usr.sbin/camdd/
H A Dcamdd.c163 uint32_t alloc_len; member in struct:camdd_buf_data
697 data->alloc_len = dev->blocksize;
774 uint32_t alloc_len; local
779 alloc_len = data->alloc_len;
782 data->alloc_len = alloc_len;
/freebsd-11-stable/contrib/apr-util/include/
H A Dapr_buckets.h551 apr_size_t alloc_len; member in struct:apr_bucket_heap

Completed in 439 milliseconds

12