Home
last modified time | relevance | path

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

/openbmc/u-boot/arch/riscv/include/asm/
H A Dposix_types.h72 #define __FD_SET(_fd, fdsetp) \ argument
73 typeof(_fd) (fd) = (_fd); \
77 #define __FD_CLR(_fd, fdsetp) \ argument
78 typeof(_fd) (fd) = (_fd); \
82 #define __FD_ISSET(_fd, fdsetp) \ argument
83 typeof(_fd) (fd) = (_fd); \
/openbmc/linux/tools/perf/tests/
H A Dfdarray.c102 #define FDA_CHECK(_idx, _fd, _revents) \ in test__fdarray__add() argument
103 if (fda->entries[_idx].fd != _fd) { \ in test__fdarray__add()
105 __LINE__, _idx, fda->entries[1].fd, _fd); \ in test__fdarray__add()
114 #define FDA_ADD(_idx, _fd, _revents, _nr) \ in test__fdarray__add() argument
115 if (fdarray__add(fda, _fd, _revents, fdarray_flag__default) < 0) { \ in test__fdarray__add()
117 __LINE__,_fd, _revents); \ in test__fdarray__add()
122 __LINE__,_fd, _revents, fda->nr, _nr); \ in test__fdarray__add()
125 FDA_CHECK(_idx, _fd, _revents) in test__fdarray__add()
/openbmc/linux/tools/testing/selftests/powerpc/signal/
H A Dsig_sc_double_restart.c52 register long _fd asm("r3") = fd; in raw_read()
66 : "+r"(_fd), "+r"(nr), "+r"(_buf), "+r"(_count) in raw_read()
70 if (_fd < 0) { in raw_read()
71 errno = -_fd; in raw_read()
72 _fd = -1; in raw_read()
75 return _fd; in raw_read()
/openbmc/phosphor-logging/extensions/openpower-pels/
H A Dpldm_interface.cpp53 _fd = -1; in closeFD()
89 _fd = openMctpDemuxTransport(); in open()
90 if (_fd < 0) in open()
94 e, "RC", _fd); in open()
229 _event, _fd, EPOLLIN, in registerReceiveCallback()
H A Dpldm_interface.hpp179 int _fd = -1; member in openpower::pels::PLDMInterface
/openbmc/openbmc/poky/bitbake/lib/
H A Dpyinotify.py1115 self._fd = self._watch_manager.get_fd()
1118 self._pollobj.register(self._fd, select.POLLIN)
1207 if fcntl.ioctl(self._fd, termios.FIONREAD, buf_, 1) == -1:
1212 'fixed to %d bytes', self._fd, queue_size,
1218 r = os.read(self._fd, queue_size)
1391 if self._fd is not None:
1392 self._pollobj.unregister(self._fd)
1393 os.close(self._fd)
1394 self._fd = None
1512 ioloop.add_handler(self._fd, self.handle_read, ioloop.READ)
[all …]
/openbmc/phosphor-fan-presence/monitor/
H A Dfan_error.hpp55 return _fd(); in fd()
62 util::FileDescriptor _fd; member in phosphor::fan::monitor::FFDCFile
H A Dfan_error.cpp71 _fd(open(name.c_str(), O_RDONLY)), _name(name) in FFDCFile()
73 if (_fd() == -1) in FFDCFile()
/openbmc/openpower-occ-control/
H A Docc_ffdc.hpp60 return _fd(); in fd()
67 FileDescriptor _fd; member in open_power::occ::FFDCFile
H A Docc_ffdc.cpp422 _fd(open(name.c_str(), O_RDONLY)), _name(name) in FFDCFile()
424 if (_fd() == -1) in FFDCFile()
/openbmc/linux/drivers/power/supply/
H A Dmt6370-charger.c140 #define MT6370_CHG_FIELD(_fd, _reg, _lsb, _msb) \ argument
141 [_fd] = { \
142 .name = #_fd, \
147 #define MT6370_CHG_FIELD_RANGE(_fd, _reg, _lsb, _msb) \ argument
148 [_fd] = { \
149 .name = #_fd, \
150 .range = &mt6370_chg_ranges[MT6370_RANGE_##_fd], \
/openbmc/linux/tools/power/acpi/tools/acpidbg/
H A Dacpidbg.c55 #define ACPI_AML_DO(_fd, _op, _buf, _ret) \ argument
57 _ret = acpi_aml_##_op(_fd, &acpi_aml_##_buf##_crc); \
64 #define ACPI_AML_BATCH_DO(_fd, _op, _buf, _ret) \ argument
66 _ret = acpi_aml_##_op##_batch_##_buf(_fd, \
/openbmc/linux/include/uapi/asm-generic/
H A Dsiginfo.h110 int _fd; member
170 #define si_fd _sifields._sigpoll._fd
/openbmc/openbmc/meta-security/dynamic-layers/meta-python/recipes-devtools/python/python3-pyinotify/
H A D0001-Make-asyncore-support-optional-for-Python-3.patch53 - asyncore.file_dispatcher.__init__(self, self._fd, channel_map)
69 + asyncore.file_dispatcher.__init__(self, self._fd, channel_map)
/openbmc/qemu/hw/vfio/
H A Ddisplay.c29 #define pread_field(_fd, _reg, _ptr, _fld) \ argument
31 pread(_fd, &(_ptr->_fld), sizeof(_ptr->_fld), \
34 #define pwrite_field(_fd, _reg, _ptr, _fld) \ argument
36 pwrite(_fd, &(_ptr->_fld), sizeof(_ptr->_fld), \
/openbmc/qemu/bsd-user/openbsd/
H A Dtarget_os_siginfo.h60 int _fd; member
/openbmc/qemu/bsd-user/netbsd/
H A Dtarget_os_siginfo.h60 int _fd; member
/openbmc/linux/drivers/hid/bpf/
H A Dhid_bpf_jmp_table.c527 links[idx] = bpf_link_get_from_fd(skel->links.__name##_fd); \
536 close_fd(skel->links.__name##_fd); \
537 skel->links.__name##_fd = 0; \
/openbmc/qemu/linux-user/
H A Dsignal.c398 tinfo->_sifields._sigpoll._fd = info->si_fd; in host_to_target_siginfo_noswap()
445 __put_user(info->_sifields._sigpoll._fd, in tswap_siginfo()
446 &tinfo->_sifields._sigpoll._fd); in tswap_siginfo()
H A Dstrace.c282 __get_user(tinfo->_sifields._sigpoll._fd, in get_target_siginfo()
283 &info->_sifields._sigpoll._fd); in get_target_siginfo()
333 tinfo->_sifields._sigpoll._fd); in print_siginfo()
H A Dsyscall_defs.h626 abi_int _fd; member
/openbmc/openbmc/meta-openembedded/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/
H A D0002-android-tools-modifications-to-make-it-build-in-yoct.patch313 @@ -109,7 +109,7 @@ static void listener_event_func(int _fd, unsigned ev, void* _l)
/openbmc/linux/include/linux/
H A Dcompat.h244 int _fd; member
/openbmc/openbmc/poky/meta/recipes-devtools/gcc/gcc/
H A D0007-Define-GLIBC_DYNAMIC_LINKER-and-UCLIBC_DYNAMIC_LINKE.patch379 #define SUBTARGET_LINK_EMUL_SUFFIX "%{mfdpic:_fd;:_linux}"
/openbmc/linux/drivers/infiniband/core/
H A Duverbs_cmd.c203 #define ib_uverbs_lookup_comp_file(_fd, _ufile) \ argument
204 _ib_uverbs_lookup_comp_file((_fd)*typecheck(s32, _fd), _ufile)