Lines Matching refs:buf_t
99 * mark the buffer associated with buf_t
102 void buf_markaged(buf_t);
105 * mark the buffer associated with buf_t
109 void buf_markinvalid(buf_t);
112 * mark the buffer assoicated with buf_t
115 void buf_markdelayed(buf_t);
118 * mark the buffer associated with buf_t
121 void buf_markeintr(buf_t);
124 * mark the buffer associated with buf_t
127 void buf_markfua(buf_t);
130 * returns 1 if the buffer associated with buf_t
133 int buf_fua(buf_t);
136 * returns 1 if the buffer associated with buf_t
139 int buf_valid(buf_t);
146 int buf_fromcache(buf_t);
149 * returns the UPL associated with buf_t
151 void * buf_upl(buf_t);
155 * associated with buf_t which is to be
158 uint32_t buf_uploffset(buf_t);
161 * returns read credential associated with buf_t
164 ucred_t buf_rcred(buf_t);
167 * returns write credential associated with buf_t
170 ucred_t buf_wcred(buf_t);
173 * returns process handle associated with buf_t
176 proc_t buf_proc(buf_t);
178 uint32_t buf_dirtyoff(buf_t);
179 uint32_t buf_dirtyend(buf_t);
180 void buf_setdirtyoff(buf_t, uint32_t);
181 void buf_setdirtyend(buf_t, uint32_t);
184 * return the errno value associated with buf_t
186 errno_t buf_error(buf_t);
189 * set errno on buf_t
191 void buf_seterror(buf_t, errno_t);
194 * set specified flags on buf_t
197 void buf_setflags(buf_t, int32_t);
200 * clear specified flags on buf_t
203 void buf_clearflags(buf_t, int32_t);
206 * return external flags associated with buf_t
209 int32_t buf_flags(buf_t);
213 * external) associated with buf_t and allows
217 void buf_reset(buf_t, int32_t);
220 * insure that the data storage associated with buf_t
223 errno_t buf_map(buf_t, caddr_t *);
227 * with buf_t in an addressable state
229 errno_t buf_unmap(buf_t);
232 * set driver specific data for buf_t
234 void buf_setdrvdata(buf_t, void *);
237 * retrieve driver specific data associated with buf_t
239 void * buf_drvdata(buf_t);
242 * set fs specific data for buf_t
244 void buf_setfsprivate(buf_t, void *);
247 * retrieve driver specific data associated with buf_t
249 void * buf_fsprivate(buf_t);
252 * retrieve the phsyical block number associated with buf_t
254 daddr64_t buf_blkno(buf_t);
257 * retrieve the logical block number associated with buf_t
260 daddr64_t buf_lblkno(buf_t);
263 * set the phsyical block number associated with buf_t
265 void buf_setblkno(buf_t, daddr64_t);
268 * set the logical block number associated with buf_t
271 void buf_setlblkno(buf_t, daddr64_t);
274 * retrieve the count of valid bytes associated with buf_t
276 uint32_t buf_count(buf_t);
279 * retrieve the size of the data store assoicated with buf_t
281 uint32_t buf_size(buf_t);
284 * retrieve the residual I/O count assoicated with buf_t
287 uint32_t buf_resid(buf_t);
290 * set the count of bytes associated with buf_t
293 void buf_setcount(buf_t, uint32_t);
296 * set the size of the buffer store associated with buf_t
297 * typically used when providing private storage to buf_t
299 void buf_setsize(buf_t, uint32_t);
302 * set the size in bytes of the unfinished I/O associated with buf_t
304 void buf_setresid(buf_t, uint32_t);
307 * associate kernel addressable storage with buf_t
309 void buf_setdataptr(buf_t, uintptr_t);
312 * retrieve pointer to buffer associated with buf_t
318 uintptr_t buf_dataptr(buf_t);
321 * return the vnode_t associated with buf_t
323 vnode_t buf_vnode(buf_t);
326 * assign vnode_t to buf_t... the
330 void buf_setvnode(buf_t, vnode_t);
333 * return the dev_t associated with buf_t
335 dev_t buf_device(buf_t);
339 * to buf_t
341 errno_t buf_setdevice(buf_t, vnode_t);
361 void * buf_callback(buf_t);
365 * to a buf_t allocated via buf_alloc... a caller specified
368 errno_t buf_setcallback(buf_t, void (*)(buf_t, void *), void *);
375 errno_t buf_setupl(buf_t, upl_t, uint32_t);
378 * allocate a buf_t that is a clone of the buf_t
385 buf_t buf_clone(buf_t, int, int, void (*)(buf_t, void *), void *);
388 * allocate a buf_t associated with vnode_t
394 buf_t buf_alloc(vnode_t);
397 * free a buf_t that was allocated via buf_alloc
398 * any private storage associated with buf_t is the
401 void buf_free(buf_t);
420 void buf_iterate(vnode_t, int (*)(buf_t, void *), int, void *);
428 * zero the storage associated with buf_t
430 void buf_clear(buf_t);
432 errno_t buf_bawrite(buf_t);
433 errno_t buf_bdwrite(buf_t);
434 errno_t buf_bwrite(buf_t);
436 void buf_biodone(buf_t);
437 errno_t buf_biowait(buf_t);
438 void buf_brelse(buf_t);
440 errno_t buf_bread(vnode_t, daddr64_t, int, ucred_t, buf_t *);
441 errno_t buf_breadn(vnode_t, daddr64_t, int, daddr64_t *, int *, int, ucred_t, buf_t *);
442 errno_t buf_meta_bread(vnode_t, daddr64_t, int, ucred_t, buf_t *);
443 errno_t buf_meta_breadn(vnode_t, daddr64_t, int, daddr64_t *, int *, int, ucred_t, buf_t *);
445 u_int minphys(buf_t bp);
446 int physio(void (*)(buf_t), buf_t, dev_t, int , u_int (*)(buf_t), struct uio *, int );
462 buf_t buf_getblk(vnode_t, daddr64_t, int, int, int, int);
463 buf_t buf_geteblk(int);