PageRenderTime 2719ms queryTime 240ms sortTime 218ms getByIdsTime 495ms findMatchingLines 42ms

100+ results results for 'restrict' (2719 ms)

Not the results you expected?
ntp_restrict.c https://github.com/okuoku/freebsd-head.git | C | 607 lines
                    
1/*
                    
2 * ntp_restrict.c - determine host restrictions
                    
3 */
                    
16 * This code keeps a simple address-and-mask list of hosts we want
                    
17 * to place restrictions on (or remove them from). The restrictions
                    
18 * are implemented as a set of flags which tell you what the host
                    
65 */
                    
66struct restrictlist *restrictlist;
                    
67struct restrictlist6 *restrictlist6;
                    
156/*
                    
157 * restrictions - return restrictions for this host
                    
158 */
                    
290/*
                    
291 * hack_restrict - add/subtract/manipulate entries on the restrict list
                    
292 */
                    
                
dnssearch.c https://github.com/mstsirkin/qemu.git | C | 311 lines
                    
7 * of this software and associated documentation files (the "Software"), to deal
                    
8 * in the Software without restriction, including without limitation the rights
                    
9 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
                    
                
smack_access.c https://github.com/dingjiu/linux.git | C | 547 lines
                    
227		 * If there is an entry in the task's rule list
                    
228		 * it can further restrict access.
                    
229		 */
                    
                
balloon.c https://github.com/mcr/linux-2.6.git | C | 574 lines
                    
17 * of this source file (the "Software"), to deal in the Software without
                    
18 * restriction, including without limitation the rights to use, copy, modify,
                    
19 * merge, publish, distribute, sublicense, and/or sell copies of the Software,
                    
                
amdgpu_ih.c https://github.com/kvaneesh/linux.git | C | 300 lines
                    
5 * copy of this software and associated documentation files (the "Software"),
                    
6 * to deal in the Software without restriction, including without limitation
                    
7 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
                    
                
ifaceproperties.c https://github.com/CyanogenMod/android_external_bluetooth_glib.git | C | 507 lines
                    
299   * We change the flags from READONLY to READWRITE to show that we
                    
300   * can make the flags less restrictive
                    
301   */
                    
                
spawni.c https://github.com/hjl-tools/glibc.git | C | 433 lines
                    
83  const posix_spawn_file_actions_t *fa;
                    
84  const posix_spawnattr_t *restrict attr;
                    
85  char *const *argv;
                    
123  struct posix_spawn_args *args = arguments;
                    
124  const posix_spawnattr_t *restrict attr = args->attr;
                    
125  const posix_spawn_file_actions_t *file_actions = args->fa;
                    
                
test-signal-multiple-loops.c https://github.com/dshaw/node.git | C | 289 lines
                    
4 * of this software and associated documentation files (the "Software"), to
                    
5 * deal in the Software without restriction, including without limitation the
                    
6 * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
                    
                
flash.c https://github.com/mike0/uboot-imx.git | C | 325 lines
                    
37 * we just set flash_id to anything else to FLASH_UNKNOW, so common code
                    
38 * can call us without any restrictions.
                    
39 * TODO: Add CFI Query, to be able to determine FLASH device.
                    
                
md4.c https://github.com/richlowe/illumos-gate.git | C | 305 lines
                    
122void
                    
123MD4Update(MD4_CTX *context, const void *_RESTRICT_KYWD inptr, size_t inputLen)
                    
