Searched refs:fn (Results 1 - 25 of 40) sorted by last modified time

12

/haiku/headers/os/drivers/pcmcia/
H A Dk_compat.h164 #define PCI_DEVFN(dev,fn) (((dev)<<3)|((fn)&7))
/haiku/src/libs/compat/freebsd_network/
H A Dif.c1388 if_setgetcounterfn(if_t ifp, if_get_counter_t fn) argument
1391 ifp->if_get_counter = fn;
/haiku/src/libs/compat/freebsd_iflib/
H A Diflib.c6390 gtask_fn_t *fn; local
6405 fn = _task_fn_tx;
6407 GROUPTASK_INIT(gtask, 0, fn, q);
6415 fn = _task_fn_rx;
6417 NET_GROUPTASK_INIT(gtask, 0, fn, q);
6424 fn = _task_fn_rx;
6426 NET_GROUPTASK_INIT(gtask, 0, fn, q);
6434 fn = _task_fn_admin;
6475 gtask_fn_t *fn; local
6484 fn
6618 iflib_config_gtask_init(void *ctx, struct grouptask *gtask, gtask_fn_t *fn, const char *name) argument
[all...]
H A Dsubr_gtaskqueue.c1066 taskqgroup_config_gtask_init(void *ctx, struct grouptask *gtask, gtask_fn_t *fn, argument
1070 GROUPTASK_INIT(gtask, 0, fn, ctx);
/haiku/src/apps/cortex/NodeManager/
H A DNodeManager.cpp942 _changeNodeGroupFn fn(newGroup);
943 fn(outsideNode);
951 fn,
/haiku/src/add-ons/kernel/file_systems/ntfs/libntfs/
H A Dattrib.c3439 const FILE_NAME_ATTR *fn; local
3507 fn = (const FILE_NAME_ATTR*)((const u8*)a
3512 || !fn->file_name_length
3513 || ((fn->file_name_length * sizeof(ntfschar)
H A Dinode.c805 FILE_NAME_ATTR *fn; local
831 fn = (FILE_NAME_ATTR *)((u8 *)ctx->attr +
833 if (MREF_LE(fn->parent_directory) == ni->mft_no) {
847 le64_to_cpu(fn->parent_directory));
852 (long long)MREF_LE(fn->parent_directory));
866 if (ntfs_index_lookup(fn, sizeof(FILE_NAME_ATTR), ictx)) {
896 fn->allocated_size = fnx->allocated_size;
906 fnx->creation_time = fn->creation_time;
907 fnx->last_data_change_time = fn->last_data_change_time;
908 fnx->last_mft_change_time = fn
1532 FILE_NAME_ATTR *fn; local
[all...]
H A Dindex.c274 FILE_NAME_ATTR *fn; local
276 fn = (FILE_NAME_ATTR *)&ie->key;
277 return ntfs_attr_name_get(fn->file_name, fn->file_name_length);
1561 char *fn;
1562 fn = ntfs_ie_filename_get(ie);
1563 ntfs_log_trace("file: '%s'\n", fn);
1564 ntfs_attr_name_free(&fn);
1618 * @fn: FILE_NAME attribute to add
1619 * @mref: reference of the inode which @fn describe
1623 ntfs_index_add_filename(ntfs_inode *ni, FILE_NAME_ATTR *fn, MFT_REF mref) argument
[all...]
H A Dindex.h152 extern int ntfs_index_add_filename(ntfs_inode *ni, FILE_NAME_ATTR *fn,
H A Ddir.c963 FILE_NAME_ATTR *fn = &ie->key.file_name; local
997 || !(fn->file_attributes & FILE_ATTR_HIDDEN)))
1001 res = filldir(dirent, fn->file_name,
1002 fn->file_name_length,
1003 fn->file_name_type, *pos,
1006 loname = (ntfschar*)ntfs_malloc(2*fn->file_name_length);
1008 memcpy(loname, fn->file_name,
1009 2*fn->file_name_length);
1010 ntfs_name_locase(loname, fn->file_name_length,
1014 fn
1051 FILE_NAME_ATTR *fn; local
1479 FILE_NAME_ATTR *fn = NULL; local
1871 ntfs_check_unlinkable_dir(ntfs_inode *ni, FILE_NAME_ATTR *fn) argument
1912 FILE_NAME_ATTR *fn = NULL; local
2206 FILE_NAME_ATTR *fn = NULL; local
2305 FILE_NAME_ATTR *fn; local
2345 FILE_NAME_ATTR *fn; local
2397 FILE_NAME_ATTR *fn; local
2511 FILE_NAME_ATTR *fn = NULL; local
2872 FILE_NAME_ATTR *fn; local
[all...]
/haiku/headers/private/shared/
H A DScopeExit.h21 explicit ScopeExit(F&& fn) : fFn(fn) argument
/haiku/src/libs/compat/openbsd_network/compat/sys/
H A Dtimeout.h18 timeout_set(struct timeout *to, void (*fn)(void *), void *arg)
21 callout_reset(&to->c, -1, fn, arg);
H A Dtask.h21 task_set(struct task *t, void (*fn)(void *), void *arg)
23 TASK_INIT(t, 0, fn, arg);
/haiku/src/libs/compat/freebsd_iflib/compat/sys/
H A Dgtaskqueue.h85 gtask_fn_t *fn, const char *name);
/haiku/src/system/libroot/posix/musl/misc/
H A Dnftw.c23 static int do_nftw(char *path, int (*fn)(const char *, const struct stat *, int, struct FTW *), int fd_limit, int flags, struct history *h)
75 if (!(flags & FTW_DEPTH) && (r=fn(path, &st, type, &lev)))
103 if ((r=do_nftw(path, fn, fd_limit-1, flags, &new))) {
117 if ((flags & FTW_DEPTH) && (r=fn(path, &st, type, &lev)))
123 int nftw(const char *path, int (*fn)(const char *, const struct stat *, int, struct FTW *), int fd_limit, int flags)
139 r = do_nftw(pathbuf, fn, fd_limit, flags, NULL);
H A Dftw.c3 int ftw(const char *path, int (*fn)(const char *, const struct stat *, int), int fd_limit)
8 return nftw(path, (int (*)())fn, fd_limit, FTW_PHYS);
/haiku/src/add-ons/kernel/file_systems/ntfs/utils/
H A Dutils.h111 #define ntfs_log_redirect(fn,fi,li,le,d,fmt, args...) \
112 do { char _b[MAX_FMT]; ntfs_log_redirect(fn,fi,li,le,d, \
H A Dmkntfs.c1713 FILE_NAME_ATTR *fn; local
1735 fn = ntfs_malloc(fn_size);
1736 if (!fn) {
1740 fn->parent_directory = parent_dir;
1742 fn->creation_time = si->creation_time;
1743 fn->last_data_change_time = si->last_data_change_time;
1744 fn->last_mft_change_time = si->last_mft_change_time;
1745 fn->last_access_time = si->last_access_time;
1748 fn->allocated_size = cpu_to_sle64(allocated_size);
1749 fn
2862 FILE_NAME_ATTR *fn; local
2978 FILE_NAME_ATTR *fn; local
[all...]
/haiku/src/libs/compat/freebsd_iflib/compat/net/
H A Diflib.h467 gtask_fn_t *fn, const char *name);
/haiku/src/system/libroot/posix/musl/math/
H A Dscalb.c13 * scalb(x, fn) is provide for
21 double scalb(double x, double fn) argument
23 if (isnan(x) || isnan(fn))
24 return x*fn;
25 if (!isfinite(fn)) {
26 if (fn > 0.0)
27 return x*fn;
29 return x/(-fn);
31 if (rint(fn) != fn) retur
[all...]
H A Dscalbf.c19 float scalbf(float x, float fn) argument
21 if (isnan(x) || isnan(fn)) return x*fn;
22 if (!isfinite(fn)) {
23 if (fn > 0.0f)
24 return x*fn;
26 return x/(-fn);
28 if (rintf(fn) != fn) return (fn
[all...]
H A D__rem_pio2f.c46 double_t fn; local
53 /* Use a specialized rint() to get fn. Assume round-to-nearest. */
54 fn = (double_t)x*invpio2 + toint - toint;
55 n = (int32_t)fn;
56 *y = x - fn*pio2_1 - fn*pio2_1t;
H A D__rem_pio2l.c72 long double z,w,t,r,fn; local
80 fn = x*invpio2 + toint - toint;
81 n = QUOBITS(fn);
82 r = x-fn*pio2_1;
83 w = fn*pio2_1t; /* 1st round good to 102/180 bits (ld80/ld128) */
89 w = fn*pio2_2;
91 w = fn*pio2_2t-((t-r)-w);
97 w = fn*pio2_3;
99 w = fn*pio2_3t-((t-r)-w);
H A D__rem_pio2.c51 double_t z,w,t,r,fn; local
121 fn = (double_t)x*invpio2 + toint - toint;
122 n = (int32_t)fn;
123 r = x - fn*pio2_1;
124 w = fn*pio2_1t; /* 1st round, good to 85 bits */
131 w = fn*pio2_2;
133 w = fn*pio2_2t - ((t-r)-w);
139 w = fn*pio2_3;
141 w = fn*pio2_3t - ((t-r)-w);
/haiku/src/libs/compat/freebsd_network/compat/sys/
H A Dcallout.h26 #define callout_reset_on(c, to_ticks, fn, arg, cpu) \
27 callout_reset(c, to_ticks, fn, arg)

Completed in 125 milliseconds

12