repo_name string | path string | copies string | size string | content string | license string |
|---|---|---|---|---|---|
sultanqasim/android_kernel_motorola_otus | arch/arm/mach-msm/ipc_router.c | 699 | 93652 | /* Copyright (c) 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 in the... | gpl-2.0 |
jpoirier/linux | drivers/tty/serial/8250/8250_pnp.c | 699 | 14835 | /*
* Probe for 8250/16550-type ISAPNP serial ports.
*
* Based on drivers/char/serial.c, by Linus Torvalds, Theodore Ts'o.
*
* Copyright (C) 2001 Russell King, All Rights Reserved.
*
* Ported to the Linux PnP Layer - (C) Adam Belay.
*
* This program is free software; you can redistribute it and/or modify
*... | gpl-2.0 |
shabinp555/https-github.com-torvalds-linux | drivers/target/iscsi/iscsi_target_nodeattrib.c | 1467 | 7715 | /*******************************************************************************
* This file contains the main functions related to Initiator Node Attributes.
*
* (c) Copyright 2007-2013 Datera, Inc.
*
* Author: Nicholas A. Bellinger <nab@linux-iscsi.org>
*
* This program is free software; you can redistribute i... | gpl-2.0 |
n-aizu/linux-linaro-stable-mx6 | arch/arm/mach-spear/spear300.c | 1467 | 4528 | /*
* arch/arm/mach-spear3xx/spear300.c
*
* SPEAr300 machine source file
*
* Copyright (C) 2009-2012 ST Microelectronics
* Viresh Kumar <viresh.linux@gmail.com>
*
* This file is licensed under the terms of the GNU General Public
* License version 2. This program is licensed "as is" without any
* warranty of an... | gpl-2.0 |
goodhanrry/G9250_goodhanrry_kernel | drivers/char/hw_random/virtio-rng.c | 2235 | 3711 | /*
* Randomness driver for virtio
* Copyright (C) 2007, 2008 Rusty Russell IBM Corporation
*
* 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... | gpl-2.0 |
AndroPlus-org/kernel | drivers/net/plip/plip.c | 2235 | 35143 | /* $Id: plip.c,v 1.3.6.2 1997/04/16 15:07:56 phil Exp $ */
/* PLIP: A parallel port "network" driver for Linux. */
/* This driver is for parallel port with 5-bit cable (LapLink (R) cable). */
/*
* Authors: Donald Becker <becker@scyld.com>
* Tommy Thorn <thorn@daimi.aau.dk>
* Tanabe Hiroyasu <hiro@sanpo.t.u-tokyo.a... | gpl-2.0 |
madprogrammer/linux-aurora | fs/reiserfs/namei.c | 2491 | 45139 | /*
* Copyright 2000 by Hans Reiser, licensing governed by reiserfs/README
*
* Trivial changes by Alan Cox to remove EHASHCOLLISION for compatibility
*
* Trivial Changes:
* Rights granted to Hans Reiser to redistribute under other terms providing
* he accepts all liability including but not limited to patent, fit... | gpl-2.0 |
etwoc/gc300-kernel | drivers/media/dvb/frontends/s921.c | 3259 | 11854 | /*
* Sharp VA3A5JZ921 One Seg Broadcast Module driver
* This device is labeled as just S. 921 at the top of the frontend can
*
* Copyright (C) 2009-2010 Mauro Carvalho Chehab <mchehab@redhat.com>
* Copyright (C) 2009-2010 Douglas Landgraf <dougsland@redhat.com>
*
* Developed for Leadership SBTVD 1seg d... | gpl-2.0 |
AOSParadox/android_kernel_cyanogen_msm8916 | security/tomoyo/condition.c | 3515 | 27738 | /*
* security/tomoyo/condition.c
*
* Copyright (C) 2005-2011 NTT DATA CORPORATION
*/
#include "common.h"
#include <linux/slab.h>
/* List of "struct tomoyo_condition". */
LIST_HEAD(tomoyo_condition_list);
/**
* tomoyo_argv - Check argv[] in "struct linux_binbrm".
*
* @index: Index number of @arg_ptr.
* @ar... | gpl-2.0 |
faux123/mako | security/selinux/xfrm.c | 4027 | 10872 | /*
* NSA Security-Enhanced Linux (SELinux) security module
*
* This file contains the SELinux XFRM hook function implementations.
*
* Authors: Serge Hallyn <sergeh@us.ibm.com>
* Trent Jaeger <jaegert@us.ibm.com>
*
* Updated: Venkat Yekkirala <vyekkirala@TrustedCS.com>
*
* Granular IPSec A... | gpl-2.0 |
mdeejay/kernel-tuna | drivers/tty/serial/mux.c | 4027 | 15445 | /*
** mux.c:
** serial driver for the Mux console found in some PA-RISC servers.
**
** (c) Copyright 2002 Ryan Bradetich
** (c) Copyright 2002 Hewlett-Packard Company
**
** 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... | gpl-2.0 |
GalaxyTab4/bliss_kernel_samsung_millet | drivers/net/irda/donauboe.c | 4795 | 48121 | /*****************************************************************
*
* Filename: donauboe.c
* Version: 2.17
* Description: Driver for the Toshiba OBOE (or type-O or 701)
* FIR Chipset, also supports the DONAUOBOE (type-DO
* or d01) FIR chipset which as far as I know is
* ... | gpl-2.0 |
omnirom/android_kernel_samsung_lt03lte | arch/powerpc/platforms/powermac/setup.c | 7355 | 16022 | /*
* Powermac setup and early boot code plus other random bits.
*
* PowerPC version
* Copyright (C) 1995-1996 Gary Thomas (gdt@linuxppc.org)
*
* Adapted for Power Macintosh by Paul Mackerras
* Copyright (C) 1996 Paul Mackerras (paulus@samba.org)
*
* Derived from "arch/alpha/kernel/setup.c"
* Copy... | gpl-2.0 |
linuxvom/linux | drivers/rtc/rtc-at91rm9200.c | 188 | 14325 | /*
* Real Time Clock interface for Linux on Atmel AT91RM9200
*
* Copyright (C) 2002 Rick Bronson
*
* Converted to RTC class model by Andrew Victor
*
* Ported to Linux 2.6 by Steven Scholz
* Based on s3c2410-rtc.c Simtec Electronics
*
* Based on sa1100-rtc.c by Nils Faerber
* Based on rtc.c by Paul Gortmaker
... | gpl-2.0 |
jcmvbkbc/gcc-xtensa | gcc/testsuite/gfortran.fortran-torture/execute/specifics.f90 | 188 | 7633 | ! Program to test intrinsic functions as actual arguments
!
! Please keep the content of this file in sync with gfortran.dg/specifics_1.f90
subroutine test_c(fn, val, res)
complex fn
complex val, res
if (diff(fn(val),res)) call abort
contains
function diff(a,b)
complex a,b
logical diff
diff = (abs(a - b) .... | gpl-2.0 |
jmztaylor/kernel_gb_marvelc | sound/pci/rme9652/hdspm.c | 444 | 125801 | /*
* ALSA driver for RME Hammerfall DSP MADI audio interface(s)
*
* Copyright (c) 2003 Winfried Ritsch (IEM)
* code based on hdsp.c Paul Davis
* Marcus Andersson
* Thomas Charbonnel
* Modified 2006-06-01 for AES32 support by Remy Bruno
*... | gpl-2.0 |
shorelinedev/aosp_kernel_geeb | arch/arm/mach-msm/qdsp6v2/apr_v2.c | 1212 | 3368 | /*
* Copyright (c) 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 h... | gpl-2.0 |
scarsxxx/kernel | drivers/infiniband/core/addr.c | 1980 | 11602 | /*
* Copyright (c) 2005 Voltaire Inc. All rights reserved.
* Copyright (c) 2002-2005, Network Appliance, Inc. All rights reserved.
* Copyright (c) 1999-2005, Mellanox Technologies, Inc. All rights reserved.
* Copyright (c) 2005 Intel Corporation. All rights reserved.
*
* This software is available to you under ... | gpl-2.0 |
jerdog/android_kernel_asus_ze500cl | drivers/gpu/host1x/hw/host1x01.c | 2236 | 1246 | /*
* Host1x init for T20 and T30 Architecture Chips
*
* Copyright (c) 2011-2013, NVIDIA Corporation.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms and conditions of the GNU General Public License,
* version 2, as published by the Free Software Foundation.
*
* Thi... | gpl-2.0 |
Dee-UK/D33_KK_RK3066 | fs/jfs/namei.c | 2492 | 38689 | /*
* Copyright (C) International Business Machines Corp., 2000-2004
* Portions Copyright (C) Christoph Hellwig, 2001-2002
*
* 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; eithe... | gpl-2.0 |
airend/Elefrant-N5 | drivers/gpu/drm/i915/intel_ringbuffer.c | 2748 | 39594 | /*
* Copyright © 2008-2010 Intel Corporation
*
* 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, merge... | gpl-2.0 |
crpalmer/android_kernel_huawei_kiwi | drivers/media/dvb-frontends/s5h1432.c | 3772 | 11189 | /*
* Samsung s5h1432 DVB-T demodulator driver
*
* Copyright (C) 2009 Bill Liu <Bill.Liu@Conexant.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 version 2 of the Licens... | gpl-2.0 |
gwindlord/android_kernel_lenovo_b8000 | drivers/gpu/drm/radeon/radeon_kms.c | 4028 | 16624 | /*
* Copyright 2008 Advanced Micro Devices, Inc.
* Copyright 2008 Red Hat Inc.
* Copyright 2009 Jerome Glisse.
*
* 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, in... | gpl-2.0 |
goodhanrry/N910U_goodhanrry_kernel | drivers/ide/triflex.c | 4796 | 3900 | /*
* IDE Chipset driver for the Compaq TriFlex IDE controller.
*
* Known to work with the Compaq Workstation 5x00 series.
*
* Copyright (C) 2002 Hewlett-Packard Development Group, L.P.
* Author: Torben Mathiasen <torben.mathiasen@hp.com>
*
* This program is free software; you can redistribute it and/or modify
... | gpl-2.0 |
Gabriel85/android_kernel_sony_apq8064 | fs/ext3/balloc.c | 4796 | 63451 | /*
* linux/fs/ext3/balloc.c
*
* Copyright (C) 1992, 1993, 1994, 1995
* Remy Card (card@masi.ibp.fr)
* Laboratoire MASI - Institut Blaise Pascal
* Universite Pierre et Marie Curie (Paris VI)
*
* Enhanced block allocation by Stephen Tweedie (sct@redhat.com), 1993
* Big-endian to little-endian byte-swapping/bi... | gpl-2.0 |
juanxincai521/us780 | drivers/media/common/saa7146_fops.c | 5052 | 14106 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include <media/saa7146_vv.h>
#include <linux/module.h>
/****************************************************************************/
/* resource management functions, shamelessly stolen from saa7134 driver */
int saa7146_res_get(struct saa7146_fh *fh, unsigned int bit)
{... | gpl-2.0 |
revjunkie/lge-g2-d802 | drivers/media/common/saa7146_fops.c | 5052 | 14106 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include <media/saa7146_vv.h>
#include <linux/module.h>
/****************************************************************************/
/* resource management functions, shamelessly stolen from saa7134 driver */
int saa7146_res_get(struct saa7146_fh *fh, unsigned int bit)
{... | gpl-2.0 |
1DeMaCr/android_hd_kernel_samsung_codina | drivers/isdn/sc/timer.c | 5052 | 3836 | /* $Id: timer.c,v 1.3.6.1 2001/09/23 22:24:59 kai Exp $
*
* Copyright (C) 1996 SpellCaster Telecommunications Inc.
*
* This software may be used and distributed according to the terms
* of the GNU General Public License, incorporated herein by reference.
*
* For more information, please contact gpl-info@spellca... | gpl-2.0 |
alexax66/CM11_kernel_serranodsxx | drivers/bluetooth/bpa10x.c | 7356 | 10950 | /*
*
* Digianswer Bluetooth USB driver
*
* Copyright (C) 2004-2007 Marcel Holtmann <marcel@holtmann.org>
*
*
* 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 th... | gpl-2.0 |
YachaoLiu/rk3288_kernel | arch/powerpc/platforms/83xx/asp834x.c | 8892 | 1494 | /*
* arch/powerpc/platforms/83xx/asp834x.c
*
* Analogue & Micro ASP8347 board specific routines
* clone of mpc834x_itx
*
* Copyright 2008 Codehermit
*
* Maintainer: Bryan O'Donoghue <bodonoghue@codhermit.ie>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of t... | gpl-2.0 |
CallMeAldy/AK-Mako-Old | drivers/ide/ide-4drives.c | 9916 | 1516 |
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/module.h>
#include <linux/ide.h>
#define DRV_NAME "ide-4drives"
static bool probe_4drives;
module_param_named(probe, probe_4drives, bool, 0);
MODULE_PARM_DESC(probe, "probe for generic IDE chipset with 4 drives/port");
static void ide_4drives_init_d... | gpl-2.0 |
TripNRaVeR/caf_kernel_msm_htc_m7 | drivers/ide/rz1000.c | 9916 | 2345 | /*
* Copyright (C) 1995-1998 Linus Torvalds & author (see below)
*/
/*
* Principal Author: mlord@pobox.com (Mark Lord)
*
* See linux/MAINTAINERS for address of current maintainer.
*
* This file provides support for disabling the buggy read-ahead
* mode of the RZ1000 IDE chipset, commonly used on Intel m... | gpl-2.0 |
DESHONOR/android_kernel_huawei_g620s_Eloy | drivers/net/wireless/b43/tables_lpphy.c | 9916 | 153834 | /*
Broadcom B43 wireless driver
IEEE 802.11a/g LP-PHY and radio device data tables
Copyright (c) 2009 Michael Buesch <m@bues.ch>
Copyright (c) 2009 Gábor Stefanik <netrolller.3d@gmail.com>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public Li... | gpl-2.0 |
NoelMacwan/Kernel-Honami-14.1.N.0.52 | arch/ia64/kernel/ftrace.c | 11708 | 5592 | /*
* Dynamic function tracing support.
*
* Copyright (C) 2008 Shaohua Li <shaohua.li@intel.com>
*
* For licencing details, see COPYING.
*
* Defines low-level handling of mcount calls when the kernel
* is compiled with the -pg flag. When using dynamic ftrace, the
* mcount call-sites get patched lazily with NOP ... | gpl-2.0 |
pengdonglin137/linux-4.4_tiny4412 | net/bridge/br_forward.c | 189 | 7277 | /*
* Forwarding decision
* Linux ethernet bridge
*
* Authors:
* Lennert Buytenhek <buytenh@gnu.org>
*
* 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... | gpl-2.0 |
jiwanlimbu/ceph-client | net/ipv4/udp.c | 189 | 65590 | /*
* INET An implementation of the TCP/IP protocol suite for the LINUX
* operating system. INET is implemented using the BSD Socket
* interface as the means of communication with the user level.
*
* The User Datagram Protocol (UDP).
*
* Authors: Ross Biro
* Fred N. van Kempen, <waltje@uWalt.NL.Mugnet.ORG... | gpl-2.0 |
sunsettrack4/android_kernel_oneplus_msm8996 | mm/zbud.c | 445 | 18281 | /*
* zbud.c
*
* Copyright (C) 2013, Seth Jennings, IBM
*
* Concepts based on zcache internal zbud allocator by Dan Magenheimer.
*
* zbud is an special purpose allocator for storing compressed pages. Contrary
* to what its name may suggest, zbud is not a buddy allocator, but rather an
* allocator that "buddies... | gpl-2.0 |
yslzsl/linux | net/ipv4/tcp_veno.c | 445 | 5767 | /*
* TCP Veno congestion control
*
* This is based on the congestion detection/avoidance scheme described in
* C. P. Fu, S. C. Liew.
* "TCP Veno: TCP Enhancement for Transmission over Wireless Access Networks."
* IEEE Journal on Selected Areas in Communication,
* Feb. 2003.
* See http://www.ie.cuhk... | gpl-2.0 |
Split-Screen/android_kernel_htc_flounder | fs/xfs/xfs_qm.c | 1213 | 48027 | /*
* Copyright (c) 2000-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 would be ... | gpl-2.0 |
NeverLEX/linux | drivers/gpu/drm/radeon/radeon_ucode.c | 1981 | 6218 | /*
* Copyright 2014 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... | gpl-2.0 |
Arc-Team/android_kernel_htc_msm8660 | drivers/video/backlight/ld9040.c | 2493 | 15824 | /*
* ld9040 AMOLED LCD panel driver.
*
* Copyright (c) 2011 Samsung Electronics
* Author: Donghwa Lee <dh09.lee@samsung.com>
* Derived from drivers/video/backlight/s6e63m0.c
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as publis... | gpl-2.0 |
htc-mirror/ville-u-ics-3.0.8-e2a40ab | drivers/regulator/max8925-regulator.c | 2749 | 8497 | /*
* Regulators driver for Maxim max8925
*
* Copyright (C) 2009 Marvell International Ltd.
* Haojian Zhuang <haojian.zhuang@marvell.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 Free Softw... | gpl-2.0 |
Explosion-y6/android_kernel_huawei_msm8909 | drivers/infiniband/hw/ehca/ehca_cq.c | 2749 | 11547 | /*
* IBM eServer eHCA Infiniband device driver for Linux on POWER
*
* Completion queue handling
*
* Authors: Waleri Fomin <fomin@de.ibm.com>
* Khadija Souissi <souissi@de.ibm.com>
* Reinhard Ernst <rernst@de.ibm.com>
* Heiko J Schick <schickhj@de.ibm.com>
* Hoang-Nam ... | gpl-2.0 |
sgs3/GT-I9300_Kernel | arch/mips/ath79/mach-pb44.c | 3005 | 2948 | /*
* Atheros PB44 reference board support
*
* Copyright (C) 2009-2010 Gabor Juhos <juhosg@openwrt.org>
*
* 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 <linu... | gpl-2.0 |
mzueger/linux-colibri-t30 | fs/ufs/super.c | 3005 | 44384 | /*
* linux/fs/ufs/super.c
*
* Copyright (C) 1998
* Daniel Pirkl <daniel.pirkl@email.cz>
* Charles University, Faculty of Mathematics and Physics
*/
/* Derived from
*
* linux/fs/ext2/super.c
*
* Copyright (C) 1992, 1993, 1994, 1995
* Remy Card (card@masi.ibp.fr)
* Laboratoire MASI - Institut Blaise Pascal... | gpl-2.0 |
talnoah/Kangaroo_Kernel | drivers/scsi/lpfc/lpfc_debugfs.c | 4797 | 133816 | /*******************************************************************
* This file is part of the Emulex Linux Device Driver for *
* Fibre Channel Host Bus Adapters. *
* Copyright (C) 2007-2012 Emulex. All rights reserved. *
* EMULEX and SLI are trademarks of Emulex. ... | gpl-2.0 |
faust93/f93_kernel | arch/arm/mach-gemini/irq.c | 4797 | 3066 | /*
* Interrupt routines for Gemini
*
* Copyright (C) 2001-2006 Storlink, Corp.
* Copyright (C) 2008-2009 Paulius Zaleckas <paulius.zaleckas@teltonika.lt>
*
* 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 ... | gpl-2.0 |
Sohamlad7/kernel_sony_msm8930 | net/decnet/dn_dev.c | 4797 | 32808 | /*
* DECnet An implementation of the DECnet protocol suite for the LINUX
* operating system. DECnet is implemented using the BSD Socket
* interface as the means of communication with the user level.
*
* DECnet Device Layer
*
* Authors: Steve Whitehouse <SteveW@A... | gpl-2.0 |
AICP/kernel_htc_msm8960 | drivers/scsi/bfa/bfad_attr.c | 4797 | 28933 | /*
* Copyright (c) 2005-2010 Brocade Communications Systems, Inc.
* All rights reserved
* www.brocade.com
*
* Linux driver for Brocade Fibre Channel Host Bus Adapter.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License (GPL) Version 2 a... | gpl-2.0 |
varunchitre15/thunderzap_xl | drivers/scsi/scsi_transport_fc.c | 4797 | 123876 | /*
* FiberChannel transport specific attributes exported to sysfs.
*
* Copyright (c) 2003 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 Foundatio... | gpl-2.0 |
KylinUI/android_kernel_samsung_t1 | arch/avr32/oprofile/op_model_avr32.c | 4797 | 5223 | /*
* AVR32 Performance Counter Driver
*
* Copyright (C) 2005-2007 Atmel Corporation
*
* 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.
*
* Author: Ronny Pedersen
*/
#include <... | gpl-2.0 |
nobooya/e975-kk-kernel | arch/cris/arch-v32/drivers/cryptocop.c | 5053 | 111443 | /*
* Stream co-processor driver for the ETRAX FS
*
* Copyright (C) 2003-2007 Axis Communications AB
*/
#include <linux/init.h>
#include <linux/sched.h>
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/string.h>
#include <linux/fs.h>
#include <linux/mm.h>
#include <linux/spinlock.h>
#include <l... | gpl-2.0 |
SlimSaber/kernel_oneplus_msm8974 | drivers/tty/serial/jsm/jsm_driver.c | 5053 | 7035 | /************************************************************************
* Copyright 2003 Digi International (www.digi.com)
*
* Copyright (C) 2004 IBM Corporation. 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 ... | gpl-2.0 |
jrfastab/flow-net-next | drivers/media/pci/mantis/mantis_ioc.c | 10429 | 3192 | /*
Mantis PCI bridge driver
Copyright (C) Manu Abraham (abraham.manu@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
the Free Software Foundation; either version 2 of the License, or
(at your option) any later v... | gpl-2.0 |
cholokei/android_kernel_msm | arch/m32r/kernel/align.c | 13757 | 12025 | /*
* align.c - address exception handler for M32R
*
* Copyright (c) 2003 Hitoshi Yamamoto
*/
#include <asm/ptrace.h>
#include <asm/uaccess.h>
static int get_reg(struct pt_regs *regs, int nr)
{
int val;
if (nr < 4)
val = *(unsigned long *)(®s->r0 + nr);
else if (nr < 7)
val = *(unsigned long *)(®s->r... | gpl-2.0 |
r0j3r/gcc-4.7.4-hardened | gcc/testsuite/gfortran.fortran-torture/execute/intrinsic_product.f90 | 190 | 1085 | ! Program to test the PRODUCT intrinsic
program testproduct
implicit none
integer, dimension (3, 3) :: a
integer, dimension (3) :: b
logical, dimension (3, 3) :: m, tr
character(len=12) line
a = reshape ((/1, 2, 3, 4, 5, 6, 7, 8, 9/), (/3, 3/));
b = product (a, 1)
tr = .true.
if (any(b .n... | gpl-2.0 |
yuzaipiaofei/android_kernel_xiaomi_msm8916 | arch/parisc/kernel/signal32.c | 958 | 13300 | /* Signal support for 32-bit kernel builds
*
* Copyright (C) 2001 Matthew Wilcox <willy at parisc-linux.org>
* Copyright (C) 2006 Kyle McMartin <kyle at parisc-linux.org>
*
* Code was mostly borrowed from kernel/signal.c.
* See kernel/signal.c for additional Copyrights.
*
*
* This program is ... | gpl-2.0 |
mtitinger/acme-linux | arch/arm/probes/kprobes/checkers-arm.c | 1470 | 6908 | /*
* arch/arm/probes/kprobes/checkers-arm.c
*
* Copyright (C) 2014 Huawei 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.
*
* This program is distributed in the hope th... | gpl-2.0 |
alexax66/KK_kernel_serranove3g | drivers/dma/mv_xor.c | 1726 | 37046 | /*
* offload engine driver for the Marvell XOR engine
* Copyright (C) 2007, 2008, Marvell International Ltd.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms and conditions of the GNU General Public License,
* version 2, as published by the Free Software Foundation.
*... | gpl-2.0 |
munoz0raul/linux-toradex_ACM_iMX6 | arch/sparc/kernel/sun4m_smp.c | 1982 | 6152 | /*
* sun4m SMP support.
*
* Copyright (C) 1996 David S. Miller (davem@caip.rutgers.edu)
*/
#include <linux/clockchips.h>
#include <linux/interrupt.h>
#include <linux/profile.h>
#include <linux/delay.h>
#include <linux/sched.h>
#include <linux/cpu.h>
#include <asm/cacheflush.h>
#include <asm/switch_to.h>
#include... | gpl-2.0 |
ArtisteHsu/jetson-tk1-r21.2-kernel | drivers/video/amifb.c | 2238 | 101817 | /*
* linux/drivers/video/amifb.c -- Amiga builtin chipset frame buffer device
*
* Copyright (C) 1995-2003 Geert Uytterhoeven
*
* with work by Roman Zippel
*
*
* This file is based on the Atari frame buffer device (atafb.c):
*
* Copyright (C) 1994 Martin Schaller
* Roman H... | gpl-2.0 |
Asderdd/android_kernel_google_msm8952 | drivers/video/exynos/exynos_mipi_dsi.c | 2238 | 13510 | /* linux/drivers/video/exynos/exynos_mipi_dsi.c
*
* Samsung SoC MIPI-DSIM driver.
*
* Copyright (c) 2012 Samsung Electronics Co., Ltd
*
* InKi Dae, <inki.dae@samsung.com>
* Donghwa Lee, <dh09.lee@samsung.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the ... | gpl-2.0 |
elp/iwlwifi | drivers/video/exynos/exynos_mipi_dsi.c | 2238 | 13510 | /* linux/drivers/video/exynos/exynos_mipi_dsi.c
*
* Samsung SoC MIPI-DSIM driver.
*
* Copyright (c) 2012 Samsung Electronics Co., Ltd
*
* InKi Dae, <inki.dae@samsung.com>
* Donghwa Lee, <dh09.lee@samsung.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the ... | gpl-2.0 |
shutt1e/lge_kernel_msm7x30 | net/netfilter/xt_socket.c | 2494 | 10197 | /*
* Transparent proxy support for Linux/iptables
*
* Copyright (C) 2007-2008 BalaBit IT Ltd.
* Author: Krisztian Kovacs
*
* 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.
*
*... | gpl-2.0 |
CandyDevices/kernel_samsung_msm8660-common | kernel/profile.c | 2750 | 17053 | /*
* 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... | gpl-2.0 |
boa19861105/B2-Test | drivers/usb/serial/sierra.c | 2750 | 32337 | /*
USB Driver for Sierra Wireless
Copyright (C) 2006, 2007, 2008 Kevin Lloyd <klloyd@sierrawireless.com>,
Copyright (C) 2008, 2009 Elina Pasheva, Matthew Safar, Rory Filer
<linux@sierrawireless.com>
IMPORTANT DISCLAIMER: This driver is not commercially supported by
Sierra Wireless. Use at your own ris... | gpl-2.0 |
zparallax/amplitude-kk | net/rds/recv.c | 3262 | 15611 | /*
* Copyright (c) 2006 Oracle. 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 source tree, or t... | gpl-2.0 |
Trinityhaxxor/Trinity_Kernel_msm8660_XperiaS | drivers/usb/host/ohci-q.c | 3518 | 32316 | /*
* OHCI HCD (Host Controller Driver) for USB.
*
* (C) Copyright 1999 Roman Weissgaerber <weissg@vienna.at>
* (C) Copyright 2000-2002 David Brownell <dbrownell@users.sourceforge.net>
*
* This file is licenced under the GPL.
*/
#include <linux/irq.h>
#include <linux/slab.h>
static void urb_free_priv (struct oh... | gpl-2.0 |
changyihsin/powermemo_kernel | drivers/mtd/tests/mtd_torturetest.c | 4030 | 13170 | /*
* Copyright (C) 2006-2008 Artem Bityutskiy
* Copyright (C) 2006-2008 Jarkko Lavinen
* Copyright (C) 2006-2008 Adrian Hunter
*
* 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.
... | gpl-2.0 |
deedwar/evolve | net/ipv4/netfilter/ip_tables.c | 4542 | 56134 | /*
* Packet matching code.
*
* Copyright (C) 1999 Paul `Rusty' Russell & Michael J. Neuling
* Copyright (C) 2000-2005 Netfilter Core Team <coreteam@netfilter.org>
*
* 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
* publis... | gpl-2.0 |
loansindi/linux | arch/mips/pnx833x/common/prom.c | 4542 | 1583 | /*
* prom.c:
*
* Copyright 2008 NXP Semiconductors
* Chris Steel <chris.steel@nxp.com>
* Daniel Laird <daniel.j.laird@nxp.com>
*
* Based on software written by:
* Nikita Youshchenko <yoush@debian.org>, based on PNX8550 code.
*
* This program is free software; you can redistribute it and/or modify
* ... | gpl-2.0 |
drgogeta86/android_kernel_asus_flo | net/ipv6/netfilter/ip6t_rpfilter.c | 5054 | 3433 | /*
* Copyright (c) 2011 Florian Westphal <fw@strlen.de>
*
* 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.
*/
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include <linux/module.h>... | gpl-2.0 |
MassStash/htc_jewel_kernel_sense | arch/sh/boards/board-sh2007.c | 7614 | 2811 | /*
* SH-2007 board support.
*
* Copyright (C) 2003, 2004 SUGIOKA Toshinobu
* Copyright (C) 2010 Hitoshi Mitake <mitake@dcl.info.waseda.ac.jp>
*/
#include <linux/init.h>
#include <linux/irq.h>
#include <linux/smsc911x.h>
#include <linux/platform_device.h>
#include <linux/ata_platform.h>
#include <linux/io.h>
#inc... | gpl-2.0 |
cglong/goldfish | arch/x86/kernel/cpu/mcheck/k7.c | 191 | 2639 | /*
* Athlon specific Machine Check Exception Reporting
* (C) Copyright 2002 Dave Jones <davej@redhat.com>
*/
#include <linux/init.h>
#include <linux/types.h>
#include <linux/kernel.h>
#include <linux/interrupt.h>
#include <linux/smp.h>
#include <asm/processor.h>
#include <asm/system.h>
#include <asm/msr.h>
#inclu... | gpl-2.0 |
dirkbehme/linux-renesas-rcar-gen3 | drivers/gpu/drm/nouveau/nvkm/subdev/bus/nv04.c | 959 | 2335 | /*
* Copyright 2012 Nouveau Community
*
* 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, merge, publi... | gpl-2.0 |
intervigilium/android_kernel_motorola_ghost | drivers/coresight/coresight-tpiu.c | 1215 | 5713 | /* 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... | gpl-2.0 |
faux123/Shamu | drivers/net/wireless/rtlwifi/rtl8188ee/sw.c | 2239 | 13026 | /******************************************************************************
*
* Copyright(c) 2009-2013 Realtek Corporation.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of version 2 of the GNU General Public License as
* published by the Free Software Foundati... | gpl-2.0 |
aborche/cx-919-radxa-rbox-linux-rockchip | drivers/gpu/drm/via/via_drv.c | 2495 | 3009 | /*
* Copyright 1998-2003 VIA Technologies, Inc. All Rights Reserved.
* Copyright 2001-2003 S3 Graphics, Inc. All Rights Reserved.
*
* 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 witho... | gpl-2.0 |
omega-roms/I9500_Stock_Kernel_KK_4.4.2 | drivers/gpu/drm/i915/i915_gem_execbuffer.c | 3263 | 38930 | /*
* Copyright © 2008,2010 Intel Corporation
*
* 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, merge... | gpl-2.0 |
airy09/android_kernel_totoro_ctc | Documentation/vm/hugepage-mmap.c | 4287 | 2065 | /*
* hugepage-mmap:
*
* Example of using huge page memory in a user application using the mmap
* system call. Before running this application, make sure that the
* administrator has mounted the hugetlbfs filesystem (on some directory
* like /mnt) using the command mount -t hugetlbfs nodev /mnt. In this
* exampl... | gpl-2.0 |
mrksbrd/android_kernel_lge_z | drivers/staging/wlags49_h2/wl_util.c | 4799 | 42019 | /*******************************************************************************
* Agere Systems Inc.
* Wireless device driver for Linux (wlags49).
*
* Copyright (c) 1998-2003 Agere Systems Inc.
* All rights reserved.
* http://www.agere.com
*
* Initially developed by TriplePoint, Inc.
* http://www.triplepo... | gpl-2.0 |
omnirom/android_kernel_samsung_lt03lte | arch/cris/kernel/crisksyms.c | 9407 | 1679 | #include <linux/module.h>
#include <linux/user.h>
#include <linux/elfcore.h>
#include <linux/sched.h>
#include <linux/in6.h>
#include <linux/interrupt.h>
#include <linux/pm.h>
#include <linux/kernel.h>
#include <linux/string.h>
#include <linux/tty.h>
#include <asm/processor.h>
#include <asm/uaccess.h>
#include <asm/ch... | gpl-2.0 |
pocketbook-free/kernel_613 | arch/powerpc/boot/simpleboot.c | 11967 | 2884 | /*
* The simple platform -- for booting when firmware doesn't supply a device
* tree or any platform configuration information.
* All data is extracted from an embedded device tree
* blob.
*
* Authors: Scott Wood <scottwood@freescale.com>
* ... | gpl-2.0 |
cfriedt/bluetooth-next | arch/blackfin/mach-bf548/dma.c | 12223 | 3405 | /*
* the simple DMA Implementation for Blackfin
*
* Copyright 2007-2009 Analog Devices Inc.
*
* Licensed under the GPL-2 or later.
*/
#include <linux/module.h>
#include <asm/blackfin.h>
#include <asm/dma.h>
struct dma_register * const dma_io_base_addr[MAX_DMA_CHANNELS] = {
(struct dma_register *) DMA0_NEXT_DE... | gpl-2.0 |
tapash/linux | drivers/platform/x86/ideapad-laptop.c | 192 | 24481 | /*
* ideapad-laptop.c - Lenovo IdeaPad ACPI Extras
*
* Copyright © 2010 Intel Corporation
* Copyright © 2010 David Woodhouse <dwmw2@infradead.org>
*
* 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 Soft... | gpl-2.0 |
PyroDD/Pyro | arch/arm/mach-exynos/platsmp.c | 448 | 6656 | /* linux/arch/arm/mach-exynos/platsmp.c
*
* Copyright (c) 2010-2011 Samsung Electronics Co., Ltd.
* http://www.samsung.com
*
* Cloned from linux/arch/arm/mach-vexpress/platsmp.c
*
* Copyright (C) 2002 ARM Ltd.
* All Rights Reserved
*
* This program is free software; you can redistribute it and/or modify
*... | gpl-2.0 |
uwehermann/easybox-904-lte-firmware | linux/linux-2.6.32.32/arch/x86/kernel/check.c | 1472 | 3835 | #include <linux/module.h>
#include <linux/sched.h>
#include <linux/kthread.h>
#include <linux/workqueue.h>
#include <asm/e820.h>
#include <asm/proto.h>
/*
* Some BIOSes seem to corrupt the low 64k of memory during events
* like suspend/resume and unplugging an HDMI cable. Reserve all
* remaining free memory in tha... | gpl-2.0 |
Galaxy-Tab-S2/android_kernel_samsung_gts28wifi | drivers/bluetooth/bt3c_cs.c | 2240 | 15563 | /*
*
* Driver for the 3Com Bluetooth PCMCIA card
*
* Copyright (C) 2001-2002 Marcel Holtmann <marcel@holtmann.org>
* Jose Orlando Pereira <jop@di.uminho.pt>
*
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public L... | gpl-2.0 |
TEAM-RAZOR-DEVICES/kernel_cyanogen_tomato | net/sunrpc/auth_gss/gss_krb5_wrap.c | 2240 | 17761 | /*
* COPYRIGHT (c) 2008
* The Regents of the University of Michigan
* ALL RIGHTS RESERVED
*
* Permission is granted to use, copy, create derivative works
* and redistribute this software and such derivative works
* for any purpose, so long as the name of The University of
* Michigan is not used in any advertisi... | gpl-2.0 |
gerard87/kernel_shamu_n_preview | net/unix/sysctl_net_unix.c | 2240 | 1344 | /*
* NET4: Sysctl interface to net af_unix subsystem.
*
* Authors: Mike Shaver.
*
* 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 optio... | gpl-2.0 |
Vegaviet-DevTeam/Kernel_N4_N910SLK | sound/parisc/harmony.c | 2240 | 25891 | /* Hewlett-Packard Harmony audio driver
*
* This is a driver for the Harmony audio chipset found
* on the LASI ASIC of various early HP PA-RISC workstations.
*
* Copyright (C) 2004, Kyle McMartin <kyle@{debian.org,parisc-linux.org}>
*
* Based on the previous Harmony incarnations by,
* Copyright ... | gpl-2.0 |
khusika/samsung-kernel-msm7x30 | arch/mips/pci/pci-ath724x.c | 4544 | 4115 | /*
* Atheros 724x PCI support
*
* Copyright (C) 2011 René Bolldorf <xsecute@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 Free Software Foundation.
*/
#include <linux/pci.h>
#i... | gpl-2.0 |
javelinanddart/bricked-flo | net/core/request_sock.c | 4800 | 3603 | /*
* NET Generic infrastructure for Network protocols.
*
* Authors: Arnaldo Carvalho de Melo <acme@conectiva.com.br>
*
* From code originally in include/net/tcp.h
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published... | gpl-2.0 |
slayher/android_kernel_lge_zee | arch/x86/kernel/amd_nb.c | 5824 | 7001 | /*
* Shared support code for AMD K8 northbridges and derivates.
* Copyright 2006 Andi Kleen, SUSE Labs. Subject to GPLv2.
*/
#include <linux/types.h>
#include <linux/slab.h>
#include <linux/init.h>
#include <linux/errno.h>
#include <linux/module.h>
#include <linux/spinlock.h>
#include <asm/amd_nb.h>
static u32 *flu... | gpl-2.0 |
kozmikkick/KozmiKKernel | net/x25/sysctl_net_x25.c | 9152 | 2074 | /* -*- linux-c -*-
* sysctl_net_x25.c: sysctl interface to net X.25 subsystem.
*
* Begun April 1, 1996, Mike Shaver.
* Added /proc/sys/net/x25 directory entry (empty =) ). [MS]
*/
#include <linux/sysctl.h>
#include <linux/skbuff.h>
#include <linux/socket.h>
#include <linux/netdevice.h>
#include <linux/init.h>
#in... | gpl-2.0 |
larks/linux-rcu | net/netrom/sysctl_net_netrom.c | 9152 | 4319 | /*
* 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.
*
* Copyright (C) 1996 Mike Shaver (shaver@zeroknowledge.com)
... | gpl-2.0 |
googyanas/Googy-Max4-CM-Kernel | drivers/usb/host/fhci-hub.c | 9152 | 9026 | /*
* Freescale QUICC Engine USB Host Controller Driver
*
* Copyright (c) Freescale Semicondutor, Inc. 2006.
* Shlomi Gridish <gridish@freescale.com>
* Jerry Huang <Chang-Ming.Huang@freescale.com>
* Copyright (c) Logic Product Development, Inc. 2007
* Peter Barada <peterb... | gpl-2.0 |
poondog/KANGAROO-m7 | arch/x86/kernel/resource.c | 9920 | 1050 | #include <linux/ioport.h>
#include <asm/e820.h>
static void resource_clip(struct resource *res, resource_size_t start,
resource_size_t end)
{
resource_size_t low = 0, high = 0;
if (res->end < start || res->start > end)
return; /* no conflict */
if (res->start < start)
low = start - res->start;
if (res... | gpl-2.0 |
BPI-SINOVOIP/BPI-Mainline-kernel | linux-4.19/tools/power/cpupower/debug/i386/powernow-k8-decode.c | 10432 | 1874 | /*
* (C) 2004 Bruno Ducrot <ducrot@poupinou.org>
*
* Licensed under the terms of the GNU GPL License version 2.
*
* Based on code found in
* linux/arch/i386/kernel/cpu/cpufreq/powernow-k8.c
* and originally developed by Paul Devriendt
*/
#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
#include <un... | gpl-2.0 |
shareefalis/android_kernel_samsung_d2-jb_2.5.1 | fs/xfs/xfs_mru_cache.c | 10944 | 18203 | /*
* Copyright (c) 2006-2007 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 would be ... | gpl-2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.