124{
                    
                
virtgpu_fb.c https://github.com/huangrui/linux.git | C | 416 lines
                    
6 * a copy of this software and associated documentation files (the
                    
7 * "Software"), to deal in the Software without restriction, including
                    
8 * without limitation the rights to use, copy, modify, merge, publish,
                    
                
siw_main.c https://github.com/thurday/linux.git | C | 629 lines
                    
34
                    
35/* Restrict usage of GSO, if hardware peer iwarp is unable to process
                    
36 * large packets. try_gso = true lets siw try to use local GSO,
                    
                
win32_thread.c https://github.com/chrishaukap/GameDev.git | C | 506 lines
                    
15// including commercial applications, and to alter it and redistribute it
                    
16// freely, subject to the following restrictions:
                    
17//
                    
                
traps.c https://github.com/mstsirkin/linux.git | C | 508 lines
                    
111{ EXCCAUSE_ITLB_PRIVILEGE,	0,	   do_page_fault },
                    
112/* EXCCAUSE_SIZE_RESTRICTION unhandled */
                    
113{ EXCCAUSE_FETCH_CACHE_ATTRIBUTE,	0,	   do_page_fault },
                    
117{ EXCCAUSE_DTLB_PRIVILEGE,	0,	   do_page_fault },
                    
118/* EXCCAUSE_DTLB_SIZE_RESTRICTION unhandled */
                    
119{ EXCCAUSE_STORE_CACHE_ATTRIBUTE,	USER|KRNL, fast_store_prohibited },
                    
                
nv_dac.c https://github.com/mariuz/haiku.git | C | 527 lines
                    
155
                    
156	/* we offer this option because some panels have very tight restrictions,
                    
157	 * and there's no overlapping settings range that makes them all work.
                    
245	case G100:
                    
246		LOG(4,("DAC: G100 restrictions apply\n"));
                    
247		m_max = 7;
                    
249	case G200:
                    
250		LOG(4,("DAC: G200 restrictions apply\n"));
                    
251		m_max = 7;
                    
253	default:
                    
254		LOG(4,("DAC: G400/G400MAX restrictions apply\n"));
                    
255		m_max = 32;
                    
258*/
                    
259	LOG(4,("DAC: NV4/NV10/NV20 restrictions apply\n"));
                    
260
                    
                
cx18-queue.c https://github.com/kvaneesh/linux.git | C | 427 lines
                    
54
                    
55	/* q_busy is restricted to a max buffer count imposed by firmware */
                    
56	if (q == &s->q_busy &&
                    
                
ucb1400_ts.c https://github.com/haokexin/linux.git | C | 467 lines
                    
182/*
                    
183 * A restriction with interrupts exists when using the ucb1400, as
                    
184 * the codec read/write routines may sleep while waiting for codec
                    
                
krb4encpwd.c https://github.com/okuoku/freebsd-head.git | C | 428 lines
                    
49 * distribution and modification of this software subject to the following
                    
50 * restrictions:
                    
51 *
                    
                
pvr_bridge_k.c https://github.com/goldelico/gta04-kernel.git | C | 525 lines
                    
11of this software and associated documentation files (the "Software"), to deal
                    
12in the Software without restriction, including without limitation the rights
                    
13to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
                    
                
double-int.c https://github.com/okuoku/freebsd-head.git | C | 401 lines
                    
117{
                    
118  /* We do not need to call double_int_restrict here to ensure the semantics as
                    
119     described, as this is the default one for trees.  */
                    
                
ast_fb.c https://github.com/gby/linux.git | C | 366 lines
                    
5 * copy of this software and associated documentation files (the
                    
6 * "Software"), to deal in the Software without restriction, including
                    
7 * without limitation the rights to use, copy, modify, merge, publish,
                    
                
axisflashmap.c https://github.com/ab3416/linux-2.6.git | C | 651 lines
                    
252 *
                    
253 * The only known restriction to how you can mount your chips is that each
                    
254 * chip select must hold similar flash chips. But you need external hardware
                    
255 * to do that anyway and you can put totally different chips on cse0 and cse1
                    
256 * so it isn't really much of a restriction.
                    
257 */
                    
                
vfpdouble.c https://github.com/ab3416/linux-2.6.git | C | 1204 lines
                    
22 * has been made to avoid it, THIS SOFTWARE MAY CONTAIN FAULTS THAT WILL AT
                    
23 * TIMES RESULT IN INCORRECT BEHAVIOR.  USE OF THIS SOFTWARE IS RESTRICTED TO
                    
24 * PERSONS AND ORGANIZATIONS WHO CAN AND WILL TAKE FULL RESPONSIBILITY FOR ANY
                    
                
softfloat.c https://github.com/ab3416/linux-2.6.git | C | 1426 lines
                    
18has been made to avoid it, THIS SOFTWARE MAY CONTAIN FAULTS THAT WILL AT
                    
19TIMES RESULT IN INCORRECT BEHAVIOR.  USE OF THIS SOFTWARE IS RESTRICTED TO
                    
20PERSONS AND ORGANIZATIONS WHO CAN AND WILL TAKE FULL RESPONSIBILITY FOR ANY
                    
                
mmu.c https://github.com/ab3416/linux-2.6.git | C | 1052 lines
                    
118	/*
                    
119	 * This restriction is partly to do with the way we boot; it is
                    
120	 * unpredictable to have memory mapped using two different sets of
                    
                
perf_event.c https://github.com/ab3416/linux-2.6.git | C | 889 lines
                    
80	 * The maximum value that may be written to the counter due to
                    
81	 * hardware restrictions is pmc_max_period - pmc_left.
                    
82	 */
                    
263	/*
                    
264	 * Hardware restrictions require that the counters must not be
                    
265	 * written with values that are too close to the maximum period.
                    
                
header.c https://github.com/Mengqi/linux-2.6.git | C | 1194 lines
                    
196	if (is_kallsyms) {
                    
197		if (symbol_conf.kptr_restrict) {
                    
198			pr_debug("Not caching a kptr_restrict'ed /proc/kallsyms\n");
                    
                
dwarf-aux.c https://github.com/Mengqi/linux-2.6.git | C | 843 lines
                    
194	} while (tag == DW_TAG_const_type ||
                    
195		 tag == DW_TAG_restrict_type ||
                    
196		 tag == DW_TAG_volatile_type ||
                    
                
builtin-top.c https://github.com/Mengqi/linux-2.6.git | C | 1139 lines
                    
82
                    
83static bool			kptr_restrict_warned;
                    
84static bool			vmlinux_warned;
                    
                
patch_hdmi.c https://github.com/Mengqi/linux-2.6.git | C | 1799 lines
                    
41module_param(static_hdmi_pcm, bool, 0644);
                    
42MODULE_PARM_DESC(static_hdmi_pcm, "Don't restrict PCM parameters per ELD info");
                    
43
                    
                
alc260_quirks.c https://github.com/Mengqi/linux-2.6.git | C | 1272 lines
                    
331 * 0x0f (used to drive the headphone jack in these laptops).  The ALC260
                    
332 * datasheet doesn't mention this restriction.  At this stage it's not clear
                    
333 * whether this behaviour is intentional or is a hardware bug in chip
                    
                
ac97c.c https://github.com/Mengqi/linux-2.6.git | C | 1202 lines
                    
259	}
                    
260	/* Set restrictions to params. */
                    
261	mutex_lock(&opened_mutex);
                    
288
                    
289	/* Set restrictions to params. */
                    
290	mutex_lock(&opened_mutex);
                    
                
pcm.c https://github.com/Mengqi/linux-2.6.git | C | 1063 lines
                    
167	 * support properly in its bitfield.
                    
168	 * Below, we'll use that to restrict to the rate
                    
169	 * currently in use (if any). */
                    
181		hw->formats &= (1ULL << i2sdev->format);
                    
182		/* see above, restrict rates to the one we already have */
                    
183		hw->rate_min = i2sdev->rate;
                    
                
policy.c https://github.com/Mengqi/linux-2.6.git | C | 1186 lines
                    
49 * -  it allows for sub profiles or hats, which allows an application to run
                    
50 *    subprograms under its own profile with different restriction than it
                    
51 *    self, and not have it use the system profile.
                    
52 *    eg. if a mail program starts an editor, the policy might make the
                    
53 *        restrictions tighter on the editor tighter than the mail program,
                    
54 *        and definitely different than general editor restrictions
                    
                
af_x25.c https://github.com/Mengqi/linux-2.6.git | C | 1825 lines
                    
33 *					with call user data
                    
34 *	2005-04-15	Shaun Pereira	Fast select with no restriction on
                    
35 *					response
                    
                
wext-core.c https://github.com/Mengqi/linux-2.6.git | C | 1084 lines
                    
206		.max_tokens	= IW_ENCODING_TOKEN_MAX,
                    
207		.flags		= IW_DESCR_FLAG_EVENT | IW_DESCR_FLAG_RESTRICT,
                    
208	},
                    
212		.max_tokens	= IW_ENCODING_TOKEN_MAX,
                    
213		.flags		= IW_DESCR_FLAG_DUMP | IW_DESCR_FLAG_RESTRICT,
                    
214	},
                    
