Searched refs:val_size (Results 1 – 2 of 2) sorted by relevance
| /xnu-8019.80.24/bsd/vfs/ |
| H A D | vfs_cluster.c | 4407 u_int val_size; in cluster_read_copy() local 4432 val_size = (uio_last * PAGE_SIZE) - start_offset; in cluster_read_copy() 4434 if (val_size > max_size) { in cluster_read_copy() 4435 val_size = (u_int)max_size; in cluster_read_copy() 4438 if (val_size > io_req_size) { in cluster_read_copy() 4439 val_size = io_req_size; in cluster_read_copy() 4442 if ((uio->uio_offset + val_size) > last_ioread_offset) { in cluster_read_copy() 4443 last_ioread_offset = uio->uio_offset + val_size; in cluster_read_copy() 4447 if ((last_ioread_offset - (uio->uio_offset + val_size)) <= upl_size) { in cluster_read_copy() 4467 } else if ((uio->uio_offset + val_size) == last_request_offset) { in cluster_read_copy() [all …]
|
| /xnu-8019.80.24/bsd/netinet/ |
| H A D | flow_divert.c | 454 …t_get_tlv(mbuf_t packet, int offset, uint8_t type, size_t buff_len, void *buff, uint32_t *val_size) in flow_divert_packet_get_tlv() argument 479 if (val_size != NULL) { in flow_divert_packet_get_tlv() 480 *val_size = length; in flow_divert_packet_get_tlv() 2601 uint32_t val_size = 0; in flow_divert_handle_data() local 2605 …ket, (int)offset, FLOW_DIVERT_TLV_REMOTE_ADDR, sizeof(remote_address), &remote_address, &val_size); in flow_divert_handle_data() 2606 if (error || val_size > sizeof(remote_address)) { in flow_divert_handle_data() 2619 offset += (sizeof(uint8_t) + sizeof(uint32_t) + val_size); in flow_divert_handle_data()
|