/linux-master/scripts/kconfig/ |
H A D | symbol.c | 140 static long long sym_get_range_val(struct symbol *sym, int base) argument 145 base = 10; 148 base = 16; 153 return strtoll(sym->curr.val, NULL, base); 160 int base; local 165 base = 10; 168 base = 16; 176 val = strtoll(sym->curr.val, NULL, base); 178 val2 = sym_get_range_val(range_sym, base); 181 val2 = sym_get_range_val(range_sym, base); [all...] |
H A D | Makefile | 115 $(Q)KCONFIG_ALLCONFIG=kernel/configs/tiny-base.config $(MAKE) -f $(srctree)/Makefile allnoconfig 134 @echo ' oldconfig - Update current config utilising a provided .config as base'
|
/linux-master/scripts/ |
H A D | Makefile.lib | 92 base-dtb-y := $(filter %.dtb, $(call real-search, $(multi-dtb-y), .dtb, -dtbs)) 379 # Set -@ if the target is a base DTB that overlay is applied onto 380 DTC_FLAGS += $(if $(filter $(patsubst $(obj)/%,%,$@), $(base-dtb-y)), -@)
|
/linux-master/net/sctp/ |
H A D | socket.c | 110 struct sock *sk = asoc->base.sk; 128 struct sock *sk = asoc->base.sk; 159 if ((clear && asoc->base.sk == c->skb->sk) || \ 160 (!clear && asoc->base.sk != c->skb->sk)) \ 259 if (asoc && (asoc->base.sk != sk || asoc->base.dead)) 319 if (!sctp_sk(sk)->ep->base.bind_addr.port) 381 struct sctp_bind_addr *bp = &ep->base.bind_addr; 483 retval = sctp_primitive_ASCONF(asoc->base.net, asoc, chunk); 617 bp = &asoc->base [all...] |
/linux-master/net/packet/ |
H A D | af_packet.c | 592 if (ecmd.base.speed < SPEED_1000 || 593 ecmd.base.speed == SPEED_UNKNOWN) 596 div = ecmd.base.speed / 1000;
|
/linux-master/net/bridge/ |
H A D | br_device.c | 257 cmd->base.duplex = DUPLEX_UNKNOWN; 258 cmd->base.port = PORT_OTHER; 259 cmd->base.speed = SPEED_UNKNOWN; 271 if (ecmd.base.speed == (__u32)SPEED_UNKNOWN) 274 if (cmd->base.speed == (__u32)SPEED_UNKNOWN || 275 cmd->base.speed < ecmd.base.speed) 276 cmd->base.speed = ecmd.base.speed;
|
/linux-master/net/bluetooth/ |
H A D | iso.c | 73 __u8 base[BASE_MAX_LENGTH]; member in struct:iso_pinfo 312 iso_pi(sk)->base); 321 iso_pi(sk)->base); 1547 if (optlen > sizeof(iso_pi(sk)->base)) { 1552 err = bt_copy_from_sockptr(iso_pi(sk)->base, optlen, optval, 1577 u8 *base; local 1618 base = iso_pi(sk)->conn->hcon->le_per_adv_data; 1621 base = iso_pi(sk)->base; 1625 if (copy_to_user(optval, base, le 1973 u8 *base; local [all...] |
/linux-master/mm/ |
H A D | vmalloc.c | 736 * return the tail page that corresponds to the base page address, which 3159 * @addr: base address 3180 * @addr: base address 3272 * @addr: memory base address 3296 * @addr: Memory base address 3357 * @addr: memory base address 4529 * for matching base. While scanning, if any of the areas do not fit the 4530 * base address is pulled down to fit the area. Scanning is repeated till 4543 unsigned long base, start, size, end, last_end, orig_start, orig_end; local 4594 base [all...] |
H A D | slub.c | 847 void *base; local 852 base = slab_address(slab); 855 if (object < base || object >= base + slab->objects * s->size || 856 (object - base) % s->size) { 2358 /* First entry is used as the base of the freelist */ 5387 void *base; local 5398 base = slab_address(slab); 5407 objp = base + s->size * objnr; 5409 if (WARN_ON_ONCE(objp < base || obj [all...] |
H A D | percpu.c | 24 * and even sparse. Access is handled by configuring percpu base 26 * base address using pcpu_unit_size. 1143 * @map: the address to base the search on 1897 /* clear the areas and return address relative to base address */ 2314 void __percpu *base = __addr_to_pcpu_ptr(pcpu_base_addr); local 2318 void *start = per_cpu_ptr(base, cpu); 2325 per_cpu_ptr(base, get_boot_cpu_id()); 2376 void __percpu *base = __addr_to_pcpu_ptr(pcpu_base_addr); local 2398 void *start = per_cpu_ptr(base, cpu); 3056 void *base local [all...] |
H A D | page_ext.c | 152 static inline struct page_ext *get_entry(void *base, unsigned long index) argument 154 return base + page_ext_size * index; 172 struct page_ext *base; local 175 base = NODE_DATA(page_to_nid(page))->node_page_ext; 182 if (unlikely(!base)) 186 return get_entry(base, index); 191 struct page_ext *base; local 210 base = memblock_alloc_try_nid( 213 if (!base) 215 NODE_DATA(nid)->node_page_ext = base; 284 struct page_ext *base; local 336 struct page_ext *base; local [all...] |
H A D | nommu.c | 906 void *base; local 945 base = alloc_pages_exact(total << PAGE_SHIFT, GFP_KERNEL); 946 if (!base) 953 region->vm_start = (unsigned long) base; 967 ret = kernel_read(vma->vm_file, base, len, &fpos); 973 memset(base + ret, 0, len - ret);
|
H A D | mm_init.c | 366 usable_startpfn = PFN_DOWN(r->base);
|
H A D | memory.c | 2611 * VM_PFNMAP tells the core MM that the base pages are just 6257 int i, n, base, l, ret; local 6266 base = 0; 6277 base = pages_per_huge_page - 2 * (pages_per_huge_page - n); 6280 for (i = 0; i < base; i++) { 6292 int left_idx = base + i; 6293 int right_idx = base + 2 * l - 1 - i;
|
H A D | cma.c | 62 * Find the offset of the base PFN from the specified align_order. 159 * @base: Base address of the reserved area 169 int __init cma_init_reserved_mem(phys_addr_t base, phys_addr_t size, argument 182 if (!size || !memblock_is_region_reserved(base, size)) 186 if (!IS_ALIGNED(base | size, CMA_MIN_ALIGNMENT_BYTES)) 200 cma->base_pfn = PFN_DOWN(base); 212 * @base: Base address of the reserved area optional, use 0 for any 227 * If @fixed is true, reserve contiguous area at exactly @base. If false, 228 * reserve in range from @base to @limit. 230 int __init cma_declare_contiguous_nid(phys_addr_t base, argument [all...] |
/linux-master/lib/ |
H A D | test_xarray.c | 208 unsigned long base = round_down(index, 1UL << order); local 209 unsigned long next = base + (1UL << order); 219 for (i = base; i < next; i++) { 822 unsigned long index, base, next_index, next_next_index; local 826 base = round_down(index, nrpages); 827 next_index = round_down(base + nrpages, nrpages); 830 check_xa_multi_store_adv_add(xa, base, order, &some_val); 833 XA_BUG_ON(xa, test_get_entry(xa, base + i) != &some_val); 851 check_xa_multi_store_adv_delete(xa, base, order); 858 /* hole at base an 910 check_xa_alloc_1(struct xarray *xa, unsigned int base) argument 985 check_xa_alloc_2(struct xarray *xa, unsigned int base) argument 1036 check_xa_alloc_3(struct xarray *xa, unsigned int base) argument 1671 unsigned long base = xas.xa_index; local [all...] |
/linux-master/kernel/trace/ |
H A D | trace_uprobe.c | 142 fetch_store_string(unsigned long addr, void *dest, void *base) argument 147 u8 *dst = get_loc_data(dest, base); 167 *(u32 *)dest = make_data_loc(ret, (void *)dst - base); 169 *(u32 *)dest = make_data_loc(0, (void *)dst - base); 175 fetch_store_string_user(unsigned long addr, void *dest, void *base) argument 177 return fetch_store_string(addr, dest, base); 215 void *dest, void *base) 248 return process_fetch_insn_bottom(code, val, dest, base); 214 process_fetch_insn(struct fetch_insn *code, void *rec, void *edata, void *dest, void *base) argument
|
H A D | trace_kprobe.c | 1339 void *dest, void *base) 1378 return process_fetch_insn_bottom(code, val, dest, base); 1338 process_fetch_insn(struct fetch_insn *code, void *rec, void *edata, void *dest, void *base) argument
|
H A D | trace_fprobe.c | 134 void *dest, void *base) 170 return process_fetch_insn_bottom(code, val, dest, base); 133 process_fetch_insn(struct fetch_insn *code, void *rec, void *edata, void *dest, void *base) argument
|
/linux-master/kernel/time/ |
H A D | timer.c | 192 * If multiple bases need to be locked, use the base ordering for lock 207 * struct timer_base - Per CPU timer base (number of base depends on config) 226 * @clk: clock of the timer base; is updated before enqueue 233 * @cpu: Number of CPU the timer base belongs to 239 * base. Deferrable timers, which are enqueued remotely 241 * for this base. 242 * @timers_pending: Is set, when a timer is pending in the base. It is only 623 trigger_dyntick_cpu(struct timer_base *base, struct timer_list *timer) argument 629 * nothing will be done with the deferrable timer base 655 enqueue_timer(struct timer_base *base, struct timer_list *timer, unsigned int idx, unsigned long bucket_expiry) argument 682 internal_add_timer(struct timer_base *base, struct timer_list *timer) argument 940 detach_if_pending(struct timer_list *timer, struct timer_base *base, bool clear_pending) argument 960 struct timer_base *base; local 976 struct timer_base *base; local 994 __forward_timer_base(struct timer_base *base, unsigned long basej) argument 1018 forward_timer_base(struct timer_base *base) argument 1039 struct timer_base *base; variable in typeref:struct:timer_base 1068 struct timer_base *base, *new_base; local 1348 struct timer_base *new_base, *base; local 1409 struct timer_base *base; local 1500 struct timer_base *base; local 1541 timer_base_init_expiry_lock(struct timer_base *base) argument 1546 timer_base_lock_expiry(struct timer_base *base) argument 1551 timer_base_unlock_expiry(struct timer_base *base) argument 1563 timer_sync_wait_running(struct timer_base *base) argument 1589 struct timer_base *base = get_timer_base(tf); local 1606 timer_base_init_expiry_lock(struct timer_base *base) argument 1607 timer_base_lock_expiry(struct timer_base *base) argument 1608 timer_base_unlock_expiry(struct timer_base *base) argument 1609 timer_sync_wait_running(struct timer_base *base) argument 1810 expire_timers(struct timer_base *base, struct hlist_head *head) argument 1851 collect_expired_timers(struct timer_base *base, struct hlist_head *heads) argument 1881 next_pending_bucket(struct timer_base *base, unsigned offset, unsigned clk) argument 1901 next_expiry_recalc(struct timer_base *base) argument 2006 next_timer_interrupt(struct timer_base *base, unsigned long basej) argument 2178 struct timer_base *base = per_cpu_ptr(&timer_bases[BASE_GLOBAL], cpu); local 2387 __run_timers(struct timer_base *base) argument 2421 __run_timer_base(struct timer_base *base) argument 2435 struct timer_base *base = this_cpu_ptr(&timer_bases[index]); local 2460 struct timer_base *base = this_cpu_ptr(&timer_bases[BASE_LOCAL]); local 2646 struct timer_base *base; local 2699 struct timer_base *base; local [all...] |
/linux-master/kernel/ |
H A D | sysctl.c | 295 * @base: the base to use 304 static int strtoul_lenient(const char *cp, char **endp, unsigned int base, argument 310 cp = _parse_integer_fixup_radix(cp, &base); 311 rv = _parse_integer(cp, base, &result);
|
H A D | signal.c | 660 hrtimer_forward(tmr, tmr->base->get_time(),
|
/linux-master/kernel/sched/ |
H A D | core.c | 841 rq->hrtick_time = ktime_add_ns(timer->base->get_time(), delta); 1084 * (as that CPU's timer base may not be uptodate wrt jiffies etc). 1670 * The rq clamp bucket value is reset to its base value whenever 7191 * the timer wheel base->lock on the CPU and another CPU wants
|
/linux-master/kernel/module/ |
H A D | main.c | 97 static void __mod_update_bounds(enum mod_mem_type type __maybe_unused, void *base, argument 100 unsigned long min = (unsigned long)base; 124 __mod_update_bounds(type, mod_mem->base, mod_mem->size, &mod_tree); 248 #define symversion(base, idx) NULL 250 #define symversion(base, idx) ((base != NULL) ? ((base) + (idx)) : NULL) 543 /* MODULE_REF_BASE is the base reference count by kmodule loader. */ 1223 mod->mem[type].base = ptr; 1231 void *ptr = mod->mem[type].base; [all...] |
/linux-master/include/soc/microchip/ |
H A D | mpfs.h | 47 int mpfs_reset_controller_register(struct device *clk_dev, void __iomem *base); 49 static inline int mpfs_reset_controller_register(struct device *clk_dev, void __iomem *base) { return 0; } argument
|