gonzui


Format: Advanced Search

SearchGoogle itResults 1 - 1 of 1 for funcall:memset from t2ex/bsd_source/t2ex/network/net/src_bsd/kern/kern_descrip.c (0.00 seconds)
t2ex
bsd_source/t2ex/network/net/src_bsd/kern/kern_descrip.c - 60.6KB - 2,238 lines
1082:         memcpy(newofile, fdp->fd_ofiles, i);
1083:         memset((uint8_t *)newofile + i, 0, numfiles * sizeof(fdfile_t *) - i);
1084: 
1103: memcpy(newhimap, fdp->fd_himap, i); 1104: memset((uint8_t *)newhimap + i, 0, 1105: NDHISLOTS(numfiles) * sizeof(uint32_t) - i);
1108: memcpy(newlomap, fdp->fd_lomap, i); 1109: memset((uint8_t *)newlomap + i, 0, 1110: NDLOSLOTS(numfiles) * sizeof(uint32_t) - i);
1337: 1338: memset(fp, 0, sizeof(*fp)); 1339: #ifndef T2EX
1374: 1375: memset(ff, 0, sizeof(*ff)); 1376: #ifndef T2EX
1412: if (fp != NULL) { 1413: memset(fp, 0, sizeof(*fp)); 1414: mutex_init(&fp->f_lock, MUTEX_DEFAULT, IPL_NONE);
1507: 1508: memset(&fdp->fd_startzero, 0, sizeof(*fdp) - 1509: offsetof(filedesc_t, fd_startzero));
1542: 1543: memset(fdp, 0, sizeof(*fdp)); 1544: #ifndef T2EX
1698: if (lastfile < (i-1)) { 1699: memset(newfdp->fd_ofiles + lastfile + 1, 0, 1700: (i - lastfile - 1) * sizeof(file_t **));