Lines Matching defs:data
335 * data has been allocated. The other other is (2) if this is a kernel
728 void *data;
743 data = LOS_MemAlloc(m_aucSysMem0, numbers * sizeof(struct file_table_s));
744 if (!data)
748 fdt->ft_fds = data;
755 data = LOS_MemAlloc(m_aucSysMem0, 2 * sizeof(fd_set)); /* 2: proc_fds, cloexec_fds */
756 if (!data)
760 (VOID)memset_s(data, 2 * sizeof(fd_set), 0, 2 * sizeof(fd_set));
761 fdt->proc_fds = (fd_set *)data;
762 fdt->cloexec_fds = (fd_set *)((uintptr_t)data + sizeof(fd_set));