HomeSort by: relevance | last modified time | path
    Searched refs:ubuf (Results 1 - 25 of 54) sorted by relevancy

1 2 3

  /src/sbin/fsck_lfs/
bufcache.h 74 struct ubuf { struct
75 LIST_ENTRY(ubuf) b_hash; /* Hash chain. */
76 LIST_ENTRY(ubuf) b_vnbufs; /* Buffer's associated vnode. */
77 TAILQ_ENTRY(ubuf) b_freelist; /* Free list position if not active. */
107 LIST_HEAD(bufhash_struct, ubuf);
116 void buf_destroy(struct ubuf *);
117 void bremfree(struct ubuf *);
118 struct ubuf *incore(struct uvnode *, daddr_t);
119 struct ubuf *getblk(struct uvnode *, daddr_t, int);
120 void bwrite(struct ubuf *);
    [all...]
segwrite.h 45 int lfs_gatherblock(struct segment *, struct ubuf *);
47 int (*match) (struct lfs *, struct ubuf *));
54 int lfs_match_data(struct lfs *, struct ubuf *);
55 int lfs_match_indir(struct lfs *, struct ubuf *);
56 int lfs_match_dindir(struct lfs *, struct ubuf *);
57 int lfs_match_tindir(struct lfs *, struct ubuf *);
vnode.h 36 LIST_HEAD(ubuflists, ubuf);
42 int (*v_strategy_op) (struct ubuf *);
43 int (*v_bwrite_op) (struct ubuf *);
69 int raw_vop_strategy(struct ubuf *);
70 int raw_vop_bwrite(struct ubuf *);
lfs_user.h 80 int lfs_vop_strategy(struct ubuf *);
81 int lfs_vop_bwrite(struct ubuf *);
89 union lfs_dinode *lfs_ifind(struct lfs *, ino_t, struct ubuf *);
94 int lfs_balloc(struct uvnode *, off_t, int, struct ubuf **);
bufcache.c 58 TAILQ_HEAD(bqueues, ubuf) bufqueues[BQUEUES];
105 struct ubuf *bp, *nbp;
156 buf_destroy(struct ubuf * bp)
168 bremfree(struct ubuf * bp)
193 struct ubuf *
196 struct ubuf *bp;
217 struct ubuf *
220 struct ubuf *bp;
293 bwrite(struct ubuf * bp)
304 brelse(struct ubuf * bp, int set
    [all...]
vnode.c 74 raw_vop_strategy(struct ubuf * bp)
86 raw_vop_bwrite(struct ubuf * bp)
128 struct ubuf *bp;
segwrite.c 73 #define buf ubuf
104 struct ubuf **, union lfs_blocks *, int, int);
111 lfs_match_data(struct lfs * fs, struct ubuf * bp)
117 lfs_match_indir(struct lfs * fs, struct ubuf * bp)
126 lfs_match_dindir(struct lfs * fs, struct ubuf * bp)
135 lfs_match_tindir(struct lfs * fs, struct ubuf * bp)
197 struct ubuf *bp;
244 struct ubuf *bp, *ibp;
369 lfs_gatherblock(struct segment * sp, struct ubuf * bp)
417 lfs_gather(struct lfs * fs, struct segment * sp, struct uvnode * vp, int (*match) (struct lfs *, struct ubuf *))
    [all...]
pass4.c 37 #define buf ubuf
151 struct ubuf *bp;
lfs.c 101 lfs_fragextend(struct uvnode *, int, int, daddr_t, struct ubuf **);
111 lfs_vop_strategy(struct ubuf * bp)
134 lfs_vop_bwrite(struct ubuf * bp)
158 struct ubuf *bp;
307 lfs_ifind(struct lfs *fs, ino_t ino, struct ubuf *bp)
337 struct ubuf *bp;
409 struct ubuf *bp;
476 struct ubuf *bp;
615 struct ubuf *bp;
792 struct ubuf *bp
    [all...]
  /src/external/bsd/file/dist/src/
