HomeSort by relevance Sort by last modified time
    Searched defs:dev_fd (Results 1 - 25 of 28) sorted by null

1 2

  /cts/hostsidetests/security/securityPatch/CVE-2017-0333/
poc.c 34 int dev_fd; variable
47 dev_fd = open(DEV, O_RDONLY);
49 if (dev_fd == -1) {
55 ret = ioctl(dev_fd, DRM_IOCTL_NOUVEAU_NVIF, &s_nvif);
  /hardware/akm/AK8975_FS/libsensors/
SensorBase.h 35 int dev_fd; member in class:SensorBase
  /cts/hostsidetests/security/securityPatch/CVE-2016-8431/
poc.c 31 int dev_fd; variable
59 dev_fd = open(DEV,O_RDONLY);
60 if(dev_fd == -1){
66 ret = ioctl(dev_fd, DRM_IOCTL_TEGRA_OPEN_CHANNEL, &open_c);
73 ret = ioctl(dev_fd, DRM_IOCTL_TEGRA_GEM_CREATE, &gem_create);
84 ioctl(dev_fd, DRM_IOCTL_TEGRA_SUBMIT, &submit_c);
89 close(dev_fd);
  /hardware/qcom/display/msm8909/libdrmutils/
drm_res_mgr.cpp 46 static bool GetConnector(int dev_fd, drmModeRes *res, drmModeConnector **connector) {
48 drmModeConnector *conn = drmModeGetConnector(dev_fd, res->connectors[i]);
60 static bool GetEncoder(int dev_fd, drmModeConnector *conn, drmModeEncoder **encoder) {
62 drmModeEncoder *enc = drmModeGetEncoder(dev_fd, conn->encoders[i]);
72 static bool GetCrtc(int dev_fd, drmModeRes *res, drmModeEncoder *enc, drmModeCrtc **crtc) {
75 drmModeCrtc *c = drmModeGetCrtc(dev_fd, res->crtcs[i]);
107 int dev_fd = -1; local
114 master->GetHandle(&dev_fd);
115 drmModeRes *res = drmModeGetResources(dev_fd);
122 if (!GetConnector(dev_fd, res, &conn))
    [all...]
  /hardware/qcom/display/msm8909w_3100/libdrmutils/
drm_res_mgr.cpp 46 static bool GetConnector(int dev_fd, drmModeRes *res, drmModeConnector **connector) {
48 drmModeConnector *conn = drmModeGetConnector(dev_fd, res->connectors[i]);
60 static bool GetEncoder(int dev_fd, drmModeConnector *conn, drmModeEncoder **encoder) {
62 drmModeEncoder *enc = drmModeGetEncoder(dev_fd, conn->encoders[i]);
72 static bool GetCrtc(int dev_fd, drmModeRes *res, drmModeEncoder *enc, drmModeCrtc **crtc) {
75 drmModeCrtc *c = drmModeGetCrtc(dev_fd, res->crtcs[i]);
107 int dev_fd = -1; local
114 master->GetHandle(&dev_fd);
115 drmModeRes *res = drmModeGetResources(dev_fd);
122 if (!GetConnector(dev_fd, res, &conn))
    [all...]
  /hardware/qcom/display/msm8998/libdrmutils/
drm_res_mgr.cpp 46 static bool GetConnector(int dev_fd, drmModeRes *res, drmModeConnector **connector) {
48 drmModeConnector *conn = drmModeGetConnector(dev_fd, res->connectors[i]);
60 static bool GetEncoder(int dev_fd, drmModeConnector *conn, drmModeEncoder **encoder) {
62 drmModeEncoder *enc = drmModeGetEncoder(dev_fd, conn->encoders[i]);
72 static bool GetCrtc(int dev_fd, drmModeRes *res, drmModeEncoder *enc, drmModeCrtc **crtc) {
75 drmModeCrtc *c = drmModeGetCrtc(dev_fd, res->crtcs[i]);
107 int dev_fd = -1; local
114 master->GetHandle(&dev_fd);
115 drmModeRes *res = drmModeGetResources(dev_fd);
122 if (!GetConnector(dev_fd, res, &conn))
    [all...]
  /cts/hostsidetests/security/securityPatch/CVE-2016-8432/
poc.c 35 int dev_fd; variable
95 ioctl(dev_fd, DRM_IOCTL_TEGRA_SUBMIT, &submit_c);
107 dev_fd = open(DEV,O_RDONLY);
108 if(dev_fd == -1){
114 ret = ioctl(dev_fd, DRM_IOCTL_TEGRA_OPEN_CHANNEL, &open_c);
123 ret = ioctl(dev_fd, DRM_IOCTL_TEGRA_GEM_CREATE, &gem_create);
134 while(ioctl(dev_fd, DRM_IOCTL_GEM_CLOSE, &gem_close) == 0);
144 close(dev_fd);
  /external/ltp/lib/
tst_device.c 72 int ctl_fd, dev_fd, rc, i; local
111 dev_fd = open(dev_path, O_RDONLY);
113 if (dev_fd < 0)
116 if (ioctl(dev_fd, LOOP_GET_STATUS, &loopinfo) == 0) {
122 close(dev_fd);
126 close(dev_fd);
136 int dev_fd, file_fd; local
139 dev_fd = open(dev, O_RDWR);
140 if (dev_fd < 0) {
148 close(dev_fd);
182 int dev_fd, ret, i; local
    [all...]
  /external/syslinux/linux/
syslinux.c 106 int do_mount(int dev_fd, int *cookie, const char *mntpath, const char *fstype)
112 if (fstat(dev_fd, &st) < 0)
129 if (ioctl(loop_fd, LOOP_SET_FD, (void *)dev_fd)) {
147 (unsigned long)mypid, dev_fd);
161 (unsigned long)mypid, dev_fd);
262 int dev_fd, fd; local
302 dev_fd = open(opt.device, O_RDWR);
303 if (dev_fd < 0 || fstat(dev_fd, &st) < 0) {
316 xpread(dev_fd, sectbuf, SECTOR_SIZE, opt.offset)
    [all...]
  /external/syslinux/mtools/
syslinux.c 189 int dev_fd; local
241 dev_fd = open(opt.device, O_RDWR);
242 if (dev_fd < 0 || fstat(dev_fd, &st) < 0) {
254 xpread(dev_fd, sectbuf, SECTOR_SIZE, opt.offset);
282 dev_fd, (unsigned long long)opt.offset);
322 fs = libfat_open(libfat_xpread, dev_fd);
341 xpwrite(dev_fd, (const char _force *)syslinux_ldlinux
394 xpread(dev_fd, sectbuf, SECTOR_SIZE, opt.offset);
400 xpwrite(dev_fd, sectbuf, SECTOR_SIZE, opt.offset)
    [all...]
  /hardware/invensense/6515/libsensors_iio/
SensorBase.h 74 int dev_fd; member in class:SensorBase
  /hardware/invensense/65xx/libsensors_iio/
SensorBase.h 73 int dev_fd; member in class:SensorBase
  /device/linaro/hikey/wpan/uim/
uim.c 39 static int dev_fd; variable
57 void read_firmware_version(int dev_fd)
64 UIM_VER(" wrote %d bytes", (int)write(dev_fd, buffer, 4));
65 UIM_VER(" reading %d bytes", (int)read(dev_fd, resp_buffer, 15));
199 static int set_baud_rate(int dev_fd)
204 tcflush(dev_fd, TCIOFLUSH);
207 if (tcgetattr(dev_fd, &ti) < 0) {
222 tcsetattr(dev_fd, TCSANOW, &ti);
227 tcsetattr(dev_fd, TCSANOW, &ti);
229 tcflush(dev_fd, TCIOFLUSH)
    [all...]
  /hardware/qcom/display/msm8909/sdm/libs/core/drm/
hw_info_drm.cpp 117 int dev_fd = -1; local
123 drm_master->GetHandle(&dev_fd);
124 drm_lib->FuncGetDRMManager()(dev_fd, &drm_mgr_intf_);
hw_device_drm.cpp 315 int dev_fd = -1; local
317 drm_master->GetHandle(&dev_fd);
318 drm_lib->FuncGetDRMManager()(dev_fd, &drm_mgr_intf_);
729 int dev_fd = -1; local
730 master->GetHandle(&dev_fd);
742 ret = drmModeSetCrtc(dev_fd, crtc_id, fb_id, 0 /* x */, 0 /* y */, &connector_id,
745 DLOGE("drmModeSetCrtc failed dev fd %d, fb_id %d, crtc id %d, connector id %d, %s", dev_fd,
    [all...]
  /hardware/qcom/display/msm8909w_3100/sdm/libs/core/drm/
hw_info_drm.cpp 111 int dev_fd = -1; local
117 drm_master->GetHandle(&dev_fd);
118 DRMLibLoader::GetInstance()->FuncGetDRMManager()(dev_fd, &drm_mgr_intf_);
hw_device_drm.cpp 310 int dev_fd = -1; local
312 drm_master->GetHandle(&dev_fd);
313 DRMLibLoader::GetInstance()->FuncGetDRMManager()(dev_fd, &drm_mgr_intf_);
724 int dev_fd = -1; local
725 master->GetHandle(&dev_fd);
737 ret = drmModeSetCrtc(dev_fd, crtc_id, fb_id, 0 /* x */, 0 /* y */, &connector_id,
740 DLOGE("drmModeSetCrtc failed dev fd %d, fb_id %d, crtc id %d, connector id %d, %s", dev_fd,
    [all...]
  /hardware/qcom/display/msm8998/sdm/libs/core/drm/
hw_info_drm.cpp 101 int dev_fd = -1; local
107 drm_master->GetHandle(&dev_fd);
108 DRMLibLoader::GetInstance()->FuncGetDRMManager()(dev_fd, &drm_mgr_intf_);
hw_device_drm.cpp 93 int dev_fd = -1; local
95 drm_master->GetHandle(&dev_fd);
96 DRMLibLoader::GetInstance()->FuncGetDRMManager()(dev_fd, &drm_mgr_intf_);
490 int dev_fd = -1; local
491 master->GetHandle(&dev_fd);
503 ret = drmModeSetCrtc(dev_fd, crtc_id, input_buffer.fb_id, 0 /* x */, 0 /* y */, &connector_id,
506 DLOGE("drmModeSetCrtc failed dev fd %d, fb_id %d, crtc id %d, connector id %d, %s", dev_fd,
  /system/extras/tests/iptables/qtaguid/
socketTag.cpp 188 dev_fd = -1;
211 dev_fd = open("/dev/xt_qtaguid", O_RDONLY);
212 EXPECT_GE(dev_fd, 0) << "qtaguid dev open failed";
227 if (dev_fd >= 0) {
228 close(dev_fd);
238 int dev_fd; member in class:android::SocketTaggingTest
  /external/dhcpcd-6.8.2/
dhcpcd.h 150 int dev_fd; member in struct:dhcpcd_ctx
  /external/f2fs-tools/tools/sg_write_buffer/include/
sg_pt_linux.h 103 int dev_fd; /* -1 if not given (yet) */ member in struct:sg_pt_linux_scsi
107 * implies dev_fd is not a NVMe device
  /device/google/marlin/camera/QCamera2/stack/mm-camera-interface/src/
mm_camera_interface.c 1565 int dev_fd = -1; local
1781 int dev_fd = -1; local
    [all...]
  /external/mmc-utils/
mmc_cmds.c 1610 int ret, dev_fd, key_fd; local
1692 int ret, dev_fd; local
1721 int i, ret, dev_fd, data_fd, key_fd = -1; local
1868 int ret, dev_fd, key_fd, data_fd; local
    [all...]
  /external/syslinux/dos/
syslinux.c 572 static void move_file(int dev_fd, char *pathname, char *filename)
579 new_name[0] = dev_fd | 0x40;
616 int dev_fd, fd; local
657 dev_fd = (opt.device[0] & ~0x20) - 0x40;
658 if (dev_fd < 1 || dev_fd > 26 || opt.device[1] != ':' || opt.device[2])
661 set_lock_device(dev_fd);
664 read_device(dev_fd, sectbuf, 1, 0);
677 ldlinux_name[0] = dev_fd | 0x40;
678 ldlinuxc32_name[0] = dev_fd | 0x40
    [all...]

Completed in 578 milliseconds

1 2