487		}
                    
488		/* Calculate extra_len - extra is NULL for restricted events */
                    
489		if (extra != NULL)
                    
                
reg.c https://github.com/Mengqi/linux-2.6.git | C | 1876 lines
                    
26 * information CRDA provides the complete regulatory solution.
                    
27 * For others it provides a community effort on further restrictions
                    
28 * to enhance compliance.
                    
                
rpcb_clnt.c https://github.com/Mengqi/linux-2.6.git | C | 1074 lines
                    
104/*
                    
105 * Note that RFC 1833 does not put any size restrictions on the
                    
106 * address string returned by the remote rpcbind database.
                    
                
sch_sfq.c https://github.com/Mengqi/linux-2.6.git | C | 722 lines
                    
71	max mtu to 2^18-1; max 128 flows, number of hash buckets to 1024.
                    
72	The only goal of this restrictions was that all data
                    
73	fit into one 4K page on 32bit arches.
                    
                
nfnetlink_log.c https://github.com/Mengqi/linux-2.6.git | C | 1015 lines
                    
304	/* alloc skb which should be big enough for a whole multipart
                    
305	 * message.  WARNING: has to be <= 128k due to slab restrictions */
                    
306
                    
                
nf_conntrack_h323_types.c https://github.com/Mengqi/linux-2.6.git | C | 1093 lines
                    
313	{FNAME("maxBitRate") INT, CONS, 1, 0, SKIP, 0, NULL},
                    
314	{FNAME("unrestrictedVector") BOOL, FIXD, 0, 0, SKIP, 0, NULL},
                    