ascmagic.c 79 file_unichar_t *ubuf = NULL; local
98 if (file_encoding(ms, &bb, &ubuf, &ulen, &code, &code_mime,
103 ubuf, ulen, code, type, text);
105 free(ubuf);
112 file_unichar_t *ubuf, size_t ulen, const char *code, const char *type,
148 /* Convert ubuf to UTF-8 and try text soft magic */
156 if ((utf8_end = encode_utf8(utf8_buf, mlen, ubuf, ulen))
183 if (ubuf[i] == '\n') {
192 seen_cr = (ubuf[i] == '\r');
196 if (ubuf[i] == 0x85) { /* X3.64/ECMA-43 "next line" character *
    [all...]
encoding.c 78 * ubuf, and the number of characters converted in ulen.
82 file_unichar_t **ubuf, size_t *ulen, const char **code,
92 if (ubuf == NULL)
93 ubuf = &udefbuf;
105 mlen = (nbytes + 1) * sizeof((*ubuf)[0]);
106 *ubuf = CAST(file_unichar_t *, calloc(CAST(size_t, 1), mlen));
107 if (*ubuf == NULL) {
111 if (looks_ascii(buf, nbytes, *ubuf, ulen)) {
112 if (looks_utf7(buf, nbytes, *ubuf, ulen) > 0) {
121 } else if (looks_utf8_with_BOM(buf, nbytes, *ubuf, ulen) > 0)
    [all...]
compress.c 963 filter_error(unsigned char *ubuf, ssize_t n)
968 ubuf[n] = '\0';
969 buf = RCAST(char *, ubuf);
982 memmove(ubuf, p, CAST(size_t, n + 1));
984 DPRINTF("Filter error after[[[%s]]]\n", (char *)ubuf);
985 if (islower(*ubuf))
986 *ubuf = toupper(*ubuf);
  /src/libexec/lfs_cleanerd/
fdfs.h 18 int fd_vop_strategy(struct ubuf *);
19 int fd_vop_bwrite(struct ubuf *);
cleaner.h 68 void lfs_ientry(IFILE **, struct clfs *, ino_t, struct ubuf **);
fdfs.c 128 struct ubuf *bp;
239 fd_vop_strategy(struct ubuf * bp)
274 fd_vop_bwrite(struct ubuf * bp)
  /src/libexec/ftpd/
logutmp.c 93 UTMP ubuf; local
114 if (read(fd, &ubuf, sizeof(UTMP)) == sizeof(UTMP)) {
115 if (!ubuf.ut_name[0]) {
  /src/sys/net/npf/
npf_tableset.c 749 void *ubuf, size_t len, size_t *off)
751 void *ubufp = (uint8_t *)ubuf + *off;
765 table_generic_list(npf_table_t *t, void *ubuf, size_t len)
774 ent->te_alen, ent->te_preflen, ubuf, len, &off);
783 table_cdb_list(npf_table_t *t, void *ubuf, size_t len)
793 error = table_ent_copyout(data, dlen, 0, ubuf, len, &off);
804 npf_table_list(npf_table_t *t, void *ubuf, size_t len)
811 error = table_generic_list(t, ubuf, len);
814 error = table_generic_list(t, ubuf, len);
817 error = table_cdb_list(t, ubuf, len)
    [all...]
  /src/regress/sys/kern/getcwd/
getcwd.c 435 char ubuf[MAXPATHLEN]; local
448 cp = old_getcwd (ubuf, MAXPATHLEN);
449 if (strcmp(buf, ubuf) != 0) {
451 buf, ubuf);
456 strlen(ubuf)+1, 0);
  /src/external/gpl2/groff/dist/src/preproc/refer/
token.cpp 237 char ubuf[2]; local
238 ubuf[0] = uc_code;
239 ubuf[1] = 0;
240 store_letter(strsave(lbuf), strsave(ubuf), sort_key);
  /src/sys/external/bsd/drm2/dist/drm/
drm_debugfs.c 330 static ssize_t connector_write(struct file *file, const char __user *ubuf,
340 if (copy_from_user(buf, ubuf, len))
377 static ssize_t edid_write(struct file *file, const char __user *ubuf,
386 buf = memdup_user(ubuf, len);
  /src/sys/ufs/lfs/
lfs_itimes.c 44 #define buf ubuf
  /src/sys/external/bsd/drm2/dist/drm/nouveau/
nouveau_debugfs.c 144 nouveau_debugfs_pstate_set(struct file *file, const char __user *ubuf,
161 if (copy_from_user(buf, ubuf, len))
  /src/sys/ufs/ext2fs/
ext2fs_hash.c 97 const unsigned char *ubuf = (const unsigned char *)src; local
111 buf_byte = (u_int)ubuf[i];
  /src/usr.sbin/syslogd/
tls.c 408 unsigned char *ubuf; local
415 len = ASN1_STRING_to_UTF8(&ubuf,
419 strlcpy(*returnstring, (const char*)ubuf, len+1);
420 OPENSSL_free(ubuf);
423 OPENSSL_free(ubuf);
441 unsigned char *ubuf; local
495 len = ASN1_STRING_to_UTF8(&ubuf,
498 DPRINTF(D_TLS, "found CN: %.*s\n", len, ubuf);
501 (const char*)ubuf, len))
503 (const char*)ubuf, len)))
    [all...]
  /src/external/bsd/less/dist/
output.c 415 static char ubuf[MAX_UTF_CHAR_LEN];
423 ubuf[ubuf_index++] = c;
426 c = get_wchar(ubuf) & 0xFF;

Completed in 51 milliseconds

1 2 3