Home
last modified time | relevance | path

Searched refs:remain (Results 1 – 20 of 20) sorted by relevance

/arch/um/kernel/skas/
Duaccess.c93 int size, remain, n; in buffer_op() local
96 remain = len; in buffer_op()
100 remain = (n < 0 ? remain : 0); in buffer_op()
105 remain -= size; in buffer_op()
106 if (remain == 0) in buffer_op()
109 while (addr < ((addr + remain) & PAGE_MASK)) { in buffer_op()
112 remain = (n < 0 ? remain : 0); in buffer_op()
117 remain -= PAGE_SIZE; in buffer_op()
119 if (remain == 0) in buffer_op()
122 n = do_op_one_page(addr, remain, is_write, op, arg); in buffer_op()
[all …]
/arch/mips/netlogic/xlr/
Dsetup.c118 int i, remain, len; in build_arcs_cmdline() local
121 remain = sizeof(arcs_cmdline) - 1; in build_arcs_cmdline()
126 if (len + 1 > remain) in build_arcs_cmdline()
130 remain -= len + 1; in build_arcs_cmdline()
137 if (len > remain) in build_arcs_cmdline()
140 remain -= len; in build_arcs_cmdline()
146 if (len > remain) in build_arcs_cmdline()
149 remain -= len; in build_arcs_cmdline()
/arch/um/drivers/
Dumcast_kern.c73 char *port_str = NULL, *ttl_str = NULL, *remain; in mcast_setup() local
81 remain = split_if_spec(str, mac_out, &init->addr, &port_str, &ttl_str, in mcast_setup()
83 if (remain != NULL) { in mcast_setup()
85 "specification : '%s'\n", remain); in mcast_setup()
119 char *lport_str = NULL, *rport_str = NULL, *remain; in ucast_setup() local
127 remain = split_if_spec(str, mac_out, &init->addr, in ucast_setup()
129 if (remain != NULL) { in ucast_setup()
131 "specification : '%s'\n", remain); in ucast_setup()
Dnet_user.c52 int remain, ret, expected; in read_output() local
62 ret = read(fd, &remain, sizeof(remain)); in read_output()
64 if (ret != sizeof(remain)) { in read_output()
67 expected = sizeof(remain); in read_output()
72 while (remain != 0) { in read_output()
73 expected = (remain < len) ? remain : len; in read_output()
81 remain -= ret; in read_output()
Dpcap_kern.c56 char *remain, *host_if = NULL, *options[2] = { NULL, NULL }; in pcap_setup() local
65 remain = split_if_spec(str, &host_if, &init->filter, in pcap_setup()
67 if (remain != NULL) { in pcap_setup()
69 "specification : '%s'\n", remain); in pcap_setup()
Dvde_kern.c73 char *remain, *port_str = NULL, *mode_str = NULL, *last; in vde_setup() local
82 remain = split_if_spec(str, &init->vde_switch, mac_out, &port_str, in vde_setup()
85 if (remain != NULL) in vde_setup()
87 "'%s'\n", remain); in vde_setup()
Ddaemon_kern.c64 char *remain; in daemon_setup() local
70 remain = split_if_spec(str, mac_out, &init->sock_type, &init->ctl_sock, in daemon_setup()
72 if (remain != NULL) in daemon_setup()
Dnet_kern.c904 char *remain; in tap_setup_common() local
906 remain = split_if_spec(str, dev_name, mac_out, gate_addr, NULL); in tap_setup_common()
907 if (remain != NULL) { in tap_setup_common()
909 "specification : '%s'\n", remain); in tap_setup_common()
/arch/um/os-Linux/
Dtime.c61 long long remain, max = UM_NSEC_PER_SEC / UM_HZ; in disable_timer() local
67 remain = timeval_to_ns(&time.it_value); in disable_timer()
68 if (remain > max) in disable_timer()
69 remain = max; in disable_timer()
71 return remain; in disable_timer()
/arch/powerpc/kernel/
Dudbg.c107 int remain = n; in udbg_write() local
114 while (((c = *s++) != '\0') && (remain-- > 0)) { in udbg_write()
122 return n - remain; in udbg_write()
/arch/alpha/lib/
Dmemchr.S72 # Deal with the case where at most 8 bytes remain to be searched
103 # Deal with the case where $18 > 8 bytes remain to be
127 # At least two quads remain to be accessed.
133 # At least three quads remain to be accessed
Dev6-memchr.S71 # Deal with the case where at most 8 bytes remain to be searched
122 # Deal with the case where $18 > 8 bytes remain to be
144 # At least two quads remain to be accessed.
149 # At least three quads remain to be accessed
/arch/x86/kernel/
Dkdebugfs.c34 unsigned long remain; in setup_data_read() local
58 remain = copy_to_user(user_buf, p, count); in setup_data_read()
63 if (remain) in setup_data_read()
/arch/arm/kernel/
Dentry-header.S21 @ This _must_ remain a multiple of 8 for EABI.
Dentry-armv.S1027 @ Prepare for SVC32 mode. IRQs remain disabled.
/arch/alpha/kernel/
Dosf_sys.c1058 struct timeval32 __user *, remain) in SYSCALL_DEFINE2() argument
1070 if (remain) { in SYSCALL_DEFINE2()
1072 if (put_tv32(remain, &tmp)) in SYSCALL_DEFINE2()
/arch/m68k/ifpsp060/
Dilsp.doc74 The entry point addresses at the beginning of the package will remain
Dfplsp.doc75 The entry point addresses at the beginning of the package will remain
DTEST.DOC175 must remain system independent.
/arch/unicore32/kernel/
Dentry.S725 @ Prepare for PRIV mode. INTRs remain disabled.