Searched refs:devnode (Results 1 - 14 of 14) sorted by relevance

/macosx-10.10.1/libfs-13/
H A DFSPrivate.h55 * 1. CFStringRef devnode: CFStringRef representation of /dev/diskXsXX
59 * 1. If the devnode is mounted already.
64 extern CFStringRef _FSCopyLocalizedNameForVolumeFormatAtNode(CFStringRef devnode);
67 * 1. CFStringRef devnode: CFStringRef representation of /dev/diskXsXX
71 * 1. If the devnode is mounted already.
76 extern CFStringRef _FSCopyNameForVolumeFormatAtNode(CFStringRef devnode);
H A DFSFormatName.h79 bool getfstype(char *devnode, char *fsname, int *fssubtype);
80 bool is_hfs(char *devnode, int *fssubtype);
81 bool is_msdos(char *devnode, int *fssubtype);
H A DFSFormatName.c302 CFStringRef _FSCopyLocalizedNameForVolumeFormatAtNode(CFStringRef devnode) argument
309 /* convert CFStringRef devnode to CSTR */
310 if (true == CFStringGetCString(devnode, devnodename, MAXPATHLEN + 1, kCFStringEncodingUTF8)) {
328 CFStringRef _FSCopyNameForVolumeFormatAtNode(CFStringRef devnode) argument
335 /* convert CFStringRef devnode to CSTR */
336 if (true == CFStringGetCString(devnode, devnodename, MAXPATHLEN + 1, kCFStringEncodingUTF8)) {
353 /* Return the fsname and subtype number for devnode */
354 bool getfstype(char *devnode, char *fsname, int *fssubtype) argument
357 if (is_hfs(devnode, fssubtype) == true) {
363 if (is_msdos(devnode, fssubtyp
375 is_hfs(char *devnode, int *fssubtype) argument
486 is_msdos(char *devnode, int *fssubtype) argument
[all...]
/macosx-10.10.1/SmartcardCCID-55008/libusb/libusb/libusb/os/
H A Dopenbsd_usb.c35 char devnode[16]; member in struct:device_priv
139 char devnode[16]; local
147 snprintf(devnode, sizeof(devnode), "/dev/ugen%d.00", i);
149 if ((fd = open(devnode, O_RDONLY)) < 0) {
151 usbi_err(ctx, "could not open %s", devnode);
171 strlcpy(dpriv->devnode, devnode, sizeof(devnode));
208 dpriv->fd = open(dpriv->devnode, O_RDW
664 char *s, devnode[16]; local
[all...]
/macosx-10.10.1/xnu-2782.1.97/bsd/miscfs/devfs/
H A Ddevfsdefs.h96 typedef struct devnode devnode_t;
123 get a vnode for the devnode */
124 struct devnode struct
128 * Number of vnodes that point to this devnode. Note, we do not
131 * when a vnode is reclaimed. A devnode will not be freed while
133 * prevent the free of a devnode in situations where there is not
172 devnode_t * de_dnp; /* the "inode" (devnode) pointer */
187 * Dirs hava a strict 1:1 relationship with their OWN devnode
189 * Device Nodes ALWAYS point to the devnode that is linked
H A Ddevfs_vnops.c69 * - free the devfs devnode in devfs_inactive(), not just in devfs_reclaim()
589 struct devnode *de;
683 * the devnode for a subsequent update.
1229 devnode_t * dir_p; /* devnode for parent directory */
/macosx-10.10.1/pam_modules-140/modules/pam_mount/
H A Dpam_mount.c227 const char *devnode = NULL; local
305 (NULL == (devnode = DADiskGetBSDName(da))) ||
306 (NULL == (devicepath = CFStringCreateWithCString(kCFAllocatorDefault, devnode, kCFStringEncodingUTF8)))) {
/macosx-10.10.1/xnu-2782.1.97/security/
H A Dmac_framework.h88 struct devnode;
177 void mac_devfs_label_associate_device(dev_t dev, struct devnode *de,
180 struct devnode *de, const char *fullpath);
182 void mac_devfs_label_destroy(struct devnode *de);
183 void mac_devfs_label_init(struct devnode *de);
184 void mac_devfs_label_update(struct mount *mp, struct devnode *de,
535 void mac_vnode_label_associate_devfs(struct mount *mp, struct devnode *de,
H A Dmac_vfs.c102 mac_devfs_label_init(struct devnode *de)
171 mac_devfs_label_destroy(struct devnode *de)
288 mac_devfs_label_update(struct mount *mp, struct devnode *de,
302 struct devnode *dnp;
328 mac_vnode_label_associate_devfs(struct mount *mp, struct devnode *de,
1536 mac_devfs_label_associate_device(dev_t dev, struct devnode *de,
1548 struct devnode *de, const char *fullpath)
H A Dmac_policy.h92 struct devnode;
617 struct devnode *de,
636 struct devnode *de,
688 struct devnode *de,
5295 struct devnode *de,
/macosx-10.10.1/lsof-53/lsof/dialects/darwin/kmem/
H A Ddnode.c338 struct devnode *d = (struct devnode *)NULL;
339 struct devnode db;
/macosx-10.10.1/xnu-2782.1.97/bsd/security/audit/
H A Daudit_pipe.c1106 static void *devnode; variable
1121 devnode = devfs_make_node_clone(dev, DEVFS_CHAR, UID_ROOT, GID_WHEEL,
1124 if (devnode == NULL)
1135 devfs_remove(devnode);
H A Daudit_session.c299 static void *devnode; variable
2010 devnode = devfs_make_node_clone(dev, DEVFS_CHAR, UID_ROOT, GID_WHEEL,
2013 if (NULL == devnode)
2024 devfs_remove(devnode);
/macosx-10.10.1/xnu-2782.1.97/tools/lldbmacros/
H A Dmemory.py1422 devnode = Cast(vnode.v_data, 'devnode_t *')
1423 devnode_dev = devnode.dn_typeinfo.dev
1436 vnodedev_output += "\n\t mode\t\t0{:o}".format(unsigned(devnode.dn_mode))
1437 vnodedev_output += "\n\t owner (u,g):\t{:d} {:d}".format(devnode.dn_uid, devnode.dn_gid)

Completed in 112 milliseconds