Searched refs:val_size (Results 1 – 3 of 3) sorted by relevance
| /xnu-8792.41.9/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-8792.41.9/bsd/vfs/ |
| H A D | vfs_cluster.c | 4430 u_int val_size; in cluster_read_copy() local 4455 val_size = (uio_last * PAGE_SIZE) - start_offset; in cluster_read_copy() 4457 if (val_size > max_size) { in cluster_read_copy() 4458 val_size = (u_int)max_size; in cluster_read_copy() 4461 if (val_size > io_req_size) { in cluster_read_copy() 4462 val_size = io_req_size; in cluster_read_copy() 4465 if ((uio->uio_offset + val_size) > last_ioread_offset) { in cluster_read_copy() 4466 last_ioread_offset = uio->uio_offset + val_size; in cluster_read_copy() 4470 if ((last_ioread_offset - (uio->uio_offset + val_size)) <= upl_size) { in cluster_read_copy() 4490 } else if ((uio->uio_offset + val_size) == last_request_offset) { in cluster_read_copy() [all …]
|
| /xnu-8792.41.9/bsd/netinet/ |
| H A D | flow_divert.c | 485 …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 510 if (val_size != NULL) { in flow_divert_packet_get_tlv() 511 *val_size = length; in flow_divert_packet_get_tlv() 2617 uint32_t val_size = 0; in flow_divert_handle_data() local 2621 …ket, (int)offset, FLOW_DIVERT_TLV_REMOTE_ADDR, sizeof(remote_address), &remote_address, &val_size); in flow_divert_handle_data() 2622 if (error || val_size > sizeof(remote_address)) { in flow_divert_handle_data() 2635 offset += (sizeof(uint8_t) + sizeof(uint32_t) + val_size); in flow_divert_handle_data()
|