Home
last modified time | relevance | path

Searched refs:d_handle (Results 1 – 3 of 3) sorted by relevance

/freebsd-12-stable/stand/libofw/
Dofw_disk.c97 OF_close(kdp->d_handle); in ofwd_strategy()
101 if ((dp->d_handle = OF_open(dp->d_path)) == -1) in ofwd_strategy()
108 if (OF_seek(dp->d_handle, pos) < 0) in ofwd_strategy()
110 n = OF_read(dp->d_handle, buf, size); in ofwd_strategy()
130 OF_close(kdp->d_handle); in ofwd_open()
133 if ((dp->d_handle = OF_open(dp->d_path)) == -1) { in ofwd_open()
150 OF_close(dev->d_handle); in ofwd_close()
166 block_size = OF_block_size(dev->d_handle); in ofwd_ioctl()
170 block_size = OF_block_size(dev->d_handle); in ofwd_ioctl()
171 n = OF_blocks(dev->d_handle); in ofwd_ioctl()
Dlibofw.h34 ihandle_t d_handle; member
/freebsd-12-stable/contrib/sqlite3/
Dshell.c1569 intptr_t d_handle; /* Value returned by "_findfirst". */ member
1673 dirp->d_handle = _findfirst(data.name, &data); in opendir()
1675 if( dirp->d_handle==BAD_INTPTR_T ){ in opendir()
1685 if( _findnext(dirp->d_handle, &data)==-1 ){ in opendir()
1721 if( _findnext(dirp->d_handle, &data)==-1 ) return NULL; in readdir()
1762 if( _findnext(dirp->d_handle, &data)==-1 ){ in readdir_r()
1789 if( dirp->d_handle!=NULL_INTPTR_T && dirp->d_handle!=BAD_INTPTR_T ){ in closedir()
1790 result = _findclose(dirp->d_handle); in closedir()