/src/sys/arch/amigappc/amigappc/ |
autoconf.c | 246 const struct bdevsw *bdp; local in function:findroot 276 bdp = &sd_bdevsw; 277 maj = bdevsw_lookup_major(bdp); 278 if ((*bdp->d_open)(MAKEDISKDEV(maj, unit, RAW_PART), 281 (*bdp->d_close)(MAKEDISKDEV(maj, unit, RAW_PART), 326 bdp = NULL; 329 bdp = &fd_bdevsw; 333 bdp = &sd_bdevsw; 337 bdp = &wd_bdevsw; 341 bdp = &cd_bdevsw [all...] |
/src/sys/compat/linux32/common/ |
linux32_dirent.c | 102 struct dirent *bdp; local in function:linux32_sys_getdents 179 bdp = (struct dirent *)inp; 180 reclen = bdp->d_reclen; 185 if (bdp->d_fileno == 0) { 193 linux32_reclen = LINUX_RECLEN(&idb, bdp->d_namlen); 205 idb.d_ino = bdp->d_fileno; 211 idb.d_reclen = (u_short)bdp->d_namlen; 221 size_t dirl = MIN(sizeof(idb.d_name) - 1, bdp->d_namlen + 1); 222 memcpy(idb.d_name, bdp->d_name, dirl); 223 idb.d_name[dirl + 1] = bdp->d_type [all...] |
/src/sys/rump/kern/lib/libsys_cygwin/ |
rump_cygwin_compat.c | 181 struct dirent *bdp; local in function:rump_cygwin_sys_getdents 216 bdp = (struct dirent *)inp; 217 reclen = bdp->d_reclen; 220 if (bdp->d_fileno == 0) { 225 cygwin_reclen = CYGWIN_RECLEN(&idb, bdp->d_namlen); 231 idb.d_ino = bdp->d_fileno; 232 idb.d_type = bdp->d_type; 233 strlcpy(idb.d_name, bdp->d_name, sizeof(idb.d_name));
|
/src/sys/arch/amiga/amiga/ |
autoconf.c | 406 const struct bdevsw *bdp; local in function:findroot 436 bdp = &sd_bdevsw; 437 maj = bdevsw_lookup_major(bdp); 438 if ((*bdp->d_open)(MAKEDISKDEV(maj, unit, RAW_PART), 441 (*bdp->d_close)(MAKEDISKDEV(maj, unit, RAW_PART), 486 bdp = NULL; 489 bdp = &fd_bdevsw; 493 bdp = &sd_bdevsw; 497 bdp = &wd_bdevsw; 501 bdp = &cd_bdevsw [all...] |
/src/sys/compat/common/ |
vfs_syscalls_12.c | 119 struct dirent *bdp; local in function:compat_12_sys_getdirentries 191 bdp = (struct dirent *)inp; 192 reclen = bdp->d_reclen; 197 if (bdp->d_fileno == 0) { 206 if (bdp->d_namlen >= sizeof(idb.d_name)) 209 idb.d_namlen = bdp->d_namlen; 210 old_reclen = _DIRENT_RECLEN(&idb, bdp->d_namlen); 221 idb.d_fileno = (uint32_t)bdp->d_fileno; 223 idb.d_type = (uint8_t)bdp->d_type; 224 (void)memcpy(idb.d_name, bdp->d_name, idb.d_namlen) [all...] |
vfs_syscalls_43.c | 336 struct dirent *bdp; local in function:compat_43_sys_getdirentries 409 bdp = (struct dirent *)inp; 410 reclen = bdp->d_reclen; 415 if (bdp->d_fileno == 0) { 424 if (bdp->d_namlen >= sizeof(idb.d_name)) 427 idb.d_namlen = bdp->d_namlen; 428 old_reclen = _DIRENT_RECLEN(&idb, bdp->d_namlen); 439 idb.d_fileno = (uint32_t)bdp->d_fileno; 441 idb.d_fileno = (uint32_t)bdp->d_fileno; 442 (void)memcpy(idb.d_name, bdp->d_name, idb.d_namlen) [all...] |
vfs_syscalls_30.c | 208 struct dirent *bdp; local in function:compat_30_sys_getdents 268 bdp = (struct dirent *)inp; 269 reclen = bdp->d_reclen; 270 if (reclen & _DIRENT_ALIGN(bdp)) 282 if (bdp->d_namlen >= sizeof(idb.d_name)) 285 idb.d_namlen = bdp->d_namlen; 297 idb.d_fileno = (u_int32_t)bdp->d_fileno; 298 idb.d_type = bdp->d_type; 299 (void)memcpy(idb.d_name, bdp->d_name, idb.d_namlen);
|
/src/sys/arch/shark/ofw/ |
ofw.c | 430 get_fw_dhcp_data(struct bootdata *bdp) 435 memset((char *)bdp, 0, sizeof(*bdp)); 446 if (dhcplen > sizeof(bdp->dhcp_packet)) 448 OF_getprop(chosen, "bootp-response", &bdp->dhcp_packet, 449 sizeof(bdp->dhcp_packet)); 450 SANITY(bdp->dhcp_packet.op == BOOTREPLY, "bogus DHCP packet"); 455 bdp->ip_address = bdp->dhcp_packet.yiaddr; 456 ip = ip2dotted(bdp->ip_address) [all...] |
/src/sys/arch/atari/dev/ |
md_root.c | 151 const struct bdevsw *bdp; local in function:loaddisk 155 bdp = bdevsw_lookup(ld_dev); 156 if (bdp == NULL) 178 rs.strat = bdp->d_strategy; 183 if ((error = bdp->d_open(ld_dev, FREAD | FNONBLOCK, 0, lwp)) != 0) { 187 if (bdp->d_ioctl(ld_dev, DIOCGDINFO, (void *)&dl, FREAD, lwp) == 0) { 200 bdp->d_close(ld_dev, FREAD | FNONBLOCK, 0, lwp);
|
/src/sys/arch/vax/uba/ |
uba_ubi.c | 90 * a programmers point of view. Differencies are number of BDP's 164 dw730_purge(struct uba_softc sc, int bdp) 166 sc->uh_uba->uba_dpr[bdp] |= UBADPR_PURGE | UBADPR_NXM | UBADPR_UCE;
|
uba_cmi.c | 90 * a programmers point of view. Differencies are number of BDP's 163 dw750_purge(struct uba_softc sc, int bdp) 165 sc->uh_uba->uba_dpr[bdp] |= UBADPR_PURGE | UBADPR_NXM | UBADPR_UCE;
|
/src/sys/rump/kern/lib/libsys_sunos/ |
rump_sunos_compat.c | 259 struct dirent *bdp; local in function:rump_sunos_sys_getdents 317 bdp = (struct dirent *)inp; 318 reclen = bdp->d_reclen; 328 if (bdp->d_fileno == 0) { 336 sunos_reclen = SUNOS_RECLEN(&idb, bdp->d_namlen); 351 idb.d_fileno = bdp->d_fileno; 354 strlcpy(idb.d_name, bdp->d_name, sizeof(idb.d_name));
|
/src/sys/compat/linux/common/ |
linux_file64.c | 403 struct dirent *bdp; local in function:linux_sys_getdents64 473 bdp = (struct dirent *)inp; 474 reclen = bdp->d_reclen; 479 if (bdp->d_fileno == 0) { 487 linux_reclen = LINUX_RECLEN(&idb, bdp->d_namlen); 503 idb.d_ino = bdp->d_fileno; 504 idb.d_type = bdp->d_type; 507 memcpy(idb.d_name, bdp->d_name, MIN(sizeof(idb.d_name), 508 bdp->d_namlen + 1));
|
/src/sys/arch/alpha/alpha/ |
disksubr.c | 60 struct dkbad *bdp; local in function:readdisklabel 103 if (clp && (bdp = &clp->bad) != NULL && (lp->d_flags & D_BADSECT)) { 129 *bdp = *db;
|
/src/sys/arch/evbmips/evbmips/ |
disksubr.c | 55 struct dkbad *bdp; local in function:readdisklabel 108 if (clp && (bdp = &clp->bad) != NULL && (lp->d_flags & D_BADSECT)) { 134 *bdp = *db;
|
/src/sys/arch/evbppc/evbppc/ |
disksubr.c | 65 struct dkbad *bdp; local in function:readdisklabel 120 bdp = &osdep->bad; 144 *bdp = *db;
|
/src/sys/dev/bi/ |
uba_bi.c | 75 #define BUACSR_BADBDP 0x01000000 /* bad BDP select */ 86 #define BUADPR_PURGE 0x00000001 /* purge bdp */ 104 int bn_mdiag[5]; /* microdiag regs for BDP */ 190 bua_purge(struct uba_softc *sc, int bdp) 192 BUA(sc->uh_uba)->bn_dpcsr[bdp] |= BUADPR_PURGE;
|
if_ni.c | 501 struct ni_bbd *bdp; local in function:nistart 534 bdp = &bbd[(data->bufs[0]._index & 0x7fff)]; 538 bdp->nb_status = (mtod(m0, uint32_t) & NIBD_OFFSET) | 540 bdp->nb_pte = (uint32_t)kvtopte(mtod(m0, void *)); 541 bdp->nb_len = m0->m_len; 543 data->bufs[i]._len = bdp->nb_len; 545 mlen += bdp->nb_len; 546 bdp++;
|
/src/sys/arch/evbmips/sbmips/ |
disksubr.c | 100 struct dkbad *bdp; local in function:readdisklabel 225 bdp = &osdep->bad; 249 *bdp = *db;
|
/src/sys/arch/hpc/hpc/ |
disksubr.c | 130 struct dkbad *bdp; local in function:readdisklabel 275 bdp = &osdep->bad; 299 *bdp = *db;
|
/src/sys/arch/playstation2/playstation2/ |
disksubr.c | 100 struct dkbad *bdp; local in function:readdisklabel 223 bdp = &osdep->bad; 247 *bdp = *db;
|
/src/sys/arch/sbmips/sbmips/ |
disksubr.c | 100 struct dkbad *bdp; local in function:readdisklabel 225 bdp = &osdep->bad; 249 *bdp = *db;
|
/src/sys/arch/arm/ti/ |
if_cpsw.c | 238 struct cpsw_cpdma_bd * const bdp) 241 uint32_t * const dp = bdp->word; 242 const bus_size_t c = __arraycount(bdp->word); 245 CPSWHIST_CALLARGS(sc, i, bdp, 0); 254 struct cpsw_cpdma_bd * const bdp) 257 uint32_t * const dp = bdp->word; 258 const bus_size_t c = __arraycount(bdp->word); 261 CPSWHIST_CALLARGS(sc, i, bdp, 0); 270 struct cpsw_cpdma_bd * const bdp) 273 uint32_t * const dp = bdp->word [all...] |
/src/sys/arch/arm/arm/ |
disksubr.c | 225 struct dkbad *bdp = &osdep->bad; local in function:readdisklabel 251 *bdp = *db;
|
/src/sys/compat/sunos/ |
sunos_misc.c | 363 struct dirent *bdp; local in function:sunos_sys_getdents 421 bdp = (struct dirent *)inp; 422 reclen = bdp->d_reclen; 432 if (bdp->d_fileno == 0) { 441 sunos_reclen = SUNOS_RECLEN(&idb, bdp->d_namlen); 456 idb.d_fileno = bdp->d_fileno; 459 idb.d_namlen = bdp->d_namlen; 460 strlcpy(idb.d_name, bdp->d_name, sizeof(idb.d_name));
|