code stringlengths 1.03k 250k | repo_name stringlengths 7 70 | path stringlengths 4 177 | language stringclasses 1
value | license stringclasses 15
values | size int64 1.03k 250k |
|---|---|---|---|---|---|
/*
Copyright 2005-2013 Jay Sorg
Permission to use, copy, modify, distribute, and sell this software and its
documentation for any purpose is hereby granted without fee, provided that
the above copyright notice appear in all copies and that both that
copyright notice and this permission notice appear in supporting
docu... | Osirium/xrdp | xorg/X11R7.6/rdp/rdpPolyText16.c | C | apache-2.0 | 5,934 |
/* Copyright (C) 2003 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Jakub Jelinek <jakub@redhat.com>.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public License as
published by the Free Sof... | pexip/os-eglibc | sysdeps/gnu/unwind-resume.c | C | gpl-2.0 | 2,233 |
/*
* driver for Fusitju M5MO LS 8MP camera
*
* Copyright (c) 2010, Samsung Electronics. All rights reserved
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* This program ... | garwynn/D710BST_FI22_Kernel | drivers/media/video/m5mo.c | C | gpl-2.0 | 72,017 |
/*
* Copyright (c) 1996, by Steve Passe
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of cond... | jpl888/coreboot | util/mptable/mptable.c | C | gpl-2.0 | 27,778 |
/*
* packet-fip.c
* Routines for FIP dissection - FCoE Initialization Protocol
* Copyright (c) 2008 Cisco Systems, Inc. (jeykholt@cisco.com)
*
* Wireshark - Network traffic analyzer
* By Gerald Combs <gerald@wireshark.org>
* Copyright 1998 Gerald Combs
*
* Based on packet-fcoe.c, Copyright 2006, Nuova Systems,... | frenos/wireshark | epan/dissectors/packet-fip.c | C | gpl-2.0 | 28,460 |
/*
* drivers/net/wireless/somcwifictrl/somc_wifi.c
*
*/
/*
* Copyright (C) 2015 Sony Mobile Communications Inc.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2, as
* published by the Free Software Foundation.
*/
#include ... | yutokt/android_kernel_sony_msm8994 | drivers/net/wireless/somcwifictrl/somc_wifi.c | C | gpl-2.0 | 4,687 |
/*
* QEMU KVM support
*
* Copyright (C) 2006-2008 Qumranet Technologies
* Copyright IBM, Corp. 2008
*
* Authors:
* Anthony Liguori <aliguori@us.ibm.com>
*
* This work is licensed under the terms of the GNU GPL, version 2 or later.
* See the COPYING file in the top-level directory.
*
*/
#include <sys/typ... | piyushroshan/xen-4.3.2 | tools/qemu-xen/target-i386/kvm.c | C | gpl-2.0 | 64,727 |
/*************************************************************************/ /*!
@File
@Title Server bridge for pdumpmm
@Copyright Copyright (c) Imagination Technologies Ltd. All Rights Reserved
@Description Implements the server side of the bridge for pdumpmm
@License Dual MIT/GPLv2
The content... | zsoltm/linux-sunxi-exp | modules/rogue_km/generated/pdumpmm_bridge/server_pdumpmm_bridge.c | C | gpl-2.0 | 18,762 |
/****************************************************************************
* Copyright (c) 2004 Free Software Foundation, Inc. *
* *
* Permission is hereby granted, free of charge, to any person obtaining a *
* copy ... | darlinghq/darling | src/ncurses/ncurses/widechar/lib_pecho_wchar.c | C | gpl-3.0 | 2,901 |
#include <stdlib.h>
#include "utils.h"
#define WIDTH 32
#define HEIGHT 32
static const pixman_format_code_t formats[] =
{
PIXMAN_a8r8g8b8,
PIXMAN_a8b8g8r8,
PIXMAN_x8r8g8b8,
PIXMAN_x8b8g8r8,
PIXMAN_r5g6b5,
PIXMAN_b5g6r5,
PIXMAN_a8,
PIXMAN_a1,
};
static const pixman_op_t ops[] =
{
P... | execunix/vinos | xsrc/external/mit/pixman/dist/test/rotate-test.c | C | apache-2.0 | 2,775 |
/* More debugging hooks for `malloc'.
Copyright (C) 1991, 1992 Free Software Foundation, Inc.
Written April 2, 1991 by John Gilmore of Cygnus Support.
Based on mcheck.c by Mike Haertel.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public Li... | ipwndev/DSLinux-Mirror | user/e2fsprogs/src/e2fsck/mtrace.c | C | gpl-2.0 | 4,197 |
// SPDX-License-Identifier: GPL-2.0-only
/*
* mm/page-writeback.c
*
* Copyright (C) 2002, Linus Torvalds.
* Copyright (C) 2007 Red Hat, Inc., Peter Zijlstra
*
* Contains functions related to writing back dirty pages at the
* address_space level.
*
* 10Apr2002 Andrew Morton
* Initial version
*/
#include <li... | aristeu/linux-2.6 | mm/page-writeback.c | C | gpl-2.0 | 86,668 |
/**
* device.c - Low level device io functions. Originated from the Linux-NTFS project.
*
* Copyright (c) 2004-2006 Anton Altaparmakov
* Copyright (c) 2004-2006 Szabolcs Szakacsits
* Copyright (c) 2010 Jean-Pierre Andre
*
* This program/include file is free software; you can redistribute it and/or
* modify... | ysleu/RTL8685 | uClinux-dist/user/ntfs-3g/libntfs-3g/device.c | C | gpl-2.0 | 21,020 |
/* mbed Microcontroller Library
* Copyright (c) 2016, STMicroelectronics
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyrigh... | karsev/mbed-os | targets/TARGET_STM/TARGET_STM32L1/analogin_device.c | C | apache-2.0 | 9,072 |
/*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will b... | ziqiaozhou/cachebar | source/sound/pci/au88x0/au88x0_synth.c | C | gpl-2.0 | 10,989 |
/*
* sysctl.c: General linux system control interface
*
* Begun 24 March 1995, Stephen Tweedie
* Added /proc support, Dec 1995
* Added bdflush entry and intvec min/max checking, 2/23/96, Tom Dyas.
* Added hooks for /proc/sys/net (minor, minor patch), 96/4/1, Mike Shaver.
* Added kernel/java-{interpreter,appletvi... | jorik041/KTSGS5 | kernel/sysctl.c | C | gpl-2.0 | 59,569 |
/* This file, getcols.c, contains routines that read data elements from */
/* a FITS image or table, with a character string datatype. */
/* The FITSIO software was written by William Pence at the High Energy */
/* Astrophysic Science Archive Research Center (HEASARC) at the NASA */
/* God... | GNOME/giv | src/plugins/cfitsio/getcols.c | C | gpl-2.0 | 29,034 |
/*
* Copyright (C) 2007 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | andrea2107/android_kernel_xiaomi_hermes | drivers/misc/mediatek/anc/mt6795/AudDrv_Anc.c | C | gpl-2.0 | 16,402 |
/*
* Generic driver for memory-mapped GPIO controllers.
*
* Copyright 2008 MontaVista Software, Inc.
* Copyright 2008,2010 Anton Vorontsov <cbouatmailru@gmail.com>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by t... | djbw/linux | drivers/gpio/gpio-mmio.c | C | gpl-2.0 | 19,640 |
/*
* Copyright 2015 Advanced Micro Devices, Inc.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, m... | codeaurora-unoffical/linux-msm | drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c | C | gpl-2.0 | 118,308 |
/*
* nfsumount.c -- Linux NFS umount
* Copyright (C) 2006 Amit Gud <agud@redhat.com>
*
* - Basic code and wrapper around NFS umount code originally
* in util-linux/mount/nfsmount.c
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License a... | ghmajx/asuswrt-merlin | release/src/router/nfs-utils/utils/mount/nfsumount.c | C | gpl-2.0 | 8,455 |
/*
* Coda multi-standard codec IP - BIT processor functions
*
* Copyright (C) 2012 Vista Silicon S.L.
* Javier Martin, <javier.martin@vista-silicon.com>
* Xavier Duret
* Copyright (C) 2012-2014 Philipp Zabel, Pengutronix
*
* This program is free software; you can redistribute it and/or modify
* it under ... | Isopod/linux | drivers/media/platform/coda/coda-bit.c | C | gpl-2.0 | 64,891 |
#define JEMALLOC_STATS_C_
#include "jemalloc/internal/jemalloc_internal.h"
#define CTL_GET(n, v, t) do { \
size_t sz = sizeof(t); \
xmallctl(n, v, &sz, NULL, 0); \
} while (0)
#define CTL_I_GET(n, v, t) do { \
size_t mib[6]; \
size_t miblen = sizeof(mib) / sizeof(size_t); \
size_t sz =... | Archives/ro_core | externals/jemalloc/stats.c | C | gpl-2.0 | 21,796 |
/*============================================================================
This C source file is part of the SoftFloat IEEE Floating-Point Arithmetic
Package, Release 3, by John R. Hauser.
Copyright 2011, 2012, 2013, 2014 The Regents of the University of California
(Regents). All Rights Reserved. Redist... | juped/archaeology-cutoff | outside/softfloat-3/source/extF80M_lt_quiet.c | C | mit | 4,393 |
/*
* This file is part of the coreboot project.
*
* Copyright (C) 2010 Advanced Micro Devices, Inc.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; version 2 of the License.
*
* This ... | lkundrak/coreboot | src/mainboard/amd/mahogany_fam10/mainboard.c | C | gpl-2.0 | 3,260 |
/*
* ALSA driver for ICEnsemble ICE1712 (Envy24)
*
* Lowlevel functions for M-Audio Revolution 7.1
*
* Copyright (c) 2003 Takashi Iwai <tiwai@suse.de>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the ... | fzqing/linux-2.6 | sound/pci/ice1712/revo.c | C | gpl-2.0 | 4,559 |
/* linpack/zqrdc.f -- translated by f2c (version 20050501).
You must link the resulting object file with libf2c:
on Microsoft Windows system, link with libf2c.lib;
on Linux or Unix systems, link with .../path/to/libf2c.a -lm
or, if you install libf2c.a in a standard place, with -lf2c -lm
... | blowekamp/ITK | Modules/ThirdParty/VNL/src/vxl/v3p/netlib/linpack/zqrdc.c | C | apache-2.0 | 16,660 |
/*
* omap_hwmod_2xxx_ipblock_data.c - common IP block data for OMAP2xxx
*
* Copyright (C) 2011 Nokia Corporation
* Paul Walmsley
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundatio... | val2k/linux | arch/arm/mach-omap2/omap_hwmod_2xxx_ipblock_data.c | C | gpl-2.0 | 20,484 |
/*
* MIPI CSI-2 Receiver Subdev for Freescale i.MX6 SOC.
*
* Copyright (c) 2012-2017 Mentor Graphics Inc.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License... | HarveyHunt/linux | drivers/staging/media/imx/imx6-mipi-csi2.c | C | gpl-2.0 | 17,358 |
// SPDX-License-Identifier: GPL-2.0-only
/*
* HD-audio codec driver binding
* Copyright (c) Takashi Iwai <tiwai@suse.de>
*/
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/mutex.h>
#include <linux/module.h>
#include <linux/export.h>
#include <linux/pm.h>
#include <linux/pm_runtime.h>
#include <sound... | cminyard/linux-live-app-coredump | sound/pci/hda/hda_bind.c | C | gpl-2.0 | 7,823 |
/*
ac_input.c
Copyright Luki <humbell@ethz.ch>
Copyright 2011 Michel Pollet <buserror@gmail.com>
This file is part of simavr.
simavr is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of t... | rqou/simavr-prlite | examples/parts/ac_input.c | C | gpl-3.0 | 1,573 |
/* Copyright (C) 2001-2013 Artifex Software, Inc.
All Rights Reserved.
This software is provided AS-IS with no warranty, either express or
implied.
This software is distributed under license and may not be copied, modified
or distributed except as expressly authorized under the terms of that
license... | lolo32/mupdf-mirror | source/fitz/memento.c | C | agpl-3.0 | 44,060 |
/*****************************************************************************
Copyright (c) 2011, Intel Corp.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source cod... | aliefweb/openblas | lapack-netlib/lapacke/src/lapacke_cherfsx.c | C | bsd-3-clause | 4,578 |
/*-
* Copyright (c) 2004 Stefan Farfeleder
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of c... | joe9/barrelfish | lib/oldc/msun/src/s_creal.c | C | mit | 1,503 |
/*
* Copyright (c) 2009, Wayne Meissner
* Copyright (C) 2009 Andrea Fazzi <andrea.fazzi@alcacoop.it>
* Copyright (c) 2008-2013, Ruby FFI project contributors
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following con... | udayakiran/udayakiran.github.io | vendor/gems/ruby/2.7.0/gems/ffi-1.14.2/ext/ffi_c/FunctionInfo.c | C | mit | 9,153 |
/*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
* particular file as subject to th... | openjdk-mirror/jdk7u-jdk | src/share/native/sun/java2d/cmm/lcms/cmsio0.c | C | gpl-2.0 | 51,548 |
/*
* Marvell 88E6xxx SERDES manipulation, via SMI bus
*
* Copyright (c) 2008 Marvell Semiconductor
*
* Copyright (c) 2017 Andrew Lunn <andrew@lunn.ch>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Softw... | raumfeld/linux-am33xx | drivers/net/dsa/mv88e6xxx/serdes.c | C | gpl-2.0 | 7,875 |
/* Reentrant versions of lseek system call. */
#include <reent.h>
#include <unistd.h>
#include <_syslist.h>
/* Some targets provides their own versions of this functions. Those
targets should define REENTRANT_SYSCALLS_PROVIDED in TARGET_CFLAGS. */
#ifdef _REENT_ONLY
#ifndef REENTRANT_SYSCALLS_PROVIDED
#define R... | travisg/newlib | newlib/libc/reent/lseekr.c | C | gpl-2.0 | 1,105 |
/* Copyright (c) 2010-2011, 2013, The Linux Foundation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
* only version 2 as published by the Free Software Foundation.
*
* This program is distributed ... | shakalaca/ASUS_PadFone_PF500KL | kernel/arch/arm/mach-msm/rpm_log.c | C | gpl-2.0 | 14,351 |
// SPDX-License-Identifier: GPL-2.0
// Rafael Micro R820T driver
//
// Copyright (C) 2013 Mauro Carvalho Chehab
//
// This driver was written from scratch, based on an existing driver
// that it is part of rtl-sdr git tree, released under GPLv2:
// https://groups.google.com/forum/#!topic/ultra-cheap-sdr/Y3rBEOFtHug
// ... | HarveyHunt/linux | drivers/media/tuners/r820t.c | C | gpl-2.0 | 56,360 |
/*
* fs/eventpoll.c (Efficient event retrieval implementation)
* Copyright (C) 2001,...,2009 Davide Libenzi
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the ... | Lloir/nvidia-linux-3.10 | fs/eventpoll.c | C | gpl-2.0 | 59,879 |
/*
* Copyright (c) 2007 Mellanox Technologies. All rights reserved.
*
* This software is available to you under a choice of one of two
* licenses. You may choose to be licensed under the terms of the GNU
* General Public License (GPL) Version 2, available from the file
* COPYING in the main directory of this sou... | libos-nuse/net-next-nuse | drivers/net/ethernet/mellanox/mlx4/port.c | C | gpl-2.0 | 56,947 |
/*
* Copyright (C) 2005-2009 Junjiro R. Okajima
*
* This program, aufs is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This... | ArthySundaram/firstrepo | ubuntu/aufs/dinfo.c | C | gpl-2.0 | 8,230 |
/*
* Copyright (C) 2009 HTC
*
* This software is licensed under the terms of the GNU General Public
* License version 2, as published by the Free Software Foundation, and
* may be copied, distributed, and modified under those terms.
*
* This program is distributed in the hope that it will be useful,
* but WITHO... | securecrt/linux-leo | drivers/video/msm/hdmi/silicon-image/av_config.c | C | gpl-2.0 | 11,531 |
/*
* linux/kernel/profile.c
* Simple profiling. Manages a direct-mapped profile hit count buffer,
* with configurable resolution, support for restricting the cpus on
* which profiling is done, and switching between cpu time and
* schedule() calls via kernel command line parameters passed at boot.
*
* Sched... | docent-net/kernel-2.6.11.12 | kernel/profile.c | C | gpl-2.0 | 15,033 |
/*
*
* Copyright 2016, Google Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* * Redistributions of source code must retain the above copyright
* notice, this list of condi... | rjshade/grpc | src/core/lib/iomgr/endpoint_pair_posix.c | C | bsd-3-clause | 3,206 |
/*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation; either version 2 of
* the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be use... | mikewadsten/asuswrt | release/src/router/vsftpd/standalone.c | C | gpl-2.0 | 8,337 |
/* $NoKeywords:$ */
/**
* @file
*
* AMD Family_10 WHEA initial Data
*
* @xrefitem bom "File Content Label" "Release Content"
* @e project: AGESA
* @e sub-project: CPU
* @e \$Revision: 35136 $ @e \$Date: 2010-07-16 11:29:48 +0800 (Fri, 16 Jul 2010) $
*
*/
/*
*******************************************... | lynxis/coreboot | src/vendorcode/amd/agesa/f14/Proc/CPU/Family/0x10/cpuF10WheaInitDataTables.c | C | gpl-2.0 | 5,282 |
/*
* chainiv: Chain IV Generator
*
* Generate IVs simply be using the last block of the previous encryption.
* This is mainly useful for CBC with a synchronous algorithm.
*
* Copyright (c) 2007 Herbert Xu <herbert@gondor.apana.org.au>
*
* This program is free software; you can redistribute it and/or modify it
... | JonnyH/pandora-kernel | crypto/chainiv.c | C | gpl-2.0 | 8,198 |
/*
* Copyright 2008 Freescale Semiconductor, Inc.
*
* (C) Copyright 2000
* Wolfgang Denk, DENX Software Engineering, wd@denx.de.
*
* See file CREDITS for list of people who contributed to this
* project.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU G... | stanxii/wr1004sjl | u-boot-1.3.4/board/sbc8548/tlb.c | C | lgpl-2.1 | 3,423 |
/*
* Sierra VMD Audio & Video Decoders
* Copyright (C) 2004 the ffmpeg project
*
* This file is part of FFmpeg.
*
* FFmpeg is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 o... | xbmc/atv2 | xbmc/cores/dvdplayer/Codecs/ffmpeg/libavcodec/vmdav.c | C | gpl-2.0 | 17,805 |
/*
* linux/fs/proc/base.c
*
* Copyright (C) 1991, 1992 Linus Torvalds
*
* proc base directory handling functions
*
* 1999, Al Viro. Rewritten. Now it covers the whole per-process part.
* Instead of using magical inumbers to determine the kind of object
* we allocate and fill in-core inodes upon lookup. T... | pichina/linux-bcache | fs/proc/base.c | C | gpl-2.0 | 76,057 |
/* Copyright (C) 2005, 2006 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the... | mseaborn/nacl-glibc | stdio-common/renameat.c | C | gpl-2.0 | 1,415 |
/* linux/arch/arm/common/pl330.c
*
* Copyright (C) 2010 Samsung Electronics Co Ltd.
* Jaswinder Singh <jassi.brar@samsung.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either ver... | zachariasmaladroit/android_kernel_samsung_aries | arch/arm/common/pl330.c | C | gpl-2.0 | 42,341 |
/* Core dump and executable file functions below target vector, for GDB.
Copyright (C) 1986-2015 Free Software Foundation, Inc.
This file is part of GDB.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free S... | crystax/android-toolchain-gdb-7-10 | gdb/corelow.c | C | gpl-2.0 | 28,664 |
/*
* Amlogic Meson Successive Approximation Register (SAR) A/D Converter
*
* Copyright (C) 2017 Martin Blumenstingl <martin.blumenstingl@googlemail.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the ... | aberlemont/linux | drivers/iio/adc/meson_saradc.c | C | gpl-2.0 | 28,017 |
/*
* APIC driver for "bigsmp" XAPIC machines with more than 8 virtual CPUs.
* Drives the local APIC in "clustered mode".
*/
#define APIC_DEFINITION 1
#include <linux/threads.h>
#include <linux/cpumask.h>
#include <asm/mpspec.h>
#include <asm/genapic.h>
#include <asm/fixmap.h>
#include <asm/apicdef.h>
#include <linux... | kzlin129/tt-gpl | go12/linux-2.6.28.10/arch/x86/mach-generic/bigsmp.c | C | gpl-2.0 | 1,354 |
/*
* arch/s390x/kernel/delay.c
* Precise Delay Loops for S390
*
* S390 version
* Copyright (C) 1999 IBM Deutschland Entwicklung GmbH, IBM Corporation
* Author(s): Martin Schwidefsky (schwidefsky@de.ibm.com),
*
* Derived from "arch/i386/lib/delay.c"
* Copyright (C) 1993 Linus Torvalds
* Copyr... | sensysnetworks/uClinux | linux-2.4.x/arch/s390x/lib/delay.c | C | gpl-2.0 | 1,396 |
/* mbed Microcontroller Library
* Copyright (c) 2006-2017 ARM Limited
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by... | ryankurte/mbed-os | targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F411xE/TARGET_SAKURAIO_EVB_01/system_clock.c | C | apache-2.0 | 10,577 |
/* Copyright (c) 2011-2012, Code Aurora Forum. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
* only version 2 as published by the Free Software Foundation.
*
* This program is distributed in the ho... | Altaf-Mahdi/mako-kernel-old | arch/arm/mach-msm/devices-msm7x27a.c | C | gpl-2.0 | 41,898 |
// SPDX-License-Identifier: ISC
/* Copyright (C) 2020 MediaTek Inc. */
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/platform_device.h>
#include <linux/pci.h>
#include "mt7615.h"
#include "regs.h"
#include "mac.h"
#include "../trace.h"
const u32 mt7615e_reg_map[] = {
[MT_TOP_CFG_BASE] = 0x0100... | HinTak/linux | drivers/net/wireless/mediatek/mt76/mt7615/mmio.c | C | gpl-2.0 | 7,124 |
/*
* SA1100 Power Management Routines
*
* Copyright (c) 2001 Cliff Brake <cbrake@accelent.com>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License.
*
* History:
*
* 2001-02-06: Cliff Brake Initial code
*
* 2001-02-25: Sukjae... | foxsat-hdr/linux-kernel | arch/arm/mach-sa1100/pm.c | C | gpl-2.0 | 3,408 |
/*
* (C) Copyright 2009 DENX Software Engineering
* Author: John Rigby <jrigby@gmail.com>
*
* Based on mx27/generic.c:
* Copyright (c) 2008 Eric Jarrige <eric.jarrige@armadeus.org>
* Copyright (c) 2009 Ilya Yanok <yanok@emcraft.com>
*
* This program is free software; you can redistribute it and/or
* modify i... | JeremySavonet/Eurobot-2017-Moon-Village | software/custom_leds/fpga/software/spl_bsp/uboot-socfpga/arch/arm/cpu/arm926ejs/mx25/generic.c | C | gpl-3.0 | 8,917 |
/* operational.c - monitor backend operational attributes function */
/* $OpenLDAP: pkg/ldap/servers/slapd/back-monitor/operational.c,v 1.17.2.8 2011/01/04 23:50:38 kurt Exp $ */
/* This work is part of OpenLDAP Software <http://www.openldap.org/>.
*
* Copyright 2001-2011 The OpenLDAP Foundation.
* Portions Copyrigh... | mapr/impala | thirdparty/openldap-2.4.25/servers/slapd/back-monitor/operational.c | C | apache-2.0 | 1,827 |
#include <linux/types.h>
#include <linux/interrupt.h>
#include <linux/irq.h>
#include <linux/smp.h>
#include <linux/time.h>
#include <linux/clockchips.h>
#include <asm/i8253.h>
#include <asm/sni.h>
#include <asm/time.h>
#include <asm-generic/rtc.h>
#define SNI_CLOCK_TICK_RATE 3686400
#define SNI_COUNTER2_DIV ... | JijonHyuni/HyperKernel-JB | virt/arch/mips/sni/time.c | C | gpl-2.0 | 4,984 |
// SPDX-License-Identifier: GPL-2.0-only
/*
* Xen PCI - handle PCI (INTx) and MSI infrastructure calls for PV, HVM and
* initial domain support. We also handle the DSDT _PRT callbacks for GSI's
* used in HVM and initial domain mode (PV does not parse ACPI, so it has no
* concept of GSIs). Under PV we hook under the... | chenshuo/linux-study | arch/x86/pci/xen.c | C | gpl-2.0 | 16,582 |
/*
* linux/mm/mlock.c
*
* (C) Copyright 1995 Linus Torvalds
* (C) Copyright 2002 Christoph Hellwig
*/
#include <linux/capability.h>
#include <linux/mman.h>
#include <linux/mm.h>
#include <linux/swap.h>
#include <linux/swapops.h>
#include <linux/pagemap.h>
#include <linux/pagevec.h>
#include <linux/mempolicy.h>
... | AKuHAK/xcover3ltexx_custom_kernel | mm/mlock.c | C | gpl-3.0 | 23,161 |
/* Copyright (c) 2016 Phoenix Systems
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright
notice, this list of condition... | GarethNelson/Zoidberg | userland/newlib/newlib/libc/sys/phoenix/symlink.c | C | gpl-2.0 | 1,931 |
/***************************************************************************
* _ _ ____ _
* Project ___| | | | _ \| |
* / __| | | | |_) | |
* | (__| |_| | _ <| |___
* \___|\... | Necktrox/mtasa-blue | vendor/curl/docs/examples/multi-double.c | C | gpl-3.0 | 4,101 |
/*
* Universal Interface for Intel High Definition Audio Codec
*
* Copyright (c) 2004 Takashi Iwai <tiwai@suse.de>
*
*
* This driver is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 ... | nazgee/igep-kernel | sound/pci/hda/hda_codec.c | C | gpl-2.0 | 135,529 |
/*
* Blackfin CPLB exception handling for when MPU in on
*
* Copyright 2008-2009 Analog Devices Inc.
*
* Licensed under the GPL-2 or later.
*/
#include <linux/module.h>
#include <linux/mm.h>
#include <asm/blackfin.h>
#include <asm/cacheflush.h>
#include <asm/cplb.h>
#include <asm/cplbinit.h>
#include <asm/mmu_c... | jameshilliard/m8-3.4.0-gb1fa77f | arch/blackfin/kernel/cplb-mpu/cplbmgr.c | C | gpl-2.0 | 8,421 |
/* This testcase is part of GDB, the GNU debugger.
Copyright 2012-2013 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
... | hzq1001/or1k-src | gdb/testsuite/gdb.base/ctxobj-m.c | C | gpl-2.0 | 1,172 |
/*
* Copyright (c) 2000-2002,2005 Silicon Graphics, Inc.
* All Rights Reserved.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it woul... | jameshilliard/m8-3.4.0-gb1fa77f | fs/xfs/xfs_alloc.c | C | gpl-2.0 | 55,605 |
/*
* net/tipc/net.c: TIPC network routing code
*
* Copyright (c) 1995-2006, Ericsson AB
* Copyright (c) 2005, 2010-2011, Wind River Systems
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
... | jameshilliard/m8-3.4.0-gb1fa77f | net/tipc/net.c | C | gpl-2.0 | 3,977 |
/*
* Copyright (C) 2010 Nokia
* Copyright (C) 2010 Texas Instruments
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*/
#include <linux/module.h>
#include <linux/init.h>
#in... | AccentureMobilityServices/kernel | arch/arm/mach-omap2/mux2430.c | C | gpl-2.0 | 30,603 |
/* LibTomCrypt, modular cryptographic library -- Tom St Denis
*
* LibTomCrypt is a library that provides various cryptographic
* algorithms in a highly modular and flexible manner.
*
* The library is free for all purposes without any express
* guarantee it works.
*
* Tom St Denis, tomstdenis@gmail.com, http://l... | rhuitl/uClinux | user/dropbear/libtomcrypt/src/pk/dsa/dsa_verify_key.c | C | gpl-2.0 | 2,735 |
#include <linux/sched.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/clk.h>
#include <linux/io.h>
#include <linux/wakelock.h>
#include <linux/time.h>
#include <linux/kernel_stat.h>
#include <linux/rtc.h>
#include <linux/irq.h>
#include <linux/time.h>
#include <linux/wakelock.h>
#include <../clock.... | sbryan12144/BeastMode-Elite | arch/arm/mach-msm/htc_util.c | C | gpl-2.0 | 11,275 |
#include <linux/kernel.h>
#include <linux/file.h>
#include <linux/fs.h>
#include <linux/slab.h>
#include <linux/export.h>
#include <linux/namei.h>
#include <linux/sched.h>
#include <linux/writeback.h>
#include <linux/syscalls.h>
#include <linux/linkage.h>
#include <linux/pagemap.h>
#include <linux/quotaops.h>
#include... | MyAOSP/kernel_htc_m7 | fs/sync.c | C | gpl-2.0 | 9,459 |
// SPDX-License-Identifier: GPL-2.0
#include <test_progs.h>
void test_reference_tracking(void)
{
const char *file = "test_sk_lookup_kern.o";
const char *obj_name = "ref_track";
DECLARE_LIBBPF_OPTS(bpf_object_open_opts, open_opts,
.object_name = obj_name,
.relaxed_maps = true,
);
struct bpf_object *obj;
struc... | tprrt/linux-stable | tools/testing/selftests/bpf/prog_tests/reference_tracking.c | C | gpl-2.0 | 1,259 |
/*
* linux/fs/fat/inode.c
*
* Written 1992,1993 by Werner Almesberger
* VFAT extensions by Gordon Chaffee, merged with msdos fs by Henrik Storner
* Rewritten for the constant inumbers support by Al Viro
*
* Fixes:
*
* Max Cohan: Fixed invalid FSINFO offset when info_sector is 0
*/
#include <linux/module... | MikeUYSCUTI/surnia_msm8916 | fs/fat/inode.c | C | gpl-2.0 | 43,988 |
/*********************************************************************
*
* Filename: ircomm_tty.c
* Version: 1.0
* Description: IrCOMM serial TTY driver
* Status: Experimental.
* Author: Dag Brattli <dagb@cs.uit.no>
* Created at: Sun Jun 6 21:00:56 1999
* Modified at: Wed Feb 23... | hannes/linux | drivers/staging/irda/net/ircomm/ircomm_tty.c | C | gpl-2.0 | 36,674 |
/*
* RNDIS MSG parser
*
* Authors: Benedikt Spranger, Pengutronix
* Robert Schwebel, Pengutronix
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* version 2, as published by the Free Software ... | SanDisk-Open-Source/SSD_Dashboard | uefi/linux-source-3.8.0/drivers/usb/gadget/rndis.c | C | gpl-2.0 | 29,869 |
/*======================================================================
Aironet driver for 4500 and 4800 series cards
This code is released under both the GPL version 2 and BSD licenses.
Either license may be used. The respective licenses are found at
the end of this file.
This code was develop... | go2ev-devteam/Gplus_2159_0801 | openplatform/sdk/os/kernel-2.6.32/drivers/net/wireless/airo_cs.c | C | gpl-2.0 | 16,214 |
/*
BlueZ - Bluetooth protocol stack for Linux
Copyright (C) 2000-2001 Qualcomm Incorporated
Copyright (C) 2011 ProFUSION Embedded Systems
Written 2000,2001 by Maxim Krasnyansky <maxk@qualcomm.com>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU Gene... | david-a-wheeler/linux | net/bluetooth/hci_core.c | C | gpl-2.0 | 101,128 |
#ifdef pr_fmt
#undef pr_fmt
#endif
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/printk.h>
#include <linux/types.h>
#include <linux/kobject.h>
#include "mach/mtk_thermal_monitor.h"
#include <mach/system.h>
/* This API function is implemented in media... | Tesla-Redux-Devices/android_kernel_mediatek_sprout | drivers/misc/mediatek/thermal/mtk_cooler_backlight.c | C | gpl-2.0 | 4,624 |
/******************************************************************************
* Filename: trng.c
* Revised: 2017-04-26 18:27:45 +0200 (Wed, 26 Apr 2017)
* Revision: 48852
*
* Description: Driver for the TRNG module
*
* Copyright (c) 2015 - 2017, Texas Instruments Incorporated
* All rights ... | georgecpr/openthread | third_party/ti/devices/cc26x2/driverlib/trng.c | C | bsd-3-clause | 4,509 |
/*
* RTL8XXXU mac80211 USB driver - 8723b specific subdriver
*
* Copyright (c) 2014 - 2016 Jes Sorensen <Jes.Sorensen@redhat.com>
*
* Portions, notably calibration code:
* Copyright(c) 2007 - 2011 Realtek Corporation. All rights reserved.
*
* This driver was written as a replacement for the vendor provided
* r... | sjp38/linux.doc_trans_membarrier | drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723b.c | C | gpl-2.0 | 51,654 |
/* Copyright (c) 2011-2012, The Linux Foundation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
* only version 2 as published by the Free Software Foundation.
*
* This program is distributed in the... | Solitarily/LGF180-Optimus-G-_Android_KK_v30b_Kernel | arch/arm/mach-msm/lge/gvkr/board-gk-storage.c | C | gpl-2.0 | 31,964 |
/*
* mac80211 configuration hooks for cfg80211
*
* Copyright 2006-2010 Johannes Berg <johannes@sipsolutions.net>
*
* This file is GPLv2 as found in COPYING.
*/
#include <linux/ieee80211.h>
#include <linux/nl80211.h>
#include <linux/rtnetlink.h>
#include <linux/slab.h>
#include <net/net_namespace.h>
#include <lin... | JijonHyuni/HyperKernel-JB | virt/net/mac80211/cfg.c | C | gpl-2.0 | 55,507 |
/*
* linux/fs/ufs/util.c
*
* Copyright (C) 1998
* Daniel Pirkl <daniel.pirkl@email.cz>
* Charles University, Faculty of Mathematics and Physics
*/
#include <linux/string.h>
#include <linux/slab.h>
#include <linux/buffer_head.h>
#include "ufs_fs.h"
#include "ufs.h"
#include "swab.h"
#include "util.h"
struct u... | AiJiaZone/linux-4.0 | virt/fs/ufs/util.c | C | gpl-2.0 | 6,184 |
// SPDX-License-Identifier: GPL-2.0
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include <linux/errno.h>
#include <linux/kernel.h>
#include <linux/mm.h>
#include <linux/smp.h>
#include <linux/prctl.h>
#include <linux/slab.h>
#include <linux/sched.h>
#include <linux/sched/idle.h>
#include <linux/sched/debug.h>
#include... | koct9i/linux | arch/x86/kernel/process.c | C | gpl-2.0 | 21,539 |
/*
* Sunplus spca561 subdriver
*
* Copyright (C) 2004 Michel Xhaard mxhaard@magic.fr
*
* V4L2 by Jean-Francois Moine <http://moinejf.free.fr>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Found... | botioni/aml_linux_kernel | drivers/media/video/gspca/spca561.c | C | gpl-2.0 | 29,013 |
/*
* GPL HEADER START
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 only,
* as published by the Free Software Foundation.
*
* This program is distributed... | BPI-SINOVOIP/BPI-Mainline-kernel | linux-4.14/drivers/staging/lustre/lnet/lnet/acceptor.c | C | gpl-2.0 | 12,755 |
/* udis86 - libudis86/syn.c
*
* Copyright (c) 2002-2013 Vivek Thampi
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
*
* * Redistributions of source code must retain the above copyr... | bhootravi/radare2 | shlr/udis86/syn.c | C | gpl-3.0 | 6,252 |
/*
* KZM-ARM11-01 support
* Copyright (C) 2009 Yoichi Yuasa <yuasa@linux-mips.org>
*
* based on code for MX31ADS,
* Copyright (C) 2000 Deep Blue Solutions Ltd
* Copyright (C) 2002 Shane Nay (shane@minirl.com)
* Copyright 2005-2007 Freescale Semiconductor, Inc. All Rights Reserved.
*
* This program is free... | rahulkodinya/drm | arch/arm/mach-imx/mach-kzm_arm11_01.c | C | gpl-2.0 | 7,699 |
// SPDX-License-Identifier: GPL-2.0
/*
* PCI Endpoint *Controller* (EPC) library
*
* Copyright (C) 2017 Texas Instruments
* Author: Kishon Vijay Abraham I <kishon@ti.com>
*/
#include <linux/device.h>
#include <linux/slab.h>
#include <linux/module.h>
#include <linux/of_device.h>
#include <linux/pci-epc.h>
#includ... | HinTak/linux | drivers/pci/endpoint/pci-epc-core.c | C | gpl-2.0 | 21,190 |
/* ldbuildid.c - Build Id support routines
Copyright (C) 2013-2015 Free Software Foundation, Inc.
This file is part of the GNU Binutils.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation... | selmentdev/selment-toolchain | source/binutils-latest/ld/ldbuildid.c | C | gpl-3.0 | 3,601 |
// SPDX-License-Identifier: GPL-2.0-only
/*
* HID Sensors Driver
* Copyright (c) 2012, Intel Corporation.
*/
#include <linux/device.h>
#include <linux/platform_device.h>
#include <linux/module.h>
#include <linux/mod_devicetable.h>
#include <linux/hid-sensor-hub.h>
#include <linux/iio/iio.h>
#include <linux/iio/buffe... | tprrt/linux-stable | drivers/iio/magnetometer/hid-sensor-magn-3d.c | C | gpl-2.0 | 16,384 |
/*
* Generic page table allocator for IOMMUs.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOU... | mericon/Xp_Kernel_LGH850 | virt/drivers/iommu/io-pgtable.c | C | gpl-2.0 | 3,550 |
/**
******************************************************************************
* @file stm32f7xx_hal_hcd.c
* @author MCD Application Team
* @version V1.2.2
* @date 14-April-2017
* @brief HCD HAL module driver.
* This file provides firmware functions to manage the following
* ... | watsonc4/watson | libraries/stm32f7xx_hal/src/stm32f7xx_hal_hcd.c | C | apache-2.0 | 35,332 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.