Home
last modified time | relevance | path

Searched refs:val_size (Results 1 – 4 of 4) sorted by relevance

/xnu-12377.1.9/tests/vm/
H A Dapp_swap.c86 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()
H A Dmemorystatus_freeze_test.c1935 size_t val_size = sizeof(val); local
1937 …tions", &original_unrestrict_coalitions_val, &original_unrestrict_coalitions_size, &val, val_size);
/xnu-12377.1.9/bsd/vfs/
H A Dvfs_cluster.c5074 u_int val_size; in cluster_read_copy() local
5099 val_size = (uio_last * PAGE_SIZE) - start_offset; in cluster_read_copy()
5101 if (val_size > max_size) { in cluster_read_copy()
5102 val_size = (u_int)max_size; in cluster_read_copy()
5105 if (val_size > io_req_size) { in cluster_read_copy()
5106 val_size = io_req_size; in cluster_read_copy()
5109 if ((uio->uio_offset + val_size) > last_ioread_offset) { in cluster_read_copy()
5110 last_ioread_offset = uio->uio_offset + val_size; in cluster_read_copy()
5114 if ((last_ioread_offset - (uio->uio_offset + val_size)) <= upl_size) { in cluster_read_copy()
5134 } else if ((uio->uio_offset + val_size) == last_request_offset) { in cluster_read_copy()
[all …]
/xnu-12377.1.9/bsd/netinet/
H A Dflow_divert.c531 …et, int offset, uint8_t type, size_t buff_len, void *buff __sized_by(buff_len), uint32_t *val_size) in flow_divert_packet_get_tlv() argument
556 if (val_size != NULL) { in flow_divert_packet_get_tlv()
557 *val_size = length; in flow_divert_packet_get_tlv()
2810 uint32_t val_size = 0; in flow_divert_handle_data() local
2814 …ket, (int)offset, FLOW_DIVERT_TLV_REMOTE_ADDR, sizeof(remote_address), &remote_address, &val_size); in flow_divert_handle_data()
2815 if (error || val_size > sizeof(remote_address)) { in flow_divert_handle_data()
2828 offset += (sizeof(uint8_t) + sizeof(uint32_t) + val_size); in flow_divert_handle_data()