Searched refs:dir_len (Results 1 – 7 of 7) sorted by relevance
/illumos-gate/usr/src/lib/libxcurses/src/libc/mks/ |
H A D | m_pathca.c | 67 int dir_len; local 83 dir_len = strlen(dir); 87 m = dir_len+1; 120 if (dir_len > 0 121 && !M_FSDELIM(dest[dir_len-1]) 122 && !M_DRDELIM(dest[dir_len-1])) { 123 dest[dir_len++] = '/'; 125 strcpy(dest+dir_len, file);
|
/illumos-gate/usr/src/cmd/geniconvtbl/ |
H A D | itmcomp.c | 557 size_t dir_len; in prog_path_expand() local 575 dir_len = ((NULL == pe) ? strlen(p) : (pe - p)); in prog_path_expand() 576 (void) memcpy(path, p, dir_len); in prog_path_expand() 577 if ((0 != dir_len) && in prog_path_expand() 578 ('/' != path[dir_len - 1])) { in prog_path_expand() 579 path[dir_len] = '/'; in prog_path_expand() 580 dir_len += 1; in prog_path_expand() 582 if ((dir_len + base_len) < MAXPATHLEN) { in prog_path_expand() 583 (void) memcpy(path + dir_len, base_name, base_len + 1); in prog_path_expand()
|
/illumos-gate/usr/src/uts/common/io/1394/ |
H A D | s1394_hotplug.c | 425 uint32_t *ptr, *root_dir, dir_len; in s1394_update_devinfo_tree() local 443 dir_len = node->cfgrom_valid_size; in s1394_update_devinfo_tree() 445 dir_len = CFGROM_DIR_LEN(root_dir); in s1394_update_devinfo_tree() 460 for (units = 0, j = 1; j <= dir_len; j++) { in s1394_update_devinfo_tree() 586 uint32_t *ptr, *root_dir, dir_len; in s1394_offline_node() local 606 dir_len = node->cfgrom_valid_size; in s1394_offline_node() 608 dir_len = CFGROM_DIR_LEN(root_dir); in s1394_offline_node() 612 for (units = 0, j = 1; j <= dir_len; j++) { in s1394_offline_node()
|
H A D | s1394_dev_disc.c | 1764 uint32_t dir_len, crc_value, CRC, CRC_old, quad0; in s1394_valid_dir() local 1779 dir_len = IEEE1212_DIR_LEN(quad0); in s1394_valid_dir() 1784 CRC = s1394_CRC16(&dir[1], dir_len); in s1394_valid_dir() 1787 CRC_old = s1394_CRC16_old(&dir[1], dir_len); in s1394_valid_dir()
|
/illumos-gate/usr/src/uts/common/io/1394/targets/av1394/ |
H A D | av1394_cfgrom.c | 328 uint16_t dir_len; in av1394_cfgrom_parse_dir() local 361 dir_len = IEEE1212_DIR_LEN(val); in av1394_cfgrom_parse_dir() 366 this_pa.pa_len = dir_len; in av1394_cfgrom_parse_dir()
|
/illumos-gate/usr/src/uts/common/fs/nfs/ |
H A D | nfs4_state.c | 408 int dir_len, leaf_len; in rfs4_ss_pnalloc() local 414 if ((dir_len = strlen(dir)) > MAXPATHLEN || in rfs4_ss_pnalloc() 416 (dir_len + leaf_len + 2) > MAXPATHLEN) { in rfs4_ss_pnalloc() 424 ss_pn->leaf = ss_pn->pn + dir_len + 1; in rfs4_ss_pnalloc()
|
/illumos-gate/usr/src/uts/common/c2/ |
H A D | audit_event.c | 1820 size_t path_len, dir_len; in aus_umount_path() local 1828 MAXPATHLEN, &dir_len)) in aus_umount_path()
|