Searched refs:f_count (Results 1 - 19 of 19) sorted by relevance

/openbsd-current/sys/sys/
H A Dfile.h93 u_int f_count; /* [a] reference count */ member in struct:file
112 atomic_inc_int(&(fp)->f_count); \
116 (atomic_dec_int_nv(&fp->f_count) == 0 ? fdrop(fp, p) : 0)
/openbsd-current/sys/arch/hppa/stand/libsa/
H A Dlif.c45 int f_count; /* this file length */ member in struct:file
123 fp->f_count = load.count - sizeof(int);
128 fp->f_count, fp->f_off,
179 if (fp->f_seek >= fp->f_count ||
223 fp->f_seek = fp->f_count - offset;
241 sb->st_size = fp->f_count;
/openbsd-current/bin/dd/
H A Dargs.c54 static void f_count(char *);
74 { "count", f_count, C_COUNT, C_COUNT },
197 f_count(char *arg) function
/openbsd-current/sys/kern/
H A Dkern_descrip.c207 /* don't refcount when f_count == 0 to avoid race in fdrop() */
209 count = nfp->f_count;
214 if (atomic_cas_uint(&nfp->f_count, count, count + 1) == count)
238 atomic_inc_int(&fp->f_count);
656 if (fp->f_count >= FDUP_MAX_COUNT) {
1052 fp->f_count = 1;
1160 if (fp->f_count >= FDUP_MAX_COUNT ||
1232 KASSERTMSG(fp->f_count >= 2, "count (%u) < 2", fp->f_count);
1234 atomic_dec_int(&fp->f_count);
[all...]
H A Duipc_usrreq.c1156 * `f_count' reference which is now shared between control
1283 if (fp->f_count >= FDUP_MAX_COUNT) {
1387 * sockets have their `unp_msgcount' equal to the `f_count'.
1398 if (fp->f_count == unp->unp_msgcount) {
H A Dkern_sysctl.c1215 kf->f_count = fp->f_count;
/openbsd-current/gnu/usr.bin/binutils/opcodes/
H A Diq2000-ibld.c608 errmsg = insert_normal (cd, fields->f_count, 0, 0, 15, 7, 32, total_length, buffer);
791 length = extract_normal (cd, ex_info, insn_value, 0, 0, 15, 7, 32, total_length, pc, & fields->f_count);
964 value = fields->f_count;
1078 value = fields->f_count;
1201 fields->f_count = value;
1312 fields->f_count = value;
H A Diq2000-opc.h146 long f_count; member in struct:cgen_fields
H A Diq2000-dis.c127 print_normal (cd, info, fields->f_count, 0, pc, length);
H A Diq2000-asm.c384 errmsg = cgen_parse_unsigned_integer (cd, strp, IQ2000_OPERAND_COUNT, &fields->f_count);
/openbsd-current/gnu/usr.bin/binutils-2.17/opcodes/
H A Diq2000-ibld.c605 errmsg = insert_normal (cd, fields->f_count, 0, 0, 15, 7, 32, total_length, buffer);
786 length = extract_normal (cd, ex_info, insn_value, 0, 0, 15, 7, 32, total_length, pc, & fields->f_count);
956 value = fields->f_count;
1069 value = fields->f_count;
1189 fields->f_count = value;
1299 fields->f_count = value;
H A Diq2000-opc.h146 long f_count; member in struct:cgen_fields
H A Diq2000-dis.c128 print_normal (cd, info, fields->f_count, 0, pc, length);
H A Diq2000-asm.c385 errmsg = cgen_parse_unsigned_integer (cd, strp, IQ2000_OPERAND_COUNT, (unsigned long *) (& fields->f_count));
/openbsd-current/gnu/usr.bin/gcc/gcc/config/stormy16/
H A Dstormy16.c1190 tree f_base, f_count;
1198 f_count = TREE_CHAIN (f_base);
1201 count = build (COMPONENT_REF, TREE_TYPE (f_count), valist, f_count);
1225 tree f_base, f_count;
1235 f_count = TREE_CHAIN (f_base);
1238 count = build (COMPONENT_REF, TREE_TYPE (f_count), valist, f_count);
1187 tree f_base, f_count; local
1222 tree f_base, f_count; local
/openbsd-current/gnu/gcc/gcc/config/stormy16/
H A Dstormy16.c1364 tree f_base, f_count;
1372 f_count = TREE_CHAIN (f_base);
1375 count = build3 (COMPONENT_REF, TREE_TYPE (f_count), valist, f_count,
1400 tree f_base, f_count;
1408 f_count = TREE_CHAIN (f_base);
1411 count = build3 (COMPONENT_REF, TREE_TYPE (f_count), valist, f_count,
1361 tree f_base, f_count; local
1397 tree f_base, f_count; local
/openbsd-current/sys/dev/pci/drm/i915/gt/
H A Dshmem_utils.c44 atomic_long_inc(&file->f_count);
/openbsd-current/lib/libkvm/
H A Dkvm_file2.c244 if (file.f_count == 0)
488 kf->f_count = fp->f_count;
/openbsd-current/usr.sbin/pstat/
H A Dpstat.c1050 (void)printf("%6s %3ld", flagbuf, (long)kf->f_count);

Completed in 346 milliseconds