---
title: vfs_setioattr
framework: Kernel
role: symbol
role_heading: Function
platforms: [macOS 10.4+]
path: kernel/1523458-vfs_setioattr
---

# vfs_setioattr

Set I/O attributes associated with a mounpoint.

## Declaration

```occ
void vfs_setioattr(mount_t mp, struct vfsioattr *ioattrp);
```

## Parameters

- `mp`: Mount for which to set attributes.
- `ioattrp`: Structure containing I/O parameters; all fields must be filled in.

## Return Value

Return Value void.