315	{FNAME("arithmeticCoding") BOOL, FIXD, 0, 0, SKIP, 0, NULL},
                    
                
iface.c https://github.com/Mengqi/linux-2.6.git | C | 1404 lines
                    
113			 * Allow only a single IBSS interface to be up at any
                    
114			 * time. This is restricted because beacon distribution
                    
115			 * cannot work properly if both are in the same IBSS.
                    
116			 *
                    
117			 * To remove this restriction we'd have to disallow them
                    
118			 * from setting the same SSID on different IBSS interfaces
                    
                
cipso_ipv4.c https://github.com/Mengqi/linux-2.6.git | C | 1835 lines
                    
87
                    
88/* Restricted bitmap (tag #1) flags */
                    
89int cipso_v4_rbm_optfmt = 0;
                    
103
                    
104/* Base length of the restrictive category bitmap tag (tag #1). */
                    
105#define CIPSO_V4_TAG_RBM_BLEN         4
                    
                
output.c https://github.com/Mengqi/linux-2.6.git | C | 697 lines
                    
149 * We only consider the HC-sender CCID for setting the CCMPS (RFC 4340, 14.),
                    
150 * since the RX CCID is restricted to feedback packets (Acks), which are small
                    
151 * in comparison with the data traffic. A value of 0 means "no current CCMPS".
                    
                
sock.c https://github.com/Mengqi/linux-2.6.git | C | 1958 lines
                    
55 *		Alan Cox	:	Nagle flag for Charles & Johannes stuff
                    
56 *		Alex		:	Removed restriction on inet fioctl
                    
57 *		Alan Cox	:	Splitting INET from NET core
                    
                
af_can.c https://github.com/Mengqi/linux-2.6.git | C | 889 lines
                    
25 * The provided data structures and external interfaces from this code
                    
26 * are not restricted to be used by modules with a GPL compatible license.
                    
27 *
                    
                
l2cap_sock.c https://github.com/Mengqi/linux-2.6.git | C | 1094 lines
                    
72
                    
73		/* Restrict usage of well-known PSMs */
                    
