Searched refs:val_size (Results 1 – 3 of 3) sorted by relevance
| /xnu-10002.1.13/tests/vm/ |
| H A D | app_swap.c | 86 size_t val_size = sizeof(val); in unrestrict_coalitions() local 88 …tions", &original_unrestrict_coalitions_val, &original_unrestrict_coalitions_size, &val, val_size); in unrestrict_coalitions()
|
| /xnu-10002.1.13/bsd/vfs/ |
| H A D | vfs_cluster.c | 4894 u_int val_size; in cluster_read_copy() local 4919 val_size = (uio_last * PAGE_SIZE) - start_offset; in cluster_read_copy() 4921 if (val_size > max_size) { in cluster_read_copy() 4922 val_size = (u_int)max_size; in cluster_read_copy() 4925 if (val_size > io_req_size) { in cluster_read_copy() 4926 val_size = io_req_size; in cluster_read_copy() 4929 if ((uio->uio_offset + val_size) > last_ioread_offset) { in cluster_read_copy() 4930 last_ioread_offset = uio->uio_offset + val_size; in cluster_read_copy() 4934 if ((last_ioread_offset - (uio->uio_offset + val_size)) <= upl_size) { in cluster_read_copy() 4954 } else if ((uio->uio_offset + val_size) == last_request_offset) { in cluster_read_copy() [all …]
|
| /xnu-10002.1.13/bsd/netinet/ |
| H A D | flow_divert.c | 521 …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 546 if (val_size != NULL) { in flow_divert_packet_get_tlv() 547 *val_size = length; in flow_divert_packet_get_tlv() 2819 uint32_t val_size = 0; in flow_divert_handle_data() local 2823 …ket, (int)offset, FLOW_DIVERT_TLV_REMOTE_ADDR, sizeof(remote_address), &remote_address, &val_size); in flow_divert_handle_data() 2824 if (error || val_size > sizeof(remote_address)) { in flow_divert_handle_data() 2837 offset += (sizeof(uint8_t) + sizeof(uint32_t) + val_size); in flow_divert_handle_data()
|