Home
last modified time | relevance | path

Searched refs:nbp (Results 1 – 25 of 25) sorted by relevance

/dragonfly/sys/netproto/smb/
H A Dsmb_trantcp.c153 nbp->nbp_tso = so; in nb_connect_in()
159 error = soreserve(so, nbp->nbp_sndbuf, nbp->nbp_rcvbuf, in nb_connect_in()
226 error = socket_wait(nbp->nbp_tso, &nbp->nbp_timo, &res); in nbssn_rq_request()
384 struct nbpcb *nbp; in smb_nbst_create() local
386 nbp = kmalloc(sizeof *nbp, M_NBDATA, M_WAITOK | M_ZERO); in smb_nbst_create()
389 nbp->nbp_vc = vcp; in smb_nbst_create()
401 if (nbp == NULL) in smb_nbst_done()
482 timespecadd(&nbp->nbp_timo, &ts2, &nbp->nbp_timo); in smb_nbst_connect()
483 timespecadd(&nbp->nbp_timo, &ts2, &nbp->nbp_timo); /* * 4 */ in smb_nbst_connect()
496 if (nbp == NULL || nbp->nbp_tso == NULL) in smb_nbst_disconnect()
[all …]
/dragonfly/sys/vfs/msdosfs/
H A Dmsdosfs_conv.c1017 nbp->nb_len = 0; in mbnambuf_init()
1018 nbp->nb_last_id = -1; in mbnambuf_init()
1019 nbp->nb_buf[sizeof(nbp->nb_buf) - 1] = '\0'; in mbnambuf_init()
1037 if (nbp->nb_len != 0 && id != nbp->nb_last_id - 1) { in mbnambuf_write()
1039 id, nbp->nb_last_id); in mbnambuf_write()
1055 sizeof(nbp->nb_buf)) in mbnambuf_write()
1063 nbp->nb_len = newlen; in mbnambuf_write()
1064 nbp->nb_last_id = id; in mbnambuf_write()
1080 mbnambuf_init(nbp); in mbnambuf_flush()
1083 memcpy(dp->d_name, &nbp->nb_buf[0], nbp->nb_len); in mbnambuf_flush()
[all …]
H A Ddirentry.h143 char *mbnambuf_flush(struct mbnambuf *nbp, struct dirent *dp);
144 void mbnambuf_init(struct mbnambuf *nbp);
145 int mbnambuf_write(struct mbnambuf *nbp, char *name, int id);
152 int winChkName(struct mbnambuf *nbp, const u_char *un, size_t unlen,
154 int win2unixfn(struct mbnambuf *nbp, struct winentry *wep, int chksum,
/dragonfly/usr.sbin/makefs/ffs/
H A Dffs_balloc.c87 struct m_buf *bp, *nbp; in ffs_balloc_ufs1() local
278 clrbuf(nbp); in ffs_balloc_ufs1()
309 clrbuf(nbp); in ffs_balloc_ufs1()
310 *bpp = nbp; in ffs_balloc_ufs1()
325 brelse(nbp); in ffs_balloc_ufs1()
328 *bpp = nbp; in ffs_balloc_ufs1()
530 clrbuf(nbp); in ffs_balloc_ufs2()
561 clrbuf(nbp); in ffs_balloc_ufs2()
562 *bpp = nbp; in ffs_balloc_ufs2()
577 brelse(nbp); in ffs_balloc_ufs2()
[all …]
/dragonfly/sys/vfs/ext2fs/
H A Dext2_balloc.c77 struct buf *bp, *nbp; in ext2_balloc() local
222 nbp->b_bio2.bio_offset = fsbtodoff(fs, nb); in ext2_balloc()
223 vfs_bio_clrbuf(nbp); in ext2_balloc()
228 if ((error = bwrite(nbp)) != 0) { in ext2_balloc()
264 nbp->b_bio2.bio_offset = fsbtodoff(fs, nb); in ext2_balloc()
266 vfs_bio_clrbuf(nbp); in ext2_balloc()
279 *bpp = nbp; in ext2_balloc()
289 MAXBSIZE, (size_t)seqcount, &nbp); in ext2_balloc()
292 (int)fs->e2fs_bsize, &nbp); in ext2_balloc()
295 brelse(nbp); in ext2_balloc()
[all …]
/dragonfly/sys/vfs/devfs/
H A Ddevfs_vnops.c1767 struct buf *nbp; in devfs_spec_strategy() local
1819 initbufbio(nbp); in devfs_spec_strategy()
1820 buf_dep_init(nbp); in devfs_spec_strategy()
1822 BUF_KERNPROC(nbp); in devfs_spec_strategy()
1823 nbp->b_vp = vp; in devfs_spec_strategy()
1888 (nbp->b_bcount - nbp->b_resid); in devfs_spec_strategy_done()
1901 (nbp->b_bcount - nbp->b_resid); in devfs_spec_strategy_done()
1908 } else if (nbp->b_bcount != nbp->b_bufsize) { in devfs_spec_strategy_done()
1950 dev_dstrategy(nbp->b_vp->v_rdev, &nbp->b_bio1); in devfs_spec_strategy_done()
1959 BUF_UNLOCK(nbp); in devfs_spec_strategy_done()
[all …]
/dragonfly/games/hunt/huntd/
H A Dshots.c844 BULLET *nbp; in chkslime() local
873 if (nbp == NULL) { in chkslime()
877 *nbp = *bp; in chkslime()
880 move_slime(nbp, nbp->b_type == SLIME ? conf_slimespeed : in chkslime()
894 BULLET *nbp; in move_slime() local
1016 move_slime(nbp, speed - 1, next); in move_slime()
1023 move_slime(nbp, speed - 1, next); in move_slime()
1183 BULLET *nbp; in find_under() local
1185 for (nbp = blist; nbp != NULL; nbp = nbp->b_next) in find_under()
1186 if (bp->b_y == nbp->b_y && bp->b_x == nbp->b_x) { in find_under()
[all …]
/dragonfly/sys/vfs/hpfs/
H A Dhpfs_alsubr.c212 struct buf *nbp; in hpfs_splitalsec() local
221 nasp = (alsec_t *)nbp->b_data; in hpfs_splitalsec()
242 *nbpp = nbp; in hpfs_splitalsec()
302 struct buf *nbp; in hpfs_alblk2alsec() local
309 nasp = (alsec_t *)nbp->b_data; in hpfs_alblk2alsec()
319 *nbpp = nbp; in hpfs_alblk2alsec()
469 struct buf *nbp; in hpfs_addextent() local
521 bdwrite(nbp); in hpfs_addextent()
661 struct buf *nbp; in hpfs_addextentr() local
695 brelse(nbp); in hpfs_addextentr()
[all …]
/dragonfly/sys/dev/drm/amd/display/dc/dce/
H A Ddce_mem_input.c265 struct dce_watermarks nbp, in dce_mi_program_display_marks() argument
282 program_nbp_watermark(dce_mi, 2, nbp.a_mark); /* set a */ in dce_mi_program_display_marks()
283 program_nbp_watermark(dce_mi, 1, nbp.d_mark); /* set d */ in dce_mi_program_display_marks()
290 struct dce_watermarks nbp, in dce112_mi_program_display_marks() argument
311 program_nbp_watermark(dce_mi, 0, nbp.a_mark); /* set a */ in dce112_mi_program_display_marks()
312 program_nbp_watermark(dce_mi, 1, nbp.b_mark); /* set b */ in dce112_mi_program_display_marks()
313 program_nbp_watermark(dce_mi, 2, nbp.c_mark); /* set c */ in dce112_mi_program_display_marks()
314 program_nbp_watermark(dce_mi, 3, nbp.d_mark); /* set d */ in dce112_mi_program_display_marks()
323 struct dce_watermarks nbp, in dce120_mi_program_display_marks() argument
344 program_nbp_watermark(dce_mi, 0, nbp.a_mark); /* set a */ in dce120_mi_program_display_marks()
[all …]
/dragonfly/usr.sbin/ppp/
H A Dmbuf.c169 struct mbuf *nbp; in m_free() local
175 nbp = bp->m_next; in m_free()
182 bp = nbp; in m_free()
386 struct mbuf *nbp; in m_pullup() local
389 nbp = m_get(m_length(bp), bp->m_type); in m_pullup()
391 for (cp = MBUF_CTOP(nbp); bp; bp = m_free(bp)) { in m_pullup()
395 bp = nbp; in m_pullup()
H A Dasync.c189 struct mbuf *nbp, **last; in async_LayerPull() local
199 last = &nbp; in async_LayerPull()
212 return nbp; in async_LayerPull()
/dragonfly/sys/vfs/ufs/
H A Dffs_balloc.c75 struct buf *bp, *nbp, *dbp; in ffs_balloc() local
315 nbp = getblk(vp, lblktodoff(fs, indirs[i].in_lbn), in ffs_balloc()
317 nbp->b_bio2.bio_offset = fsbtodoff(fs, nb); in ffs_balloc()
318 vfs_bio_clrbuf(nbp); in ffs_balloc()
320 softdep_setup_allocindir_meta(nbp, ip, bp, in ffs_balloc()
322 bdwrite(nbp); in ffs_balloc()
328 if ((error = bwrite(nbp)) != 0) { in ffs_balloc()
H A Dffs_softdep_stub.c98 ufs_daddr_t oldblkno, struct buf *nbp) in softdep_setup_allocindir_page() argument
104 softdep_setup_allocindir_meta(struct buf *nbp, struct inode *ip, struct buf *bp, in softdep_setup_allocindir_meta() argument
H A Dffs_softdep.c1538 struct buf *nbp) in softdep_setup_allocindir_page() argument
4280 struct buf *nbp; in softdep_sync_metadata_bp() local
4305 nbp = adp->ad_buf; in softdep_sync_metadata_bp()
4310 bawrite(nbp); in softdep_sync_metadata_bp()
4323 nbp = aip->ai_buf; in softdep_sync_metadata_bp()
4328 bawrite(nbp); in softdep_sync_metadata_bp()
4343 nbp = aip->ai_buf; in softdep_sync_metadata_bp()
4399 nbp = WK_MKDIR(wk)->md_buf; in softdep_sync_metadata_bp()
4404 bawrite(nbp); in softdep_sync_metadata_bp()
4426 if (nbp == bp) in softdep_sync_metadata_bp()
[all …]
/dragonfly/sys/platform/vkernel64/x86_64/
H A Dcpu_regs.c802 int nbp; /* number of breakpoints that triggered */
816 nbp = 0;
834 addr[nbp++] = (caddr_t)rdr0();
837 addr[nbp++] = (caddr_t)rdr1();
840 addr[nbp++] = (caddr_t)rdr2();
843 addr[nbp++] = (caddr_t)rdr3();
846 for (i=0; i<nbp; i++) {
852 return nbp;
/dragonfly/sys/dev/drm/amd/display/dc/inc/hw/
H A Dmem_input.h105 struct dce_watermarks nbp,
113 struct dce_watermarks nbp,
/dragonfly/sys/dev/drm/amd/display/dc/dce110/
H A Ddce110_mem_input_v.c931 struct dce_watermarks nbp, in dce_mem_input_v_program_display_marks() argument
944 nbp); in dce_mem_input_v_program_display_marks()
955 struct dce_watermarks nbp, in dce_mem_input_program_chroma_display_marks() argument
967 nbp); in dce_mem_input_program_chroma_display_marks()
/dragonfly/sbin/fsck/
H A Dutilities.c254 struct bufarea *bp, *nbp; in ckfini() local
270 for (bp = bufhead.b_prev; bp && bp != &bufhead; bp = nbp) { in ckfini()
273 nbp = bp->b_prev; in ckfini()
/dragonfly/contrib/gcc-4.7/gcc/
H A Dtree-loop-distribution.c1094 int i, nbp; in ldist_gen() local
1132 nbp = VEC_length (bitmap, partitions); in ldist_gen()
1134 if (nbp <= 1 in ldist_gen()
1142 if (!generate_code_for_partition (loop, partition, i < nbp - 1)) in ldist_gen()
1160 return nbp; in ldist_gen()
/dragonfly/contrib/gcc-8.0/gcc/
H A Dtree-loop-distribution.c2724 int i, nbp; in distribute_loop() local
2794 nbp = 0; in distribute_loop()
2878 nbp = partitions.length (); in distribute_loop()
2879 if (nbp == 0 in distribute_loop()
2880 || (nbp == 1 && !partition_builtin_p (partitions[0])) in distribute_loop()
2881 || (nbp > 1 && partition_contains_all_rw (rdg, partitions))) in distribute_loop()
2883 nbp = 0; in distribute_loop()
2901 *destroy_p |= generate_code_for_partition (loop, partition, i < nbp - 1); in distribute_loop()
2919 return nbp - *nb_calls; in distribute_loop()
/dragonfly/sys/vm/
H A Dvm_pager.h112 void flushchainbuf(struct buf *nbp);
/dragonfly/sys/kern/
H A Dvfs_bio.c1889 struct buf *nbp; in getnewbuf() local
1934 nbp = TAILQ_FIRST(&pcpu->bufqueues[BQUEUE_EMPTY]); in getnewbuf()
1935 if (nbp == NULL || *flushingp) { in getnewbuf()
1937 nbp = TAILQ_FIRST(&pcpu->bufqueues[BQUEUE_CLEAN]); in getnewbuf()
1946 while ((bp = nbp) != NULL) { in getnewbuf()
1949 nbp = TAILQ_NEXT(bp, b_freelist); in getnewbuf()
1956 (bp->b_flags & B_AGE) == 0 && nbp) { in getnewbuf()
1969 if (nbp == NULL) { in getnewbuf()
1973 if ((nbp = TAILQ_FIRST(&pcpu->bufqueues[BQUEUE_CLEAN]))) in getnewbuf()
/dragonfly/sys/platform/pc64/x86_64/
H A Dmachdep.c3228 int nbp; /* number of breakpoints that triggered */ in user_dbreg_trap() local
3242 nbp = 0; in user_dbreg_trap()
3260 addr[nbp++] = (caddr_t)rdr0(); in user_dbreg_trap()
3263 addr[nbp++] = (caddr_t)rdr1(); in user_dbreg_trap()
3266 addr[nbp++] = (caddr_t)rdr2(); in user_dbreg_trap()
3269 addr[nbp++] = (caddr_t)rdr3(); in user_dbreg_trap()
3272 for (i = 0; i < nbp; i++) { in user_dbreg_trap()
3277 return nbp; in user_dbreg_trap()
/dragonfly/etc/
H A Dservices27 nbp 2/ddp #Name Binding Protocol
408 at-nbp 202/tcp #AppleTalk Name Binding
409 at-nbp 202/udp #AppleTalk Name Binding
/dragonfly/contrib/tcpdump/
H A DCHANGES915 Handle truncated nbp (appletalk) packets.