Searched refs:ATTR_MAX_HDR_SIZE (Results 1 - 2 of 2) sorted by relevance

/macosx-10.10/xnu-2782.1.97/bsd/vfs/
H A Dvfs_xattr.c1322 #define ATTR_MAX_HDR_SIZE 65536 macro
1324 * Note: ATTR_MAX_HDR_SIZE is the largest attribute header
1327 * any of the attribute data crosses the ATTR_MAX_HDR_SIZE
1332 * completely within the first ATTR_MAX_HDR_SIZE bytes of the
1335 * first ATTR_MAX_HDR_SIZE bytes of the file. Note that this
1337 * the first ATTR_MAX_HDR_SIZE bytes of the file.
1418 size_t rawsize; /* minimum of filesize or ATTR_MAX_HDR_SIZE */
1684 if (entry->offset + datalen < ATTR_MAX_HDR_SIZE) {
1888 if ((header->data_start + header->data_length + entrylen + datalen) > ATTR_MAX_HDR_SIZE)
1952 if ((header->data_start + entrylen) > ATTR_MAX_HDR_SIZE) {
[all...]
/macosx-10.10/copyfile-118.1.2/
H A Dcopyfile.c2712 #define ATTR_MAX_HDR_SIZE (65536+18) macro
2715 * Note: ATTR_MAX_HDR_SIZE is the largest attribute header
2934 if (s->sb.st_size < ATTR_MAX_HDR_SIZE)
2937 hdrsize = ATTR_MAX_HDR_SIZE;
3747 filehdr = (attr_header_t *) calloc(1, ATTR_MAX_HDR_SIZE);
3753 endfilehdr = (attr_header_t*)(((char*)filehdr) + ATTR_MAX_HDR_SIZE);
3756 attrnamebuf = calloc(1, ATTR_MAX_HDR_SIZE);
3761 endnamebuf = ((char*)attrnamebuf) + ATTR_MAX_HDR_SIZE;
3811 ssize_t left = ATTR_MAX_HDR_SIZE - offset;
3823 if (endnamebuf > (attrnamebuf + ATTR_MAX_HDR_SIZE)) {
[all...]

Completed in 79 milliseconds