74		if (psm < 0x1001 && !capable(CAP_NET_BIND_SERVICE)) {
                    
                
mempolicy.c https://github.com/Mengqi/linux-2.6.git | C | 1886 lines
                    
24 *                FIXME: memory is allocated starting with the first node
                    
25 *                to the last. It would be better if bind would truly restrict
                    
26 *                the allocation to memory nodes instead
                    
                
fs.c https://github.com/Mengqi/linux-2.6.git | C | 790 lines
                    
89 * seq_file.start() implementation for gcov data files. Note that the
                    
90 * gcov_iterator interface is designed to be more restrictive than seq_file
                    
91 * (no start from arbitrary position, etc.), to simplify the iterator
                    
                
profile.c https://github.com/Mengqi/linux-2.6.git | C | 631 lines
                    
3 *  Simple profiling. Manages a direct-mapped profile hit count buffer,
                    
4 *  with configurable resolution, support for restricting the cpus on
                    
5 *  which profiling is done, and switching between cpu time and
                    
                
kexec.c https://github.com/Mengqi/linux-2.6.git | C | 1569 lines
                    
77 * addresses where (pfn << PAGE_SHIFT) > ULONG_MAX cannot be handled.
                    
78 * If the assembly stub has more restrictive requirements
                    
79 * KEXEC_SOURCE_MEMORY_LIMIT and KEXEC_DEST_MEMORY_LIMIT can be
                    
79 * KEXEC_SOURCE_MEMORY_LIMIT and KEXEC_DEST_MEMORY_LIMIT can be
                    
80 * defined more restrictively in <asm/kexec.h>.
                    
81 *
                    
                
xfs_iops.c https://github.com/Mengqi/linux-2.6.git | C | 1210 lines
                    
612		/*
                    
613		 * CAP_FSETID overrides the following restrictions:
                    
614		 *
                    
                
xfs_ioctl.c https://github.com/Mengqi/linux-2.6.git | C | 1556 lines
                    
220
                    
221	/* Restrict xfs_open_by_handle to directories & regular files. */
                    
222	if (!(S_ISREG(inode->i_mode) || S_ISDIR(inode->i_mode))) {
                    
323
                    
324	/* Restrict this handle operation to symlinks only. */
                    
325	if (!S_ISLNK(dentry->d_inode->i_mode)) {
                    
                
xfs_aops.c https://github.com/Mengqi/linux-2.6.git | C | 1499 lines
                    
161 * will be the intended file size until i_size is updated.  If this write does
                    
162 * not extend all the way to the valid file size then restrict this update to
                    
163 * the end of the write.
                    
                
efi.c https://github.com/Mengqi/linux-2.6.git | C | 675 lines
                    
85 * - Replaced Intel's CRC32 function with an equivalent
                    
86 *   non-license-restricted version.
                    
87 *
                    
                
nfs4acl.c https://github.com/Mengqi/linux-2.6.git | C | 838 lines
                    
101/* We only map from NFSv4 to POSIX ACLs when setting ACLs, when we err on the
                    
102 * side of being more restrictive, so the mode bit mapping below is
                    
103 * pessimistic.  An optimistic version would be needed to handle DENY's,
                    
                
cuse.c https://github.com/Mengqi/linux-2.6.git | C | 620 lines
                    
61	/* init parameters, set once during initialization */
                    
62	bool			unrestricted_ioctl;
                    
63};
                    
156
                    
157	if (cc->unrestricted_ioctl)
                    
158		flags |= FUSE_IOCTL_UNRESTRICTED;
                    
169
                    
170	if (cc->unrestricted_ioctl)
                    
171		flags |= FUSE_IOCTL_UNRESTRICTED;
                    
325	/* parse init reply */
                    
326	cc->unrestricted_ioctl = arg->flags & CUSE_UNRESTRICTED_IOCTL;
                    
327
                    
430	arg->minor = FUSE_KERNEL_MINOR_VERSION;
                    
431	arg->flags |= CUSE_UNRESTRICTED_IOCTL;
                    
432	req->in.h.opcode = CUSE_INIT;
                    
                
nterr.c https://github.com/Mengqi/linux-2.6.git | C | 687 lines
                    
166	{"NT_STATUS_ILL_FORMED_PASSWORD", NT_STATUS_ILL_FORMED_PASSWORD},
                    
167	{"NT_STATUS_PASSWORD_RESTRICTION", NT_STATUS_PASSWORD_RESTRICTION},
                    
168	{"NT_STATUS_LOGON_FAILURE", NT_STATUS_LOGON_FAILURE},
                    
168	{"NT_STATUS_LOGON_FAILURE", NT_STATUS_LOGON_FAILURE},
                    
169	{"NT_STATUS_ACCOUNT_RESTRICTION", NT_STATUS_ACCOUNT_RESTRICTION},
                    
170	{"NT_STATUS_INVALID_LOGON_HOURS", NT_STATUS_INVALID_LOGON_HOURS},
                    
                
xattr.c https://github.com/Mengqi/linux-2.6.git | C | 698 lines
                    
40	/*
                    
41	 * No restriction for security.* and system.* from the VFS.  Decision
                    
42	 * on these is left to the underlying filesystem / security module.
                    
                
wdt_pci.c https://github.com/Mengqi/linux-2.6.git | C | 787 lines
                    
62
                    
63/* We can only use 1 card due to the /dev/watchdog restriction */
                    
64static int dev_count;
                    
                
pcwd_pci.c https://github.com/Mengqi/linux-2.6.git | C | 855 lines
                    
110
                    
111/* We can only use 1 card due to the /dev/watchdog restriction */
                    
112static int cards_found;
                    
                
riva_hw.c https://github.com/Mengqi/linux-2.6.git | C | 1462 lines
                    
41 * GPL licensing note -- nVidia is allowing a liberal interpretation of
                    
42 * the documentation restriction above, to merely say that this nVidia's
                    
43 * copyright and disclaimer should be included with all code derived
                    
                
nv_setup.c https://github.com/Mengqi/linux-2.6.git | C | 675 lines
                    
43 * where the source code is provided "as is" without warranty of any kind.
                    
44 * The only usage restriction is for the copyright notices to be retained
                    
45 * whenever code is used.
                    
                
radeon_base.c https://github.com/Mengqi/linux-2.6.git | C | 1677 lines
                    
24 *	a copy of this software and associated documentation files (the
                    
25 *	"Software"), to deal in the Software without restriction, including
                    
26 *	without limitation on the rights to use, copy, modify, merge,
                    
                
u_serial.c https://github.com/Mengqi/linux-2.6.git | C | 1348 lines
                    
213 * Copy data data from a user buffer and put it into the circular buffer.
                    
214 * Restrict to the amount of space available.
                    
215 *
                    
249 * Get data from the circular buffer and copy to the given buffer.
                    
250 * Restrict to the amount of data available.
                    
251 *
                    
                
f_rndis.c https://github.com/Mengqi/linux-2.6.git | C | 934 lines
                    
59 * "so smart it's stupid" hardware which takes over configuration changes
                    
60 * from the software, and adds restrictions like "no altsettings".
                    
61 *
                    
                
f_mass_storage.c https://github.com/Mengqi/linux-2.6.git | C | 1659 lines
                    
154 * interrupt-in endpoints.  With most device controllers this isn't an
                    
155 * issue, but there may be some with hardware restrictions that prevent
                    
156 * a buffer from being used by more than one endpoint.
                    
                
vt_ioctl.c https://github.com/Mengqi/linux-2.6.git | C | 1800 lines
                    
5 *  Dynamic keymap and string allocation - aeb@cwi.nl - May 1994
                    
6 *  Restrict VT switching via ioctl() - grif@cs.ucr.edu - Dec 1995
                    
7 *  Some code moved for less code duplication - Andi Kleen - Mar 1997
                    
                
tty_io.c https://github.com/Mengqi/linux-2.6.git | C | 1923 lines
                    
42 *
                    
43 * Restrict vt switching via ioctl()
                    
44 *      -- grif@cs.ucr.edu, 5-Dec-95
                    
                
prism2mgmt.c https://github.com/Mengqi/linux-2.6.git | C | 1317 lines
                    
98* MLME-scan.confirm.  As far as I can tell in the standard, there
                    
99* are no restrictions on when a scan.request may be issued.  We have
                    
100* to handle in whatever state the driver/MAC happen to be.
                    
                
vme_user.c https://github.com/Mengqi/linux-2.6.git | C | 916 lines
                    
70 *
                    
71 * So for now, we'll restrict the driver to providing 4 masters and 4 slaves as
                    
72 * defined above and try to support at least some of the interface from
                    
                
rtl819x_HTProc.c https://github.com/Mengqi/linux-2.6.git | C | 1489 lines
                    
78	pHTInfo->AMPDU_Factor = 2; //// 0: 2n13(8K), 1:2n14(16K), 2:2n15(32K), 3:2n16(64k)
                    
79	pHTInfo->MPDU_Density = 0;// 0: No restriction, 1: 1/8usec, 2: 1/4usec, 3: 1/2usec, 4: 1usec, 5: 2usec, 6: 4usec, 7:8usec
                    
80
                    
                
ieee80211_wx.c https://github.com/Mengqi/linux-2.6.git | C | 872 lines
                    
452 done:
                    
453	ieee->open_wep = !(erq->flags & IW_ENCODE_RESTRICTED);
                    
454	ieee->auth_mode = ieee->open_wep ? WLAN_AUTH_OPEN : WLAN_AUTH_SHARED_KEY;
                    
                
ieee80211_wx.c https://github.com/Mengqi/linux-2.6.git | C | 747 lines
                    
394 done:
                    
395	ieee->open_wep = !(erq->flags & IW_ENCODE_RESTRICTED);
                    
396	sec.auth_mode = ieee->open_wep ? WLAN_AUTH_OPEN : WLAN_AUTH_SHARED_KEY;
                    
468	else
                    
469		erq->flags |= IW_ENCODE_RESTRICTED;
                    
470
                    
                
mdfld_pyr_cmd.c https://github.com/Mengqi/linux-2.6.git | C | 558 lines
                    
5 * copy of this software and associated documentation files (the "Software"),
                    
6 * to deal in the Software without restriction, including without limitation
                    
7 * the rights to use, copy, modify, merge, publish, distribute, sublicensen
                    
                
das16m1.c https://github.com/Mengqi/linux-2.6.git | C | 794 lines
                    
48
                    
49This board has some unusual restrictions for its channel/gain list.  If the
                    
50list has 2 or more channels in it, then two conditions must be satisfied:
                    
                
channel.c https://github.com/Mengqi/linux-2.6.git | C | 1559 lines
                    
35	chanvec_t valid_channels;	/* List of valid channels in the country */
                    
36	const chanvec_t *restricted_channels;	/* List of restricted use channels */
                    
37	const chanvec_t *radar_channels;	/* List of radar sensitive channels */
                    
155/*
                    
156 * Restricted channel sets
                    
157 */
                    
158
                    
159#define restricted_set_none chanvec_none
                    
160
                    
161/* Channels 34, 38, 42, 46 */
                    
162static const chanvec_t restricted_set_japan_legacy = {
                    
163	{0x00, 0x00, 0x00, 0x00, 0x44, 0x44, 0x00, 0x00,
                    
169/* Channels 12, 13 */
                    
170static const chanvec_t restricted_set_2g_short = {
                    
171	{0x00, 0x30, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
                    
                
Bcmchar.c https://github.com/Mengqi/linux-2.6.git | C | 1633 lines
                    
223
                    
224			/* FIXME: need to restrict BuffLen */
                    
225			Bufflen = IoBuffer.OutputLength + (4 - IoBuffer.OutputLength%4)%4;
                    
                
ar6k_events.c https://github.com/Mengqi/linux-2.6.git | C | 783 lines
                    
172         * to make the access 4-byte aligned to mitigate issues with host bus interconnects that
                    
173         * restrict bus transfer lengths to be a multiple of 4-bytes */
                    
174
                    
226         * to make the access 4-byte aligned to mitigate issues with host bus interconnects that
                    
227         * restrict bus transfer lengths to be a multiple of 4-bytes */
                    
228
                    
                
qla_attr.c https://github.com/Mengqi/linux-2.6.git | C | 1875 lines
                    
304		/*
                    
305		 * We need to be more restrictive on which FLASH regions are
                    
306		 * allowed to be updated via user-space.  Regions accessible
                    
                
lpfc_ct.c https://github.com/Mengqi/linux-2.6.git | C | 1711 lines
                    
483				    (!(vport->ct_flags & FC_CT_RFF_ID)) ||
                    
484				    (!vport->cfg_restrict_login)) {
                    
485					ndlp = lpfc_setup_disc_node(vport, Did);
                    
                
bnx2i_hwi.c https://github.com/Mengqi/linux-2.6.git | C | 1616 lines
                    
109 * Puts out an error log when driver is unable to offload iscsi connection
                    
110 *	due to license restrictions
                    
111 */
                    
                
fas216.c https://github.com/Mengqi/linux-2.6.git | C | 1871 lines
                    
59/* NOTE: SCSI2 Synchronous transfers *require* DMA according to
                    
60 *  the data sheet.  This restriction is crazy, especially when
                    
61 *  you only want to send 16 bytes!  What were the guys who
                    
79 *
                    
80 *  I was thinking that this was a good chip until I found this restriction ;(
                    
81 */
                    
                
ch.c https://github.com/Mengqi/linux-2.6.git | C | 1030 lines
                    
492	for (i = 0; i < 32; i++) {
                    
493		/* restrict to ascii */
                    
494		if (tag[i] >= 0x7f || tag[i] < 0x20)
                    
                
con3215.c https://github.com/Mengqi/linux-2.6.git | C | 1171 lines
                    
198	 * RAW3215_MAX_NEWLINE newlines in a single ssch due to
                    
199	 * a restriction in VM
                    
200	 */
                    
                
intel_rar_register.c https://github.com/Mengqi/linux-2.6.git | C | 669 lines
                    
1/*
                    
2 *  rar_register.c - An Intel Restricted Access Region register driver
                    
3 *
                    
72
                    
73/* Moorestown supports three restricted access regions. */
                    
74#define MRST_NUM_RAR 3
                    
                
ibmphp_res.c https://github.com/Mengqi/linux-2.6.git | C | 1861 lines
                    
192 *
                    
193 * THIS IS NOT TAKING INTO CONSIDERATION IO RESTRICTIONS OF PRIMARY BUSES, 
                    
194 * SINCE WE'RE GOING TO ASSUME FOR NOW WE DON'T HAVE THOSE ON OUR BUSES FOR NOW
                    
                
zd_mac.c https://github.com/Mengqi/linux-2.6.git | C | 1531 lines
                    
42	{ ZD_REGDOMAIN_IC, "CA" },
                    
43	{ ZD_REGDOMAIN_ETSI, "DE" }, /* Generic ETSI, use most restrictive */
                    
44	{ ZD_REGDOMAIN_JAPAN, "JP" },
                    
                
iwl-agn-tt.c https://github.com/Mengqi/linux-2.6.git | C | 699 lines
                    
77/* Advance Thermal Throttling default restriction table */
                    
78static const struct iwl_tt_restriction restriction_range[IWL_TI_STATE_MAX] = {
                    
79	{IWL_ANT_OK_MULTI, IWL_ANT_OK_MULTI, true },
                    
103	struct iwl_tt_mgmt *tt = &priv->thermal_throttle;
                    
104	struct iwl_tt_restriction *restriction;
                    
105
                    
107		return true;
                    
108	restriction = tt->restriction + tt->state;
                    
109	return restriction->is_ht;
                    
142	struct iwl_tt_mgmt *tt = &priv->thermal_throttle;
                    
143	struct iwl_tt_restriction *restriction;
                    
144
                    
146		return IWL_ANT_OK_MULTI;
                    
147	restriction = tt->restriction + tt->state;
                    
148	return restriction->tx_stream;
                    
                
libipw_wx.c https://github.com/Mengqi/linux-2.6.git | C | 769 lines
                    
456	}
                    
457	if (erq->flags & (IW_ENCODE_OPEN | IW_ENCODE_RESTRICTED)) {
                    
458		ieee->open_wep = !(erq->flags & IW_ENCODE_RESTRICTED);
                    
                
rx.c https://github.com/Mengqi/linux-2.6.git | C | 938 lines
                    
586		 * Therefore it is not subjected to any
                    
587		 * of the following content restrictions.
                    
588		 */
                    
                
main.c https://github.com/Mengqi/linux-2.6.git | C | 1961 lines
                    
25	 * 802.11n D2.0 defined values for "Minimum MPDU Start Spacing":
                    
26	 *   0 for no restriction
                    
27	 *   1 for 1/4 us
                    
                
regd.c https://github.com/Mengqi/linux-2.6.git | C | 606 lines
                    
130{
                    
131	/* this is the most restrictive */
                    
132	return &ath_world_regdom_64;
                    
                
de4x5.c https://github.com/Mengqi/linux-2.6.git | C | 1138 lines
                    
135    By  default,  the driver will  now   autodetect any  DECchip based card.
                    
136    Should you have a need to restrict the driver to DIGITAL only cards, you
                    
137    can compile with a  DEC_ONLY define, or if  loading as a module, use the
                    
287			    Change driver to detect all DECchip based cards
                    
288			    with DEC_ONLY restriction a special case.
                    
289			    Changed driver to autoprobe as a module. No irq
                    
                
xirc2ps_cs.c https://github.com/Mengqi/linux-2.6.git | C | 1691 lines
                    
37 * is necessary due to a potential bad interaction between the GPL and
                    
38 * the restrictions contained in a BSD-style copyright.)
                    
39 *
                    
                
netxen_nic_main.c https://github.com/Mengqi/linux-2.6.git | C | 2015 lines
                    
51
                    
52/* Default to restricted 1G auto-neg mode */
                    
53static int wol_port_mode = 5;
                    
                
ti_hecc.c https://github.com/Mengqi/linux-2.6.git | C | 1056 lines
                    
64 * Important Note: TX mailbox configuration
                    
65 * TX mailboxes should be restricted to the number of SKB buffers to avoid
                    
66 * maintaining SKB buffers separately. TX mailboxes should be a power of 2
                    
                
bfin_can.c https://github.com/Mengqi/linux-2.6.git | C | 693 lines
                    
55	 * Although the BRP field can be set to any value, it is recommended
                    
56	 * that the value be greater than or equal to 4, as restrictions
                    
57	 * apply to the bit timing configuration when BRP is less than 4.
                    
                
bsd_comp.c https://github.com/Mengqi/linux-2.6.git | C | 1170 lines
                    
5 * the same license). The new copyright doesn't clash with the
                    
6 * GPL, so the module-only restriction has been removed..
                    
7 */
                    
                
xpc_uv.c https://github.com/Mengqi/linux-2.6.git | C | 1767 lines
                    
313	mq_size = 1UL << mq->order;
                    
314	ret = xp_restrict_memprotect(xp_pa(mq->address), mq_size);
                    
315	BUG_ON(ret != xpSuccess);
                    
                
xpc_sn2.c https://github.com/Mengqi/linux-2.6.git | C | 1736 lines
                    
126/*
                    
127 * Restrict protections to disallow IPI operations.
                    
128 */
                    
                
at24.c https://github.com/Mengqi/linux-2.6.git | C | 707 lines
                    
49 * Other than binding model, current differences from "eeprom" driver are
                    
50 * that this one handles write access and isn't restricted to 24c02 devices.
                    
51 * It also handles larger devices (32 kbit and up) with two-byte addresses,
                    
                
cx231xx-core.c https://github.com/Mengqi/linux-2.6.git | C | 1739 lines
                    
239 * for all operations (dev->urb_buf), to avoid using stacked buffers, as
                    
240 * they aren't safe for usage with USB, due to DMA restrictions.
                    
241 * Also implements the debug code for control URB's.
                    
                
bw-qcam.c https://github.com/Mengqi/linux-2.6.git | C | 1094 lines
                    
45a copy of this software and associated documentation files (the
                    
46"Software"), to deal in the Software without restriction, including
                    
47without limitation the rights to use, copy, modify, merge, publish,
                    
                
hfc4s8s_l1.c https://github.com/Mengqi/linux-2.6.git | C | 1716 lines
                    
45/* and an interrupt rate of 8ms.                               */
                    
46/* The maximum value is 7 due to fifo size restrictions.       */
                    
47/* Values below 3-4 are not recommended due to high interrupt  */
                    
                
capi.c https://github.com/Mengqi/linux-2.6.git | C | 1750 lines
                    
112	[2] = { "8890", NULL },
                    
113		/* Unrestricted digital information */
                    
114	[3] = { "8990", NULL },
                    
114	[3] = { "8990", NULL },
                    
115		/* Restricted digital information */
                    
116	[4] = { "9090A3", NULL },
                    
126	[9] = { "9190A5", NULL },
                    
127		/* Unrestricted digital information with tones/announcements */
                    
128	[16] = { "8090A3", "9181" },
                    
                
 

Source

Language